Modifies the plane of the second planar object so it is on the plane of the first object. Also moves the object so plane change doesn't affect it's position.
FUNCTION ConsolidatePlanar(
obj1 : HANDLE;
obj2 : HANDLE): BOOLEAN;def vs.ConsolidatePlanar(obj1, obj2):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| obj1 | HANDLE | Handle to the first object. |
| obj2 | HANDLE | Handle to the second object. |
resultOK := ConsolidatePlanar(obj1, obj2);import vs
# Modifies the plane of the second planar object so it is on the plane of the
# first object.
obj1 = vs.FSActLayer() # handle to the first selected object on the active layer
obj2 = vs.NextSObj(vs.FSActLayer()) # handle to the next selected object
ok = vs.ConsolidatePlanar(obj1, obj2)
if ok:
vs.Message('ConsolidatePlanar succeeded')
else:
vs.Message('ConsolidatePlanar failed')Availability: from Vectorworks 2011