Jump to content

Simplify Polys Command

Recommended Posts



I was hoping someone would be able to help me invoke the "Simplify Polys" command on a selected poly using vectorscript?


I have a function that draws a very detailed polyline, using a large number of vertices. This function is used to create polylines for a few different applications, some of which require a lot of vertices and others which don't. I currently have to run the script and then go through manually afterwards and use the "Drafting Aids > Simplify Polys" command but I was hoping to be able to write this step into the script, getting the level of detail from a dialog box, somehow?


DoMenuTextByName doesn't seem to work when just passed 'Simplify Polys' and there does not appear to be  "SimplifyPolys" in the VS Reference


Many thanks in advance and sorry if the answer is already out there.

Share this post

Link to post

Just guessing here,

It might be one of the tools that require calling via the custom tool call function in the same manner that one would call a PIO.

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.

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