Steve Curtis Posted December 2, 2024 Share Posted December 2, 2024 Has anyone found a way to write a script to select a specific PIO. My goal is to be able to select a specific truss with a streamdeck command. I use a Hot key for the truss selection but then need to go through the drop down menu to select the specific truss. () I am told that I would need to write a script to accomplish this, can anyone point me in the correct direction or share what has worked for them. Thanks in advance. Quote Link to comment
Pat Stanford Posted December 2, 2024 Share Posted December 2, 2024 More detail about what you want to do would be helpful. Do you truly want to select a certain piece of truss? Or do you want to select all of the pieces of truss of a certain type? For first option, just give that stick a name and use a script of: Procedure SelectStick; Begin DSelectAll; SetSelect(GetObject('Enter Stick Name Here')); End; Run(SelectStick); If you don't care about deselecting other objects first, it could be reduced to the single SetSelect line. Quote Link to comment
Steve Curtis Posted December 2, 2024 Author Share Posted December 2, 2024 Thank you Pat. The ultimate goal is to be able to have buttons on the stream deck that will automatically pick what we use as standards (all xsf truss, 10', 8' 5' Cornerblock) (4 separate buttons. I have assigned a hot key to get to the truss selection but then have to scroll through to get to the truss that I want and was hoping to speed that up. I think I would have to write the streamdeck command to select the truss symbol menu, pause, then run the script to pick the truss. Very new to the stream deck and havent done any vectorscript work so I am trying to figure it all out. Quote Link to comment
Pat Stanford Posted December 2, 2024 Share Posted December 2, 2024 @Sam Jones @michaelk @JBenghiat Do any of you have a script to select all the instances of a specific type/length of truss that could be added to a Streamdeck button? Quote Link to comment
LMorga Posted December 2, 2024 Share Posted December 2, 2024 Hey Pat, discussing this with Steve, there is a bit of misunderstanding. The script Steve is looking to make work would be, to initiate the truss tool. Then have the tool set to navigate to a specific VW truss symbol resource, to prepare for symbol insertion. Quote Link to comment
Pat Stanford Posted December 2, 2024 Share Posted December 2, 2024 Thanks for the clarification. Probably still scriptable. Quote Link to comment
Recommended Posts
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.