Jump to content

Sam Jones

  • Posts

  • Joined

  • Last visited

Everything posted by Sam Jones

  1. Damn! I've been wanting to know about this for 20 years.
  2. Pat points out the problem. How would VW know which number from the Excel sheet goes to which Truss object or Hanging Position? If you make a database worksheet of the objects typing in the numbers should go pretty fast, but you have a similer problem. How do you know which number goes with which row?
  3. And people wonder why I don't jump into the SDK. Moses led the Israelites through the desert for 40 years to kill off the older generation. I'm feeling like that older generation now.
  4. Does anyone know answers to the following questions: 1. Can the Data Manager assign records to instances of PIOs already in the drawing? 2. If it can do #1, can it assign the same record to different instances of different PIOs at the same time? Thanks, Sam
  5. Don't worry you did not offend. I just worried about the possible loss of label legentds. On topic: What multicell fixture did you use, or did you make one? I would like to play with it. If there is more than one, pick one. Thanks.
  6. That's a very scary phrase. Since when did Label Legends become "legacy"? Many thousands of workflows are based on them. Adjusting individual fields is easier to do than with data tags. With the right tools, moving graphic edits among selected fixtures is easier than with data tags. I have know issue with people using data tags instead of Label Legends if it fits their workflow. I do not know data tags well, but the loss of Label Legends is a truly frightening thought.
  7. I have played with AddAssociation with the kOnDeleteDelete and kOnDeleteReset flags in several other commands. There don't seem to be any other flags that I can find, although I'm sure there are some. I doubt that there is a flag that would replace AssociateLinearDimension() routine. The most frustrating thing is that I got AssociateLinearDimension(LNewObj, FALSE); to work 10 days ago. I have both recreated and retrieved from Time Machine the code from then, and still nothing works. The example I sent dimensions the selected symbols and PIOs from center, adding an association to each. Why doen't it work. I guess I'll submit a bug, but I did get it to work once upon a time.
  8. Why does the script below not associate the created dimensions with the selected symbols and PIOs (line 33) The dimension are created and seem to be correct, but when I select a dimensioned object and move it, the associated dimension does not move with it I have attached a file that contains the script, "Dimension Test", and selected Lighting Devices to dimension. {Line 1} PROCEDURE AssociateDims; TYPE AnObject = STRUCTURE ObjHdl :HANDLE; X :REAL; Y :REAL; END; {AnObject} VAR ObjArray :ARRAY[1..10] OF AnObject; Obj :HANDLE; ObjCount :INTEGER; Index :INTEGER; BEGIN ObjCount := 0; Obj := FSActLayer; WHILE Obj <> NIL DO {Fill ObjArray with selected objects} BEGIN IF ((GetType(Obj) = 15) | (GetType(Obj) = 86)) THEN BEGIN ObjCount := ObjCount + 1; ObjArray[ObjCount].ObjHdl := Obj; GetSymLoc(Obj, ObjArray[ObjCount].X, ObjArray[ObjCount].Y) END; {IF ((GetType(Obj) = 15) |} Obj := NextSObj(Obj); END; {WHILE Obj <> NIL} FOR Index := 1 TO ObjCount DO {Place Dimension from X=0 to Object X} BEGIN LinearDim(0, ObjArray[Index].Y, ObjArray[Index].X, ObjArray[Index].Y, 24, 0, 770, 514, 1); {line 33} AssociateLinearDimension(LNewObj, FALSE); END; END; RUN(AssociateDims); Associate Dimension Test 2021.vwx
  9. "SetLineWeightChoice()" It was a sloppy cut and paste job. I was always referring to "SetLineTypeChoice()" Critical things I needed to find out. 1. "Name2Index('ISO-08 Long Dashed Short Dashed')" would find the index I needed for SetLineTypeChoice() 2. In the expression, resList:=BuildResourceList(96,14,'Attributes - Line Types',numLineTypes); The values of "96" (type), "14" (default folder), and 'Attributes - Line Types' (subfolder name) were the values I needed to build the resource list. 3. That I might need to use the negative folder number. When I go back, and look at the appendix, that those were the values needed seems so obvious to be embarrassing. It would be best if I worked harder to investigate the VS functions that I do not use often, but which become critical for certain functionality. I could do that, or I could come here and benefit from the good graces of those that peruse this list. I will try to do more of the former, but I will see you all next time. It's kind of like copying a friends homework. It's a little embarrassing, but the dog ate my homework. Thanks all.
  10. Thank you Jesse. You have answered many questions; some unasked but should have been.
  11. I can create a line type choice list box with the "CreateLineStylePopup" VS procedure. I would like to set the initial selection With the "SetLineWeightChoice(dialog, kLineWeightMenu, #)" command. First, when I set the "#" to "2", it does not select the 2nd or 3rd (0 based) item in the line type list. So, what goes where the "#" is. Second, the line type I actually want to set I only know by name, "ISO-08 Long Dashed Short Dashed", and it comes from the VW application resources. I don't mind polling a list to find that line type, but what list? Once I find the named resource, how do I specify that line type to be the default selection in the menu. I was hoping this would be easy. It probably is, but the answer is arcane knowledge.
  12. Is there a way to set the rotation of an object in Top/Plan view? "SetRot3D" and "Set3DRot" require a 3D object and do not seem to recognize a PIO using a Hybrid symbol or just a hybrid symbol unless I'm in a view that is not top/plan. Essentially I want to use VS to set the value of the Rotation parameter in the OIP. Anybody got a way to do this? TIA
  13. True, as with all things C++, but you get to drive an all terrain Corvett, and I get to drive a 10 year old Corolla.
  14. Scary. Do you know if this is true in the VS environment. I check for NIL handles, but have never initialized any. From what you wrote, it would seem a collection of: HandleVar := NIL; statements would be required at the beginning of every script command or contained in any initialization subroutine.
  15. Don't worry about hijacking the thread. I think power planning is a high priority the new cables.
  16. AutoPlot has a simpler, less powerful, lineset tool that would probably work for you, but the real question is: what is the workflow you would like to achieve when you work with linesets. I'm a collector of VW live entertainment workflows, and I would very much like hear about yours and how you want to improve it. Sam Samuel L. Jones Developer of AutoPlot Tools for SpotLight, and AP Cable Tools E-mail: sjones@autoplotvw.com (310) 993-4172 (cell)
  17. I will try to implement this in AutoPlot, but VW needs to seriously consider implementing Accessories (Devices) acquiring the channel of the attached fixture. Multi part patch of channels is common in lighting desks and is implemented in Lightwright.
  18. TMI about my experience with the problem and lack of solution. This has always been frustrating. I have on occasion had to put up an alert during the running of the command telling users to nudge the selected objects up and back down after the command completes in order for the screen redraw to complete. All the evidence, and there is very little of it mainly coming from _c_, points to some problem in the script code, but I have not been able to track it down in my code. Some problem in our code that prevents some object redraws and also prevents refreshing of the OIP, is probably better than the problem being buried in the VW engine. Since I can't find it, I blame VW with my users. BTW, when using handles and parameter values, try to be sure to check for NIL values of the handle. VW usually can handle NIL handle values, but every now and then it will bite you in the ass. Running your final checks in developer mode will catch NIL handle values.
  19. Not stupid, different industry; although there may be a similar circumstance in yours. I do different shows in different theaters, and while the geometry is different from theater to theater, it is usually very similar. Additionally, even when a venue has a significantly different geometry, my drawing will have my usual layer and class structure. It is much easier to copy and paste sheet layer VPs and adjust the crop. That way I don't have to worry about layer visibilities and overrides, and I don't have to worry about class visibility and overrides, and the data visualization is already set up. So much time is saved when copying a SLVP instead of trying to set it up from scratch. Sometimes after a file has been upgraded a number of times it is time to copy and paste everything into a new file. I have a scripts that will help me copy the layer and class structure to a new files, but getting the VPs set up is a bitch copying and pasting from the old file does not seem to take away the advantages I gained by creating a new file. I'm @_c_ can probably come up with a bunch of architectural workflow examples
  20. Why would the Fixture ID parameter of a Lighting Device reference another parameter (Instrument Type) essentially creating a duplicate parameter of no use. I'm not saying you're wrong. I'm just saying that this seems ...I'm struggling here... uselessly stupid. Is there a nicer way to say that? There's an explanation that my simple mind is missing, right? I would have though that "Fixture ID" would be a holder for what some consoles use as a control channel, e.g. the Grand MA's "Fixture Name", but I guess not. Chris, I think you are going to need to create a custom user parameter in the Spotlight Preferences of the Document Settings to hold your Fixture ID and assign that custom user parameter to an LL.
  21. In VW 2021, Spotlight's "Find and Modify" command should do what you want.
  22. AutoPlotVW command "Copy Field to Field". https://www.autoplotvw.com Let me know if you have questions.
  23. Assuming you are using VW 2012, and assuming you have attached the top hat using the Accessory Insertion tool, hit the "Edit Accessores" button in the OIP of the light the Top Hat is attached to. In the Edit Accessory window, select the accessory, presumably the Top Hat, that is displaying the Label Legend. Go to the "Use Legend" field in the Object Info Palette and select "None".
  • Create New...