DIAdem Help

Method: Remove for Units

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

Method: Remove for Units

Deletes a unit with all the associated symbols, from the units catalog.

Object.Remove(NameOrIndex)
ObjectUnits
Object with this method
NameOrIndexVariant
Specifies the name or the index of the unit.

The following example deletes the unit second and the associated symbols, from the units catalog:

VBScriptPython

 

Call UnitCatalog.Quantities("time").Units.Remove("second")