CimMeasurementUnit.DisplayLabel (property)

Gets and sets the display label for the measurement unit.
Syntax: String = object.DisplayLabel
object.DisplayLabel = String
Description: The DisplayLabel property gets and sets the display label of the measurement unit.



Example:

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim measurementManager As CimMeasurementManager
Dim measurementUnitList As CimMeasurementUnitList
Dim measurementUnit As CimMeasurementUnit
Set measurementManager = project.MeasurementManager
Set measurementUnitList = measurementManager.Units
Set measurementUnit = measurementUnitList.Item("METER")
MsgBox measurementUnit.DisplayLabel