Jump to content

The Hamma

Member
  • Posts

    355
  • Joined

  • Last visited

Everything posted by The Hamma

  1. I installed this profile on my Window machine and none of the commands work but all of the instructions are correct. It appears the hotkey functions are not interchangable between Windows and Mac. If I replace the "F" hot key with a "F" it processes half of the command. I have to replace the "Return" hot key with a "Return" and it processes the entire command. Not sure why they are different.
  2. Yes I think this should be Platform- agnostic but it is slower than the method that I just posted that uses the two plugin scripts which should also be Platform-Agnostic but I have not tested it on a Mac. This version uses the names of the Commands, Tools or tool indexes rather than shortcuts except for the shortcuts for: Which it uses to call the plugins and awaits the name of the tool which is sent from Stream Deck Menu command call (note if there is not a chunk number you must add 00 to the end of every command, if there is a chunk number enter 01 for 1 and 10 for 10) Tool Name Call Tool Index call
  3. Link to the my stream deck profile that I posted.
  4. Here is my Stream Deck Profile for the Standard Architect Workspace. I requires that you add the two attached plugins to your workspace and set their shortcuts as shown. Feel free to re-arrange as you see fit. v Vectorworks 2024 Stream Deck.zip
  5. Ok I was wrong about "Window Tool" and "Door Tool" being internal commands, but the other two "Slab Tool" and "Wall End Cap Tool" do not have pugins and can't be called.
  6. This is actually what I’m working on. I have written two, scripts that I use to call the functions from stream deck with a shortcut. It calls the script and then has user input for the tool name. This is where I have stream deck, enter the name of the tool. Or the index. Which then is executed by the script. my scripts are attached. I am using control+shift+alt+X for the tool shortcut And control+shift+alt+Z for the menu shortcut If I ever finish my stream deck profile, I will upload it PROCEDURE StreamDeckCommand; {Input the command name with the index at the end of the name. Use two digits for the index name. ie. for 1 use 01 for 0 use 00. Print command would be "Print00", Font Size 4 command would be "Font Size01" and Font size 144 would be "Font Size17"} VAR SDstring,SDStrInt:STRING; SDLen,SDInt:INTEGER; BEGIN SDstring:=StrDialog('Command to run',''); SDLen:=Len(SDstring); SDStrInt:=Copy(SDstring,SDLen-1,2); SDInt:=Str2Num(SDStrInt); SDstring:=Copy(SDString,1,SDLen-2); if SDstring <> '' THEN DoMenuTextByName(SDstring,SDInt); END; RUN(StreamDeckCommand); PROCEDURE StreamDeckTool; {Either input the tool name or the tool index} VAR Istool,SDstring:STRING; Result:BOOLEAN; BEGIN SDstring:=StrDialog('Command to run',''); Istool:=Copy(SDstring,1,1); if SDstring <> '' THEN BEGIN IF Istool = '-' THEN Result:=SetToolbyIndex(Str2Num(SDstring)) ELSE Result:=SetToolByName(SDstring); END; END; RUN(StreamDeckTool); StreamDeckTool.vsm StreamDeckCommand.vsm
  7. Looking at the Vectorscript reference it appears that SetToByName does not support internal tools and some of the "internal tools" do not have and index. Is there any way to set the current tool using a script to those "internal tools" that do not have an index? Tools that are internal without indexes are but not limited to: "Door Tool" "Window Tool" "Slab Tool" "Wall End Cap Tool" @Pat Stanford@Jesse Cogswell@MullinRJ
  8. I am working on building a complete profile for my highly customized Architect workspace. The problem is that my space uses many custom keyboard and stream deck doesn’t make it easy to change a command from a hot key command to a multi action. It would be better if there was a way to invoke a command in a quicker way than using the "F" (Quick Search window) function then I would program every function using said quicker way.
  9. FYI I was able to create a Stream Deck command to run any command of your choice from the Stream Deck. I did this by creating a five step multi action using the "F" (Quick Search window) function in Vectorworks. 1. Press the "F" Key 2. Delay 100 Milliseconds 3. Type the name of the command (This example is "scale bar") 4. Delay 250 Milliseconds 5. Press the "Return" key.
  10. I am trying to set a worksheet database to display only (Exterior Walls) I can't seem to get the formula right to incorporate the following =DATABASE((T=WALL)) & =OBJECTDATA('EXTERIOR'=1)
  11. @Samuel Derenboim Would you mind sharing the table that you show above?
  12. Here’s a file with a bunch of AWI Millwork profiles DETAILS_AWI-Millwork-Profiles.vwx
  13. It appears to work fine in 2018. 2018 version is attached. Brick Arch.vso Classes.sta
  14. Here is a Brick Arch Tool that I made. Parameters are as follows. Script will import Class1 and Class2 from the Class.sta file that needs to be located in your user or workgroup folder at "...\Libraries\Defaults\Standards" These classes have the textures assigned. The script creates a symbol for each arch with different parameters. BrickArch.mp4 Brick Arch.vwx Brick Arch.vso Classes.sta
  15. It did have a command that was new and did not work but it was not necessary for the fence to work. It also appears that 2017 is plagued with the same document units bug that affects 2023. This file works in 2017 but it set to use "Feet" or "Feet and Inches". If you change the document units the fence will create the wrong number of pickets. If you use another Document Unit let me know and I can convert one of the "picket and post" files above to 2017. Pickets Fence V2017 V2.zip
  16. Until the bug is corrected I have attached the unit coverted files in case anyone else uses other unit standards. Pickets and Posts Yards cm.vwx Pickets and Posts Yards km.vwx Pickets and Posts Yards Meters.vwx Pickets and Posts Yards Microns.vwx Pickets and Posts Miles.vwx Pickets and Posts MM.vwx Pickets and Posts Inch.vwx
  17. @Tom W. It appears to be a bug with Vectorworks. But for the meantime you can replace the Picket and Post file with the attached MM converted one attached. Pickets and Posts MM.vwx
  18. It appears that the records in the symbols are not converting the units correctly when the drawing is converted to mm. I have to multiply every unit by 304.8 which is feet to mm factor. Let me see what I can do.
×
×
  • Create New...