Jump to content

Peter Vandewalle

Distributor
  • Posts

    317
  • Joined

  • Last visited

Everything posted by Peter Vandewalle

  1. For the hatch not printing: any object really far away from the internal origin? That causes all kind of graphic issues. For the linestyles not showing: what scale is the design layer?
  2. I would do that text editing in Python. That way you could keep it all in one Vectorworks command...
  3. If the script is a menu command, you could also use the menu command parameters...
  4. =runscript(scriptable, par1, par2, …) In the script use WSScript_GetPrmInt(index) te get an integer parameter. Others get real, text, image.
  5. Would it solve anything to store your workspace in a workgroup folder. Then you wouldn't have to redo all the work after deleting a user folder? That's what I do with all my python plugins and workspace...
  6. @WhoCanDo Did you migrate your workspace from 2021 to 2022?
  7. @WhoCanDo Are you in 2022 or in 2021? I see the repeat last command isn't in 2021.
  8. Parent PIO is a node in the Marionette defaults. I think it has been added later. I've been using it for a few versions now.
  9. The Repeat Last Command and Recent Commands are also under the right click menu, BTW.
  10. Years ago I used to do that with Applescript. But since the interface changed, this became impossible...
  11. In Python: vs.SetObjectVariableBoolean(_hObj, 684, False) # Text has no tight fill Vectorscript should be: SetObjectVariableBoolean(_hObj, 684, FALSE);
  12. Just thinking out loud… I suppose that if you use a database list of the doors with INSYMBOL, the handles are referring to the door in the symbol definition? And the x and y position values also? If that’s the case I’m afraid we’re running into the limits of worksheets…
  13. I think runscript would be able to do this. Once you get the handle to the door object, go for the parent object to get the symbol. Could that work?
  14. I would use a ForEachObject with criteria selected is true.
  15. Or use saved views to turn off the layers you don’t need when working at another scale?
  16. Since unified view exists, I never turned it off. Different scales shown together is done in sheet layers… Or am I missing something?
  17. Move a resource to a folder: I think SetParent()…
  18. Documentscript with Message(GetTypeN(GetObject(‘textstylename’))) will get you the answer.
  19. You can make database formulas smarter by using a "Databasebyscript" formula. Of course you'll need to script the list of shown objects yourself.
  20. Pat is right. But I think a script could make it semi-automatic. If the worksheets have a name beginning with something recognizable, you could select them, get the instance layer and update the database formula. Also, have the layer name in a cell and have the database formula use that cell as a reference. Like “(L=A1)”. That’ll make it easier to update your worksheet.
  21. Libraries are always version dependent. You’ll need a folder by version, just like the user folders.
  22. Workgroup folders are the way to go. Google Drive has a sync option, you can just create your workgroup folder in the drive. You CAN also update your workgroup folder library directly from within Vectorworks. if you add a workgroup folder in the Vectorworks preferences, the correct structure will be created at the chosen location. To add you library to it, just copy it via Explorer/Finder. Once the library has been added you can add new symbols by dragging them in the ressource browser from your active file to the wanted location in the workgroup folder.
  23. This sounds more like a command. Typically in Vectorworks, commands are menu commands. You can of course attach a keyboard shortcut to a command. Tools and Objects always need a click in the drawing to execute.
×
×
  • Create New...