Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.05 KB

File metadata and controls

48 lines (39 loc) · 1.05 KB

GetPlanarRef

Description

Get the plane ref ID of the specified object.

FUNCTION GetPlanarRef(h : HANDLE): LONGINT;
def vs.GetPlanarRef(h):
    return LONGINT

Parameters

Name Type Description
h HANDLE Handle to the object.

Examples

	gClassN := getClass( gLine );
	SetClass( gParmH, gClassN );
	{ When creating the object, SetClass regenerates it in Screen Plane.
		TO fix this we will SET it in the same plane with the gLine }
	planarRef := GetPlanarRef( gLine );
	SetPlanarRef( gParmH, planarRef );
END

BEGIN
	planarRef := GetPlanarRef(h);
	bIsArcClosed := FALSE;

gRedlinePathObjHan := CreateCustomObjectN(kRedlinePathObjName,HCenX, HCenY,0,FALSE);
planarRef := GetPlanarRef(gUserPathHan);
planarRef = vs.GetPlanarRef( hDuplicated )
vs.SetPlanarRef( hDuplicated, 0 )
vs.HScale2D( hDuplicated, 0, 0, dMarkerScale, dMarkerScale, True)
vs.SetPlanarRef( hDuplicated, planarRef )

Version

Availability: from Vectorworks 2011

Category