Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 872 Bytes

File metadata and controls

48 lines (38 loc) · 872 Bytes

GetDimText

Description

Function GetDimText returns the dimension value displayed with the referenced object.

FUNCTION GetDimText(h : HANDLE): STRING;
def vs.GetDimText(h):
    return STRING

Parameters

Name Type Description
h HANDLE Handle to object.

Examples

VectorScript

DimValue:=GetDimText(HandleToObj);

Python

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))

Version

Availability: from All Versions

Category