Jump to content

stevenmorgan94

Member
  • Posts

    40
  • Joined

  • Last visited

Everything posted by stevenmorgan94

  1. Thanks for the quick reply Josh, I am always placing Symbols so that makes way more sense. I've tried a few different combinations and either end up with a single symbol per row/column. Seems like I'm missing a simple step but for some reasons I just can't quite see my mistake. for row := 1 to rows do BEGIN for column := 1 to columns do BEGIN Symbol(ledTypeName,offsetX,OffsetY,0); END END
  2. Done some digging around and haven't been able to find a way to accomplish something like the Edit>Duplicate Array tool through Vectorscript. Currently I have: Symbol(ledTypeName,0,0,0); ledFrame:=FSActLayer; GetBBox(ledFrame,p1X,p1Y,p2X,p2Y); N1:=3; N2:=3; IF (ledTypeID<3) THEN BEGIN for i := 1 to N1 do BEGIN ledFrameDup:= HDuplicate(ledFrame,((p2X-p1X)*i),0); END; for i := 1 to N2 do BEGIN ledFrameDup:= HDuplicate(ledFrame,0,((p2Y-p1Y)*i)); END; END ELSE BEGIN message('SACO'); END; This gives me my 3 columns across and 3 rows down. I just can't figure out how to loop through and fill in each column.
  3. I have tried to incorporate the VWX21 Hoist Tool but it's just not quite there yet on a technical level. It's great for designs, showing spansets, etc. The fact that I can't easily swap hoist functions and add load weights in the OIP is a bust for me. For the time being I have still been using the legacy tools which can be added back in under Tools>Workspaces>Tools (not to state the obvious but I've ran across quite a few people that didn't know the legacy tools are still in there.)
  4. Hey Pat, 1. Do the 12mm symbols already exist or do you need to create them? All symbols already exist. 2. Are the symbol names all completely consistent? ie. does the 12mm part always occur in the same location (number of character or number of spaces from the beginning of the name)? Naming conventions are the same across all pixel pitches. Video Tile 9mm 2x1 Video Tile 12mm 2x1 Video Tile 6mm 2x1, etc 3. Are you always going to go from the 9mm to the 12mm? Or are there times you would want to go from 12 to 9? That makes it more complicated as you will need to do more work figuring our how to munge the string as the lengths will change. It will change, my plan was to do a PullDownMenu with all of the options that store it to a String. The clunky idea I had was to substring out the original symbol name ([1]Video [2]Tile [3]9mm [4]2x1) and swap the [3] string for the new pixel pitch. Then Concat them all back together. 4. Would you be willing to consider renaming all of the 9mm symbols to 09mm so that the changing part of the string is always the same length? That would not be a problem. Clearly very new to scripting so if changing the entire approach would be a better option and you'd have a direction to point me in I can do some digging. Maybe storing all sets of options to different arrays and swapping between those? array06[Video Tile 6mm 2x1, Video Tile 6mm 2x2] array09[Video Tile 9mm 2x1, Video Tile 9mm 2x2] array12[Video Tile 12mm 2x1, Video Tile 12mm 2x2] swap(array06[1], array09[1]) ? Thanks so much.
  5. Yes Batch Rename works great, I just need to replicate it via script as part of a larger project (plugin) I'm working on. Edit: Actually I lied, I think Batch Rename just renames the symbols in the Resource Browser. I need it to actually replace the symbols and their attached records.
  6. Been digging around but haven't found the best way to accomplish this, wondering if anybody has an idea. Basic goal: Find a replace style symbol swap, but only swapping part of the symbol name. i.e: OriginalSymbol = Video Tile 9mm 2x3 NewSymbol = Video Tile 12mm 2x3 However the "2x3" could be any range of variables, I just need to swap the "mm" type (which are all symbols in the resource browser). My original thought was to SubString each symbol and then Concat them back together but am having trouble with the exact syntax. Working off the script below. Thanks! PROCEDURE ReplaceSymbols; { 03 Jun 2017 - Raymond J Mullin. } CONST NewSymName = '9mm'; VAR NewSymDefH :Handle; function SwapSym(H :Handle) :Boolean; { swap symbol instance H with NewSymDefH } Begin if (GetTypeN(H) = 15) then SetHDef(H, NewSymDefH); { swap Symbol Definitions } End; BEGIN NewSymDefH := GetObject(NewSymName); { Handle to new symbol name } if (NewSymDefH <> nil) then ForEachObjectInLayer(SwapSym, 2, 0, 4) { Selected, Shallow, Editable Layers } else AlrtDialog(concat('Symbol "', NewSymName, '" does not exist. Check spelling.')); END; Run(ReplaceSymbols);
  7. Using Data Tags. Formula would be: #Light Position Obj#.#TotalHungWeight#
  8. Anybody had the attached issue when committing & releasing? I am unable to commit or release any layers I've edited. "Operating could not be completed because of the Priject File in the local Dropbox folder is not up to date". I've tried restarting and re-syncing dropbox. As well as creating new working files and committing them with no luck.
  9. Brilliant, thanks. Would there be anyway to select a Saved Preset Unit Setting? I don't see that anywhere in the VS Docs. If not this is plenty to get the job done. Thanks!
  10. @michaelk digging up an old one here... I don't see that attachment anywhere. Any chance somebody has a units switcher script?
  11. Ah, that sorta actually makes sense. Thanks as always Pat!
  12. For some reason simple math isn't working in my worksheets when referencing database values. If I try to manually add cells together it works fine. Example attached, issue is on the "Sub-Total" column (F3). WorksheetMath.vwx
  13. Good work so far, worksheets will change your life. You can reference other cells with =A2 or =Value(A2) "Grouping fields" would be called "Summarize Items". There isn't a great way to change a name. You could do a replace string, but I don't think that's a good approach. Typically what I do on fields that I don't like the name of is copy them all over to a "User Field" record and change them there. So copy over "Stock169' 'Dress Kit" to User Field 1 and change them all to something nicer "9'x 16' Truss Screen with Dress Kit". I always have to do that with lighting fixture modes since VWX pulls in the GDTF files with the stupid .lit extension. So I'll change "m1_48ch.lit" to "Mode 1 (48CH)".
  14. Bumping this. Higher res images would be a game changer.
  15. I believe you are looking for what are now called "Schematic Views"
  16. Looking for a solution when in Top/Plan view. I would like to be able to have different 2D geometry for a fixture that is yoke down vs yoke or a batten that is horizontal vs vertical. Right now I do this with separate symbols for each 2D orientation. Obviously 3D is simple because I can just rotate the fixture. I was hoping to accomplish this using Low, Medium, and High Level of detail in the Component Edit dialog while editing a symbol. Just make each level of detail a different orientation. This idea works except the only place I can choose which detail to see is in Sheet Layers. I would like to be able to choose this in my Design Layer as well. Is that an option at all? I may be missing something. Open to other ideas if anybody has a nifty way of solving this. Thanks!
  17. Is there a way in my Criteria Formula to choose the array of rows that get returned? For instance if I have 100 rows of data and I want to make 4x different worksheets. WS1) 1-25 WS2) 26-50 WS3)51-75 WS4) 76-100 It would be a nice way to breakup long worksheets compared to placing them in viewports and cropping them. Thanks!
  18. I feel like I'm missing something easy. I am trying to create an object that when you run it, let's you select a symbol, and then inserts that symbol directly below my Marionette Wrapper. So far I can only figure out how to give it coordinates which will always be different. Is there a way to retrieve the Wrapper XY and give it an offset to insert the symbol? SelectorDIST.vwx
  19. Like Scott said, Design Layer Viewports, Plot and Model View, or the new VWX 2020 Schematic View are all ways to achieve this. Also in VWX 2020 I believe you can rotate any Hybrid Object right in a Design Layer. As for the lights appearing in OpenGL, VWX is not a visualizer. It's a CAD software for paperwork, schematics, and technical drawings. I would concur that Vision is currently not even comparable to other visualizers. Many people's workflow, including my own is VWX for drawing and then send it over to Cinema4D or GrandMA 3D for some quick OpenGL style renders.
  20. I think it's got potential. But once they are generate you can rotate them around much faster than DLVP's just because it's only 2D information. My biggest problem with it is the time it takes to generate...To generate (30' truss w/ 12x fixtures = 2-4 minutes) however that may just be my machine. But it's driving me nuts.
×
×
  • Create New...