VS:OffsetPolyClosed

From Vectorworks Developer
Jump to: navigation, search

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

Description

Offsets a polyline or polygon, then uses the original geometry to construct a closed profile.
FUNCTION OffsetPolyClosed(
obj  :HANDLE;
offset  :REAL;
smoothCorners  :BOOLEAN) : HANDLE;
def vs.OffsetPolyClosed(obj, offset, smoothCorners):
    return HANDLE

Parameters

obj HANDLE
offset REAL
smoothCorners BOOLEAN

Remarks

Notes: (ptr - 2020 apr 10)

The offset is always in mm. So please convert your document units to mm:

result = vs.OffsetPolyClosed(obj, offset /vs.GetPrefReal(152)*25.4, smoothCorners)

Version

Availability: from Vectorworks 2018
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox