Jump to content

JBenghiat

Member
  • Posts

    2,049
  • Joined

  • Last visited

Reputation

908 Spectacular

Personal Information

  • Homepage
    https://www.benghiatlighting.com
  • Location
    United States

Recent Profile Visitors

11,155 profile views
  1. I think Tkinter is technically separate from Python. See here. https://www.python.org/download/mac/tcltk/ You probably need to install as an external library. I found in my experiments that Tkinter crashed VW — but this was back in the first version that supported Python
  2. Are the parent Lighting Devices in schematic views in layers of different scales?
  3. AI is only as good as good as its training input, and Vectorscript just isn't well documented enough or have enough examples for AI to write accurate code. You can use it to help you on specific python tasks (e.g., how do I build and iterate over a list, etc.), but, at best it will probably hallucinate for specific Vectorworks tasks. I would suggest trying to build your scripts with Marionette. You can both edit the code for Marionette nodes and export the whole network as a script -- AI may help you make custom modifications from there.
  4. I don’t think you can using this call. You would have to construct the UI and create the texture from shaders yourself in order to get the file name.
  5. There's not really a central repository for drawings. If the venue has a resident organization, they will usually provide you with drawings of the space, of varying quality. Commercial venues may have electronic CAD or PDF scans available, but some expect that you will do a survey. If you do find electronic drawings, they will most likely be 2D only, though an increasing number of theaters are modeling their spaces or doing LIDAR scans. In addition to contacting the venue, you can post a specific request to the various VW and design forums and see if someone is wiling to share. Particularly if you are a student, you may have luck with both these strategies.
  6. Just a guess, but the render light exists in the profile group and its data needs to sync from the OIP. The sync is probably triggered from the OIP field, which doesn’t happen when the data is set by script. Probably no easy solution that doesn’t involve finding the light in the profile group and directly setting the color to match the lighting device.
  7. Find and Replace in the text menu should also do this
  8. @Scott C. Parker I repoted this a while ago VB-203021
  9. Yep. I don’t have a workaround for the container. For the symbol, every level of container (symbol or group) will do a flip, so grouping the elements that are drawn correctly will get it back to the right place.
  10. I’m fairly sure there is no way to automate this. If these scripts aren’t document-specific, you can move them to plug-in commands and access from menus
  11. None of the other association constants are documented. They are called in DebugListView, so you can see if seemingly connected objects have an association, and the constant is usually named.
  12. There is not currently a tool for this. A number of solutions exist for creating/duplicating around an arc, but not for distributing existing objects. My solution has been to use the lighting pipe's tick marks. In the case of a truss, I insert a Lighting Pipe along a chord and turn off the "Draw pipe" option, which leaves only the tick marks. I have a script which distributes along an arc, but last I checked a bug in VW made it crash when picking the center point.
  13. Tools created with VS/Python have a lot of limitations — most of the complex tools you see require the SDK. The easiest way to have a tool with options is to call RunTempTool from a menu command: https://developer.vectorworks.net/index.php?title=VS:RunTempTool You CAN create an event-enabled tool, though the process requires a byte editor, so not very user-friendly: https://developer.vectorworks.net/index.php?title=VS:vstGetEventInfo. The event loop is almost identical to RunTempTool.
  14. @Stefan B. You seem to be describing a plug-in object. You create the object via the Plug-in Manager, and insert via a tool (the object automatically generates an insertion tool) rather than the Resource Manager. PIOs can be point-based, which function very similar to symbols.
  15. I think you found it. You would then add items to the menu
×
×
  • Create New...