Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  

Control of dialog window issued by calling menu command from script

Recommended Posts

I'm trying to run Duplicate Along Path command, but this is more comprehensive issue regarding dialog window control in general.

My script assumes 2 objects (1 of them is polygon) are selected and I'd like to apply (I didn't find appropriate VS function):

DoMenuTextByName('Duplicate Along Path',0);

Then I want to retrieve curve length and set duplicate placement as integer which is curve length rounded up, then hit OK. Is it possible with script? The main question is how to set duplicate placement settings as I want and hitting OK programmatically in active dialog window.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.