Jump to content
Developer Wiki and Function Reference Links ×

Newbie Question


Recommended Posts

Michael,

   Look in the Vectorworks 201x Script Function Reference. There is an online copy at http://developer.vectorworks.net/index.php/VS:Function_Reference_Appendix#settool. There is an  HTML version on your computer that can be found in the application folder; Vectorworks 201x -> VWHelp -> Script Reference -> ScriptFunctionReference.html. Look in Appendix E for SetTool-CallTool Selectors. All tool selectors will have negative numbers.

 

Raymond

Link to comment

The CallTool command is used in many of the sample scripts. It is used to activate a specific tool. As Raymond says, it is available in the Vectorworks Appendix.

 

But those might not be the best scripts to be learning from. I am not certain, but I have probably only used CallTool in a couple of the 1000+ scripts I have written over the years.

 

Unless you really want to write extremely simple scripts that do things like set layers, classes and attributes and then activate a given tool, you might be better off telling us what kinds of things you want to do and we can point you to more appropriate samples.

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