Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.1 KB

File metadata and controls

44 lines (35 loc) · 1.1 KB

AssociateLinearDimension

Description

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

Parameters

Name Type Description
h HANDLE
selectedObjectsMode BOOLEAN

Examples

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)

Version

Availability: from VectorWorks12.5

Category