Jump to content

Sam Jones

  • Posts

  • Joined

  • Last visited


501 Spectacular

Personal Information

  • Occupation
    Technical Director
  • Homepage
  • Location
    Los Angeles

Contact Info

  • Skype

Recent Profile Visitors

10,330 profile views
  1. Good luck. I don't know how data tag would access the piece count, but perhaps a tag wizard will share. I'm pretty sure Josh Benghiat's "Savvy Position Label" will do the job, and below is an example of an AutoPlot Tools, "Truss Tag". The graphic arrangement can be customized; I assume that is also true for the Savvy Position Label.
  2. @JBenghiat Josh, can one make a worksheet of Savvy Position Labels and get counts and totals from that?
  3. Nope. I imagine the plug-in command would create the dialog with a pop up menu. I imagine you could tab to the pop up, but I'm not sure the arrow keys will travel the choices, but maybe. So, 1. select a hoist 2. initiate the command which shows the dialog with a pop up. (the dialog has to create the list of lengths 3. tab to the pop up 4. arrow key to the length 5. hit return 6. the command code writes the choice value into the field of the custom record. I think it would be easier to code just a query for the length that is then written to the record. compared to making the dialog and processing it, the ease in coding would more than make up for the typing of the length HoistHandle := FSActLayer; {assumes the hoist in on the active layer} LengthStr := StrDialog('Input cable length', ''); SetRField(HoistHandle, recordName, fieldName, LengthStr)
  4. No help here. I haven't a clue. I'll go out on a limb and say VS is not up to it, but would be delighted to be shown I was wrong. I started listing a bunch of issues here, but it got crazy. Why do you want to have this functionality? How would you like to use it? @MullinRJ have you got a magic vector math solution?
  5. Not really. 10 years ago I put 4 lights on separate circuits, 3 of which had the same unit number but different positions, on the same channel to make a path. Happens rarely, but does happen. Position and Unit Number would be unique, and would have the additional advantage of telling you where the fixture is. That doesn't matter with this problem, but the use of channel numbers to identify fixtures drives me crazy. Where the #$@&! is channel 203? It's not coming on, and the programmer wants me to troubleshoot it.
  6. As of 2024 VW has native rotate each 90° commands, but my users never bother to notice.
  7. Actually, it will place the symbol at the insertion point of the PIO. The insertion point is where you click when you place the PIO. If you want to offset the symbol from where you click, put the amount of offset in the Symbol() call as measured from the click.
  8. Yes it will. It is part of AutoPlot Tools for Spotlight. You can contact me, sjones@autoplotvw.com.
  9. If I understand you correctly and that is not clear to me, you would need a script to copy values from the data tag into into symbols that the truss tape command will recognize, and then select the symbols along with the other objects you want on the truss tape. For now this is a one off, and it would be easier to just make your own symbol with a record attached, place them, and copy the universe values by hand into a field of that record. You would then need to list that record and field in the Truss Tape Assign worksheet. Or, just just write something on the Truss Tape design layer. The real solution is for me to give you the option of placing Data Tag field values on the truss tape, and then include the Data Tag record in the Truss Tape Assign worksheet. That is currently not allowed because it assumed that objects on the truss tape are real objects to be hung on the truss, so Data Tags and Callouts are not recognized even if selected. If you want to Zoom with me, to try and figure out a possible workaround, no guarantees, let me know. sjones@autoplotvw.com
  10. Thank you guys. For the particular workflow, there is a workaround involving more symbols.
  11. I have a PIO that places a symbol of a certain class. That symbol contains symbols that are in a different class. Is there a way to make the symbols inside the parent symbol use the class attributes of the parent symbol? Unchecking "Use at Creation" for the sub symbol classes has no effect.
  12. I don't seem to be able to create a symbol folder in the resource manager and then import symbols and place them in that created folder all in the same command. The command below creates the folder and then imports the symbols but then places them outside of the created folder. Is there a way to do this? As always TIA. {====================================================================} PROCEDURE LoadTentSymbols; {$DEBUG} CONST kRETentSymbolFolder = 'RE Tent Structure Symbols'; {Resource Manager Folder} VAR RESymbolFilePath :STRING; TentSymListIDX :LONGINT; TentSymListCt :LONGINT; TentSymName :STRING; TentSymHdl :HANDLE; TentSymFolder :HANDLE; Index :LONGINT; {=================================================================} FUNCTION ImportCallBack(VAR resName:DYNARRAY OF CHAR) : INTEGER; BEGIN ImportCallBack := 0; END; {=================================================================} BEGIN RESymbolFilePath := 'Raging Empire'; TentSymListIDX := BuildResourceList(16, -13, RESymbolFilePath, TentSymListCt); TentSymListCt := ResourceListSize(TentSymListIDX); TentSymFolder := GetObject(kRETentSymbolFolder); IF (TentSymFolder = NIL) THEN BEGIN NameObject(kRETentSymbolFolder); BeginFolderN(16); EndFolder; TentSymFolder := LNewObj; ResetObject(TentSymFolder); END; FOR Index := 1 TO TentSymListCt DO BEGIN TentSymName := GetActualNameFromResourceList(TentSymListIDX,index); TentSymHdl := ImportResToCurFileN(TentSymListIDX, index, ImportCallBack); InsertSymbolInFolder(TentSymFolder,TentSymHdl); END; {FOR Index := 1 TO TentSymListCt} END; RUN(LoadTentSymbols);
  13. @Scott C. Parker Do you have a file with actual objects that the worksheets can report. The data base headers are very helpful, but it is not always clear what they are reporting. I'm working on label printing and would like to create reports for them to use. TIA
  14. An important thing to know about "LNewObj" is that it does not work as a handle; it is a function that returns (gets) a handle to the last created object. It's value will change as soon as anything is created by the script. If you are going to need a handle to a symbol for a variety of reasons, it is best to assign it to a variable and use the variable in all the different places you need it. VAR SymbolName : STRING; SymbolHandle : HANDLE; X, Y, Rot : REAL; X1, Y1, X2, Y2 : REAL; BEGIN Symbol(SymbolName, X, Y, Rot); SymbolHandle := LNewObj; GetBBox(SymbolHandle, X1, Y1, X2, Y2); Rect(X1, Y1, X2, Y2); END;
  • Create New...