DIAdem Help

Collection: Units

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

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