Function GetDimText returns the dimension value displayed with the referenced object.
FUNCTION GetDimText(h : HANDLE): STRING;def vs.GetDimText(h):
return STRING| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
DimValue:=GetDimText(HandleToObj);DimValue =vs.GetDimText(HandleToObj)resultStr := GetDimText(h);import vs
# Function GetDimText returns the dimension value displayed with the
# referenced object.
h = vs.FSActLayer() # handle to the first selected object on the active layer
text = vs.GetDimText(h)
vs.Message('GetDimText returned: ' + str(text))Availability: from All Versions