DIAdem Help

Method: Exists for Quantities

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

Method: Exists for Quantities

Checks whether a physical quantity already exists in the units catalog.

bExists = Object.Exists(Name)
ObjectQuantities
Object with this method
NameString
Specifies the name of the physical quantity.
bExistsBoolean
Specifies whether the physical quantity already exists (TRUE) or not (FALSE).

The following example displays whether the physical quantity volume already exists:

VBScriptPython

 

Call MsgBoxDisp(UnitCatalog.Quantities.Exists("volume"))