SamIWas Posted May 15, 2017 Share Posted May 15, 2017 I can use the Poly command to draw poly shapes...easy. Now, if that shape is quite complicated, it could be quite difficult to figure out the number and location of points. Is there any command which will take a selected shape in the drawing and convert it to the code necessary to redraw it from within a vectorscript? Quote Link to comment
Pat Stanford Posted May 15, 2017 Share Posted May 15, 2017 Easiest way to do this is to put the poly in a new blank file and then do an Export Script command and look at the resulting text file. There will be a bunch of document set up stuff you will need to ignore, but you can find the code you need. Quote Link to comment
MullinRJ Posted May 15, 2017 Share Posted May 15, 2017 First, do what Pat says. Additionally: If the object is a Polygon, you are good to go. If the object is a Polyline, AND, there are NO holes in the Poly, you are good to go. If the object is a Polyline, AND, there ARE holes in the Poly, the Poly outline will export, but the holes will not. This has been a shortcoming of VS Export from the earliest days of MC/VW. Raymond Quote Link to comment
SamIWas Posted May 15, 2017 Author Share Posted May 15, 2017 Weird...this topic posted twice, and I updated (the other one apparently) to say I found the Export Vectorscript command handy. I will dig info out of that and use it. Forgot about that command until about three minutes after I posted the thread. 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.