DIAdem Help

Content Type
Programming Language
Current manual

Collection: Units

Collection: Units

The Units collection provides all the units of a physical quantity from the units catalog.

The following example displays the names of all the units of the physical quantity length:

VBScriptPython

 

Dim oMyUnit, sOutput
For Each oMyUnit In UnitCatalog.Quantities("length").Units
  sOutput = sOutput & oMyUnit.Name &VbCrLf
Next
Call MsgBoxdisp (sOutput)

Properties

Count

Methods

Add | Exists | GetIndex | Item | Move | Remove

Returned From

Quantity.Units

Was this information helpful?