Jump to content

Sam Jones

Member
  • Posts

    1,185
  • Joined

  • Last visited

Everything posted by Sam Jones

  1. Thank you guys. For the particular workflow, there is a workaround involving more symbols.
  2. 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.
  3. 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);
  4. @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
  5. 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;
  6. @FMA You didn't get it wrong. I did. I use the following to scale a symbol instance ObjArray Symbol(SymHdl, Sx, Sy, SAngle); SetObjectVariableInt(LNewObj, 101, 2); { ScaleMode: 1=None, 2=Symmetric, 3=Asymmetric } SetObjectVariableReal(LNewObj, 102, ScaleFactor);
  7. I use HScale2D all the time on symbol instances, and it works just fine.
  8. If you work with projectors, you need Projection Viz. Working without it is encasing one foot in cement.
  9. Calling @benghiat, @Mark Aceto and @C. Andrew Dunning
  10. I think this is possible, but I'm going to wait for others who have more chops than I to weigh in. My thoughts on it are not trivial and would probably be slow and it would take some work just to test. At a minimum Josh and Kevin will have a better idea. However, I have a question. Why do you care? Does not the MA3 order the channels no matter what order they are read in?
  11. What he said, at least 5 years ago. Pretty is nice. Clarity is required.
  12. Nope. I mean "Duplicate Array...", but "Move by Points" will work except in its first mode.
  13. What you provided was a "Plant" plug-in object (PIO), not a symbol. I do not have Landmark. I have the Design Suite. The instance you have in the drawing has all its Spread and Height parameters set by class. So we're not placing a symbol, but a PIO. Different kettle of fish; not rocket science, but more involved. It would seem one would need to place an instance of a Plant PIO with the VS function "CreateCustomObject", get its bounding box and the bounding box of the circle, and determine the scale ratio; then scale the "Spread" and "Height" parameters by the scale ratio. I don't have time to play with this, but maybe @Pat Stanford would like a diversion. Seems like it would be a useful script for Landscape users.
  14. There are no symbols to use too replace the circles in the file you sent.
  15. The script might try dividing the bounding boxes of the circles by the bounding boxes of the symbols? Maybe subtract an arbitrary number to be sure the result is small enough? Maybe not.
  16. If you have questions, message me, sjones@autoplotvw.com
  17. If you ever want a Zoom tour, conversation let me know. As for my sales acumen. The approach is a lot like a drug dealer. "Try a little". Additionally, there are more tools in the collection than any of my users actually use, so this is also a way to point some things out to people who already have the tools.
  18. AutoPlot Tools for Spotlight does. Lacks sufficient documentation, but a Zoom session will get you where you need to go.
  19. Sharing position changes, automatic numbering, total hung weight in the OIP, and automatic position acquisition; although without care and experience, this can bite you in the ass.
  20. But you are not the only one who uses the trusses But it is possible to make every truss assembly that has fixtures hanging from it a hanging position. There are advantages to hanging positions. Either as a lighting designer or production electrician, I would convert any truss assemblies I found, and use, to hanging positions. When you are laying out the truss assemblies, they don't need to be hanging positions, but once you pass them off to the LD and/or PE, boom, lighting positions. (Not true for all LDs and PEs, but for many of us.) What kind of global changes do you make after the layout that makes double clicking on a hanging position so onerous?
  21. Why? It seems to work very well, especially when used for hang lighting fixtures.
  22. There is likely to be a much simpler answer. Be sure the interactive scaling mode is not disabled. Be sure that one of the two modes to the right of the one circled below is selected.
  23. With AutoPlot Cable Tools, yes. However, those tools will not be seen by Braceworks. You would need to place load indicators if you want to include them in Braceworks calculations. Those tools prioritize part control and reporting; they are not better, just different.
  24. You can just edit the start field to start at the number you desire.
×
×
  • Create New...