Collection: UsedUnits
- Updated2024-09-12
- 1 minute(s) read
(Collections | UsedQuantity) > Collection: UsedUnits
Collection: UsedUnits
The UsedUnits collection provides all the units of a physical quantity that are used, from a specific unit set in the units catalog.
The following example displays all units that are used in the physical quantity length of the unit set mechanics:
VBScript | Python |
Dim oMyUnit, sOutput For Each oMyUnit In UnitCatalog.Sets("mechanics").UsedQuantities("length").UsedUnits sOutput = sOutput & oMyUnit.Name & VbcrLf Next Call MsgBoxDisp (sOutput)
Properties
Returned From
See Also
Procedures
Adding an Unknown Unit Symbol to the Units Catalog | Converting Channel Units in DIAdem ANALYSIS | Converting Channel Units with a Script | Converting Channels According to a Unit Set | Creating a New Unit Set | Creating a Physical Quantity in the Units Catalog | Extending the Units Catalog with a Script | Replacing and Converting Channel Units in the Input Help