Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About MeTheMachine

  • Rank

Personal Information

  • Location
    United States

Recent Profile Visitors

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

  1. I remember having a similar issue with PyCharm and changing "pip install ..." to "pip3 install..." fixed my issue, even though I set the alias of pip = pip3... I'm far from a programmer and this probably wont do anything, but felt it might be worth mentioning.
  2. I do a lot of tracing over PDFs for lighting plots. Often, the set designer will draw walls that don't conform to the standard wall tool... or at least with my level of experience. This isn't a complex wall, but it was easy to explain my question. As you can see in the image: # 1 - Starts with a wall 4", which is a standard width for a set wall. # 2 - Jumps to a larger width. # 3 - Adds a little over hang. Typically, I would draw the 4" wall and stop when it changes its size. Then create a new wall with whatever the new size would be, and then just join them. This gets annoying with more complex sets. Is there a simpler way to do this? Using the standard "Create Walls from ...' has produced undesired results. Any suggestions would be great.
  3. Its entirely possible... I was looking at other AppleScripts examples and they were using POSIX path... Applescript makes my head hurt...
  4. I'm trying to use a program on the Mac called Hook My goal is to link or "hook" all the PDF files I use for a drawing to the vectorworks file I'm working in. Currently, I can have 12 different sets, which is 12 different vectorworks files, and all of them have up to a dozen PDF files from Art Dept. So if I'm working on "Haunted Castle.vwx", when I invoke Hook, it will pull up all the PDFs I have linked to "Haunted Castle.vwx" file. With that in mind, I'm probably going about this all wrong. I wrote a python script that I use to capture the filepath and set it to my clipboard. Keep in mind, Im not a programmer but it works... import subprocess def Path(): filePath = vs.GetFPathName() filePath = filePath[1:] subprocess.run("pbcopy", universal_newlines=True, input=filePath) vs.AlrtDialog(filePath) Path() Following the instructions for creating integration scripts Once I run the python script, in vectorworks, I use this applescript to create the hook path -- Append clipboard to Hook Link set cp to POSIX path of clipboard -- Get Address set hookPath to "file://" & (the clipboard) And I use this applescript to create the name of the hook... using the name of the document tell application "Vectorworks 2021" set current_name to name of item 1 in windows end tell --- I tried to use the "Run python script" in Applescript but kept getting an error. I'm sure its something I'm doing wrong. I didn't know if it was possible to just get the filePath of the document in applescript? It would take the manual execution of the python script, out of the mix... I've hit my afternoon lull, so I hope this makes sense.
  5. Is it possible to get the filepath of a document using Applescript? I didn't know where exactly to post this question. Thanks for any help.
  6. Seems like something got wonky with my conversion from auto hybrid to normal (for lack of a better word) symbol. Looking into the 3D components, there was also a symbol within a symbol. Fixing this, seems to have fixed my problem. Thanks for the help, markdd.
  7. I'll have you ask the original file owner... So I did notice that editing the 2D components had the same symbol within itself. I fixed that so now its only offsetting by 2 and not 3.... Is it possible its selecting the 2D and 3D objects? I would assume it would indicate 6 objects selected in the OIP and not the 3, which is expected.
  8. No... That being said, I'm pretty certain it is in the symbol itself. The symbol was originally an auto-hybrid, however I tried to convert it to non auto-hybrid by copying ungrouping everything and copying the 2D and 3D parts.. Perhaps something went strange
  9. I'm having an issue with numbering instruments in spotlight. For whatever reason, the lights do not properly increment from fixture to fixture. This has happened in multiple files, so perhaps its the symbol or maybe its a bug? Regardless, I'll include a video to show whats happening. You'll see that I set the channel to increment by 1 and the dmx address to increment by its footprint, which is 17.... VW Numbering Issue.mov
  10. Figured it out.... Under Spotlight Preferences, the "Automatically assigning the class of all lighting instruments" was activated...
  11. I'm experiencing a behavior that I haven't seen before. VW has created a class called "Symbol Name-..." and will not let me change the class for the symbol. It seems to be related to the specific document, when I create a new document and import the symbol, I can change the class freely. Any thoughts?
  12. So I got this working... Thought I would share my steps. First, I created a folder called "Python Modules" and set it as a path in VW script options. I downloaded and copied Pydevd to the Python Modules Folder. Per, PyCharm instructions, I got the "pycharm-debug-py3k.egg" and copied it to the modules file, also. I created a PycharmDebug.py file that imports sys and appends the egg file to the path. In the script I want to debug, I add the following: import PycharmDebug import pydevd pydevd.settrace('localhost', port=1090, stdoutToServer=True, stderrToServer=True) With that in mind, I'm almost certain I made some unnecessary/extra steps. Any suggestions or thoughts would be helpful.


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.

  • Create New...