DIAdem Help

Method: Move for Quantities

  • Updated2024-09-12
  • 1 minute(s) read

Method: Move for Quantities

Changes the position of a physical quantity in the Quantities collection in the units catalog. If you change the position, you also change the index of the physical quantity.

Object.Move(FromPosition, ToPosition)
ObjectQuantities
Object with this method
FromPositionLongInteger
Specifies the start position.
ToPositionLongInteger
Specifies the target position.

The following example moves the first physical quantity of the unit set to the fourth position:

VBScriptPython

 

Call UnitCatalog.Quantities.Move(1,4)