Associates a linear dimension with an object when the dimension's endpoints are coincident with objects in the drawing. When selectedObjectsMode is true, only selected objects will be checked to see if they should be associated with the linear dimension.
PROCEDURE AssociateLinearDimension(
h : HANDLE;
selectedObjectsMode : BOOLEAN);def vs.AssociateLinearDimension(h, selectedObjectsMode):
return None| Name | Type | Description |
|---|---|---|
| h | HANDLE | |
| selectedObjectsMode | BOOLEAN |
IF associateDim THEN BEGIN
AssociateLinearDimension(LNewObj, FALSE);
END;import vs
# Associates a linear dimension with an object when the dimension's endpoints
# are coincident with objects in the drawing.
h = vs.FSActLayer() # handle to the first selected object on the active layer
selectedObjectsMode = True
vs.AssociateLinearDimension(h, selectedObjectsMode)Availability: from VectorWorks12.5