Get the plane ref ID of the specified object.
FUNCTION GetPlanarRef(h : HANDLE): LONGINT;def vs.GetPlanarRef(h):
return LONGINT| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to the object. |
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 )Availability: from Vectorworks 2011