VS:SlabFromPoly

From Vectorworks Developer
Revision as of 10:15, 27 January 2017 by CBM-c- (talk | contribs) (no LNewObj support)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Creates a slab object from the referenced polyline. The current settings for the slab object are used to create the new slab.

PROCEDURE SlabFromPoly(
poly :HANDLE);
def vs.SlabFromPoly(poly):
    return None

Parameters

poly HANDLE The polyline that the slab will be created from.

Remarks

(Orso, 2017.01.27): This is one of those objects that don't respond to VS:LNewObj. It also doesn't return any value on VS:GetBBox.

SlabFromPoly(FSActLayer);
Locus(0, 0);
slabHandle := PrevObj(LNewObj); { can't use LNewObj here }

Version

Availability: from Vectorworks 2011