archlink 0 Posted August 2, 2020 Hi Does anyone use custom-made tool command? For example a typical line, we set thickness, colour etc. and make a custom-tool. Now, in the macro, how can we repeat the same command without re-clicking the command again? This was not an issue in order Vectorworks. Probably 2016 version but 2017, the macro for repeating the same command (until next tool is selected) didn't get recognized. 2018 and 2019 are the same. Something was changed and I couldn't make the "repeat" happen again. So when I want to draw the same line which is set by the custom tool, I have to click it again and draw which is wasting the time. Please kindly help if you know the answer. Mike Quote Share this post Link to post
Pat Stanford 1,530 Posted August 3, 2020 Can you post or send me directly one of the commands and I can take a look and see if I can figure out why it is not repeating. Quote Share this post Link to post
archlink 0 Posted December 17, 2020 Hi Pat, I just realized that you have replied to my posting. Here is one of the custom command I made for 0.1mm line. Sorry, it became two piece photos. Regards, Mike Quote Share this post Link to post
Pat Stanford 1,530 Posted December 18, 2020 If you change the CallTool command to SetTool, then the tool will remain active after the script ends and you should get what you need. You probably also want to get rid of the PopAttrs (and the PushAttrs) otherwise the attributes will be set back to what they were before you ran the script. Quote Share this post Link to post