DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Count for UsedUnits

Property: Count for UsedUnits

Returns the number of units that a physical quantity uses, for a unit set in the units catalog.

Object.Count
ObjectUsedUnits
Object with this property
Object.CountLongInteger with read access

The following example displays the number of units in the physical quantity volume from the unit set mechanics:

VBScriptPython

 

Call MsgBoxDisp (UnitCatalog.Sets("mechanics").UsedQuantities("volume").UsedUnits.Count)
Was this information helpful?