David Aynardi Posted December 8, 2009 Share Posted December 8, 2009 (edited) 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 December 8, 2009 by David Aynardi Quote Link to comment
Miguel Barrera Posted December 8, 2009 Share Posted December 8, 2009 For polygons it would be a 2-D Path Object. An example is at the bottom of the page Vectorscript examples Quote Link to comment
Recommended Posts
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.