Jump to content

Jiajing

Member
  • Posts

    101
  • Joined

  • Last visited

Everything posted by Jiajing

  1. any chance @JustinVH can share the file with me as well
  2. I have filter set for classes in organization dialogue , I do not think it is actually working. It works fine on elsewhere
  3. What I learned from @Scott C. Parker is that there is a bug on EQUIPMENT SUMMARY about COMPARE TO INVENTORY, basically it is not working, it suppose to compare to inventory list. I'm with you as well, the inventory list is stored locally, which makes it way hard to share files with team. I haven't found a good work around yet.
  4. The last time i had that problem was on truss, I think I fixed it by script. would you mind share your symbol ?
  5. Thank you, I missed that. @Tom W.
  6. Is it possible to have multiple criterias on graphic legend as 'OR' on opposte to 'AND'. Try to have a list of LIGHT DEVICE and STATIC ACCESSORY on one graphic legend.
  7. Thank you, Scott. Also would love to the difference between plug in of symbol VS. Symbol itself. Would it be great that just show light devise as ome kind if possible
  8. @Scott C. Parker Attached. Inventory.vwx Shop1.xml
  9. Thanks, Scott. Changed to plug -in version of the symbol, it looks same to me.
  10. Need help on COMPARE TO INVENTORY of Equipment Summary. For instance, I have (1) leko with total inventory of (10). When I turn on COMPARE TO INVENTORY on Key, it shows inventory as (0). My question is: * which inventory is key referencing to Am i missing anything here
  11. With more than 10 years working experiecne on Entertainment industry using Vectorworks, my work has been focused on production design, technicial drawing, engineer drawing and rendering. From file conversion, detailed technicial drawing, integration design to pre- visulization, those skills offers client with a complete set of drawing package before walking in to the venue. In addition to that, I will provide power calculation or rigging proposal for engineering purpose. Most of my work focuses on TV , concerts, music festival, theater, art installation and arch floorplan. That's been said, I'm seeking freelance drafting work or design engineer opportunities (open to in house work ). Please feel free to message me directly. Happy Holidays
  12. Thank you, @Raymond and @Pat Stanford I agree that there maight be other element is selected which is not visible on OIP. I clean the file almost entirely, would love to get more details on this specifc case Attached is the file. * On sheet Layer, titled as LX-7, there is a bit map, which locates at X: 0 and Y:0 on top left. I select the bitmap and run the script Q1: If there is other element which is selected but invisble, is it suppose to be more than one AlrtDia to display all items? In this case, I only get one alert window, and TL is not 0,0 for some reason. Q2: I also check the appendex, GETTYPEN gives index of 14, which indicates it is a bitmap, but I am not sure if bounding box is giving the right info of selected bitmap. And I only have one bitmap on this document. I am with you all, but just trying to figure out what's the hidden item and how to get the right boudnbox of selected bit map Thank you 2010025715_TestFile.vwx
  13. Thank you, Josh. That explained, after I delete symbol, the code works just fine. good to know. I can not have class named 'Astera AX5', but I can add prefix and have class named as 'LX-Asteria AX5'. That might be a work around.
  14. Thanks for quick response. Good to know. It would be great to add this note to the NAMECLASS wiki page. On wiki page, it only mentioned 'If the specified class already exists, then it will become the active class of the document.' https://developer.vectorworks.net/index.php/VS:NameClass Thank you
  15. Interestingly, I tried the same code on a brand new file, it works. lol
  16. import vs; List = ['Astera AX5','Astera AX3','ChromaQ ColorForce II 12'] for i in List: vs.AlrtDialog(i) vs.NameClass(i)  Running code on VWX 2023, it suppose to create three classes as ' Astera AX5' , 'Astera AX3' , 'ChromaQ ColorForce II 12', but it creates ' Astera AX6' , 'Astera AX4' , 'ChromaQ ColorForce II 13'. Basically, numbers in the end get +1 increment for some reason. I am not sure how to fix that. any leads are appreciated Broken File.vwx
  17. Thanks for the info. I will take a look.
  18. Have following code to get object's coordinate on sheet layer. import vs def todo(h): p = vs.GetBBox(h) vs.AlrtDialog(p[0][0]) vs.AlrtDialog(p[0][1]) vs.ForEachObjectInLayer(todo,2,0,3) It works fine on most files until this one. It is the same code, but as shown on screenshot, instead of return -1", p[0][0] returns 377210.178727 Did I misunderstand how GETBBOX works.
  19. Trying to channel units and also add unit numbers. When Channelling, NUMBER OF UNITS PER INCREMENT must be 1 , otherwise all units are the same channel number However when it comes unit numnber, It works when NUMBER OF UNITS PER INCREMENT is 0 I am confused on this setting.
  20. @MullinRJ Thank you. I thought FIn3D(h) only get handle of 3D objects, actually it also works for 2D.
  21. @Pat Stanford Thanks Pat. Here is what I am thinking h2 = vs.FInGroup(objecth) def todo(h2): while h2 !=0: if vs.GetTypeN(h2) != 15: * do one thing* elif vs.GetTypeN(h2) == 15: h2= vs.FinGroup(h2) todo(h2) h2 = vs. NextObj(h2) todo(h2) I think I mess up with traverse into nested symbol.
  22. @Pat Stanford What if there are multiple layers of nested symbols, what's the best way to traverse through all of them. That happens when I import CAD file, or on few lighting symbols (light devise is a symbol and inside light devise, clamp is another symbol, the bolt nested in clamp is another symbol)
  23. @Elite Exhibits It works on my end. Remember to have import vs; at the top of code.
  24. for lights, I ended up using GetRField(h,"Lighting Device","Device Type"). But GetName can be appplied to other scope. thank you
  25. @Kars Keizer Lighting Device and lighting pipe are both showing as 86, which is plug in object, is there a way to identify them seperatly, for instance lighitng device as light, not a plug in object
×
×
  • Create New...