Jump to content
Sign in to follow this  
David Aynardi

Polygon in plug-in

Recommended Posts

Does anyone know how to create an editable closed polygon (with handles) within a plug in object.

The VArchitect "Space" tool is a perfect example of what I want to accomplish.

Clicking on the space tool opens a Mode Bar allowing placement of the "space polygon" by "rectangular" or "poly" mode. The area and perimeter of the resulting polygon is reported in the plug-in object's "Object Info" and vertexes can be added or moved later.

This is awesome, but the script that generates it is locked so I can't see how it is done.

I found a script that generates a rectangle object among the Vectorscript examples on the website, but can't locate an example of a script that generates a polygon like the one in the 'space' tool.

Edited by David Aynardi

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.

Sign in to follow this  

 

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...