Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

111 Spectacular

About JBenghiat

  • Rank
    500 Club

Personal Information

  • Homepage
  • Location
    NY, NY

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. JBenghiat

    Accessing Object Data in another file

    I don't know 100% the process, but a lot of the title block data gets written to a hidden record format, and I imagine this is what gets read. (Essentially writing to the record format's defaults). You can browse the file's resource list, import the record format, read the data, then delete.
  2. I'm using RunTempTool() to call a custom tool that inserts a plug-in. If the user clicks the first point, then hits the delete key, the tool operation is aborted, like pressing escape. I would like for the tool to instead go back to waiting for the first click. Is there a way to change this behavior? The tool action at this point also is kAction_OnEnterReturnKeyForToolCompletion, which makes it difficult to tell if the user has hit the delete key or the enter key.
  3. JBenghiat

    Accessing Object Data in another file

    You can extract data from a resource in another file, but not an object. If you create a reference to the other file and a referenced viewport, you should be able to read the data via the viewport. The only other option would be to have the file write data to an external data source (xml, text, sql, etc).
  4. JBenghiat

    Assign Class to Selected Symbol via Custom Script

    A single object is easy: SetClass( FSActLayer, ‘Class Name’ ); All select objects takes a bit more code structure. Look at ForEachObjectInList, which will iterate through objects. You can set the function to traverse all selected objects.
  5. JBenghiat

    MultiCell Help

    There is no good way to do this, and being able to swap out multicells is towards the top of my wishlist. Your best bet is to redraw the position and use LW to transfer the data. Either keep both versions and copy/paste data, then delete the old version, or turn off data exchange, export instrument data (only the fields you use to do a match), then merge into LW, matching by either position/unit number or by channel. This will get new Spotlight IDs into LW, at which point you can resume data exchange.
  6. JBenghiat

    Date function - data structure changed in 2019?

    You can find examples under the PythonExecute reference: http://developer.vectorworks.net/index.php/VS:PythonExecute The Begin/EndContext calls allow you to treat each execute call like a new line in the python script, maintaining variable values among lines.
  7. JBenghiat

    Date function - data structure changed in 2019?

    Along with file access, date function limitations were a big incentive to develop python support. Even if you're not ready to make the jump to python, PythonExecute will let you run python from within vs and take advantage of the date and time functions. If your script is not encrypted, use Set/GetVSVar to pass data between vs and python. If it is encrypted, you will have to use the string repository (Rpstr_…) to pass values, which is still fairly easy.
  8. The older resource pop-ups allowed content to have categories, which displayed as shaded bands between icons. This option should create dividers for each folder. That said, I would recommend using IResourceManagerContent instead, which will give you a full Resource Manager for the control. //Header: VectorWorks::Extension::IResourceManagerContentPtr fContent; ... //Constructor: fContent( VectorWorks::Extension::IID_ResourceManagerContent ) ... //OnInitializeContent(): fContent->InitByTDType(kMaterialNode); fContent->AddContent(kObjectsEntLightingGobos); VWImagePopupCtrl* texturePopup = this->GetImagePopupCtrlByID( kPopupTexture ); texturePopup->PullDownResourceLayoutInit( fContent ); texturePopup->PullDownResourceLayoutSetSelectedResourceName( fSelItem );
  9. JBenghiat

    Realistic hardware spec for OS X

    I still have a 2013 MacBook Pro, which maxes out at 16MB of RAM. It has no problem with Vectorworks and rendering, so minimum specs of anything new are going to be fine. That said, I would get as fast and as much RAM as you can afford. Also, check the configuration of the RAM for each model you're looking at — if you're not maxing out, you can upgrade the RAM later, but if you have 1 slot of 16, that's more cost effective to upgrade than 2 slots of 8, etc. The one thing I wish I had more of is storage — 500MB fills up pretty quickly.
  10. JBenghiat

    Lots of Fixture Errors that may be connected?

    Orientation and projection are two separate processes. If a fixture isn't orienting correctly, something is probably wrong with the assignment of the Parts record to the 3D components. See here: http://app-help.vectorworks.net/2019/eng/index.htm#t=VW2019_Guide%2FLightingDesign1%2FLighting_Instrument_Specifications.htm What is your rendering mode? Make sure Cast Shadows is turned on. Various other fill and texture settings can affect this. VW doesn't have a means to automatically fill in the brightness level of the lamp. You can use the visualization palette to edit the render lights and give them a lumen or peak candela value. This only will affect RW renders. Also note that illuminance is affected by a lot of factors, including properties of materials, so if you're using VW to get a sense of accurately rendered brightness, you're probably not getting good results. If I'm just adjusting a rendering for lights that I know should feel brighter, I just up the "Brightness" setting to more than 100% using the text box. You can input any percentage in there.
  11. JBenghiat

    Spotlight Inventory Color Summary Not working

    Each instrument summary takes it’s own set of parameters. If all the summaries are identical, you can make a symbol out of a summary and change the summary in the symbol. If each summmary has different display options, 2019 should support object styles for all plug-ins, so you should be able to define a Summary as a style and have the object list refer to the style. I haven’t tired this yet, though. If you want to copy the settings of one summary to another, use the eye dropper tool, This wall copy all the plug-in parameters, though.
  12. JBenghiat

    Parellipsphere 170 not in Fixture Library?

    As long as we can still see which fixtures have the ground wire omitted.
  13. JBenghiat

    How to rename plugin files?

    To expand, your plug-in depends on reading values from your strings files in the.vwr, so you need to change the line above as well as any resource calls that name the .vwr path explicitly (usually menu bar and image calls). In your case, because it can't find the strings file, the plug-in is using an empty string for the category, which prevents it from showing up in the Workspace editor, though it should show in the Plug-in Manager. Also note that changing the file name won't change the universal name, which is coded in the plug-in implementation, or the display name, which the definition structure should read from the strings file.
  14. JBenghiat

    Parellipsphere 170 not in Fixture Library?

    This is what many of us used pre-internet: Photometrics Handbook https://www.amazon.com/dp/0911747370/ref=cm_sw_r_cp_api_i_WTngCb8NAC1N9
  15. JBenghiat

    Parellipsphere 170 not in Fixture Library?

    Last time I used one was in the 90's, and the theater had trouble sourcing the EGJ lamps, so when we had a burn out it would go out of inventory. They're in my Photometrics Handbook, p. 348, Electro Controls Model No. 7367A, with the dimensions 25 11/16 x 15 ½ x 26 5/16. Weight 22.5 lbs (I remember the body being cast steel). The plot still opens in 2019! I just used the generic axial zoom ERS symbol, which in 3D looks like this:


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.