Jump to content
Developer Wiki and Function Reference Links Read more... ×
Musisback

SDK Equivalent of VS:OffsetPoly

Recommended Posts

Hello,

I am looking for an equivalent in the SDK of the vectorscript function OffsetPoly that works on 2D polylines.

VS:OffsetPoly works on polygones and polylines just as the offset tool : image.thumb.png.ec7d7d99e3bcf901d2f5ab073b3bce4d.png but can be used in plugin objects.

 

I tried GetOffsetRingPoly of the VWPolygon2D class but it return a polygone, not a polyline.

 

Any ideas ?
 

 

 

Share this post


Link to post

I found it : 

gSDK->CreateOffsetObjectHandle

works fine.

Sorry to have bothered you with this post. 

Regards,

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×