Jump to content
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

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.

×
×
  • Create New...