Jump to content
Developer Wiki and Function Reference Links Read more... ×
MTRobin

Move by Points Script

Recommended Posts

Hi Everyone,

 

Does anyone know the tool index number for the Move by Points tool? I can't find it anywhere.

 

Thanks,

 

Maxwell

Share this post


Link to post

Maxwell,

   Not all tools have index numbers. Not sure if this one does or doesn't.

 

Raymond

Share this post


Link to post

What are you trying to do? Can you use CallToolByName instead? Then you don't need the index.

 

Share this post


Link to post
Posted (edited)

I am trying to make 2 scripts. One to call the "Move by Points" tool with "Object Retention Mode" on and another script with "Object Retention Mode" off.

 

I know I can toggle this mode on and off with the "I" hotkey, but I would prefer to make 2 different hot keys to run these 2 scripts individually.

 

I looked at "CallToolByName"" but it doesn't have the same parameters as "SetToolWithMode", which is why I need the index.

 

Thanks,

 

Maxwell

Edited by MTRobin

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

 

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.

×