Method: Exists for Quantities
- Updated2024-09-12
- 1 minute(s) read
Units Catalog > Methods > Method: Exists for Quantities
Method: Exists for Quantities
Checks whether a physical quantity already exists in the units catalog.
bExists = Object.Exists(Name)
| Object | Quantities Object with this method |
| Name | String Specifies the name of the physical quantity. |
| bExists | Boolean Specifies whether the physical quantity already exists (TRUE) or not (FALSE). |
The following example displays whether the physical quantity volume already exists:
| VBScript | Python |
Call MsgBoxDisp(UnitCatalog.Quantities.Exists("volume"))
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