Jump to content
Developer Wiki and Function Reference Links ×

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.

Link to comment

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.

×
×
  • Create New...