Remove a measurement unit | |
Syntax: | object.Remove UnitID |
Parameters: |
UnitID As
String - Name of the measurement
unit to remove.
|
Description: | CimMeasurementUnitList.Remove removes a
CimMeasurementUnit from the
project. Example: Dim project As CimProject Set project = CreateObject("CimProject") project.OpenLocalProject "d:\classes\classes.gef" Dim measurementManager As CimMeasurementManager Dim measurementUnitList As CimMeasurementUnitList Set measurementManager =
project.MeasurementManager Set measurementUnitList = measurementManager.Units measurementUnitList.Remove "METER" |