Jump to content

MeTheMachine

Member
  • Posts

    57
  • Joined

  • Last visited

Everything posted by MeTheMachine

  1. MacBook Pro, Mac OS Big Sur 11.3.1, VW 2021 SP3.1 However, like michaelk, it fixed itself.
  2. Anyone ever figure out a fix or workaround for this? Yesterday, I did a Nuke and Pave on my mac.... rebuilt (not imported) all my VW preference settings, and I'm experiencing this same exact issue... Across different files and after VW restarts.
  3. thank you for the help! That makes sense.
  4. First, I'm not the greatest working in 3D, so I have a questions: Is this a bug or me? When I have a truss selected, adjusting its length from the handle will also rotate it... I noticed that when I uncheck "Show 3D Detail", the problem doesn't occur. I've added a GIF to show, I'm sorry about the resolution... You can see, that: - first I shorten the truss - it rotates. - I undo - Check off "Show 3D Detail" - Adjust and its fine. Adjusting Working Plane, Holding Shift, etc doesn't fix the issue. So, is this a bug or me...
  5. I'm drawing over a PDF, but when I zoom in close, the PDF disappears. When I zoom out, it will refresh and appear. Is there anything I can do to mitigate this? Using 2 layers, one with the PDF and the other for drawing. The layers are the same scale. I've also tried adjusting the 3 Navigation Graphics settings, but nothing is helping.... You can see in the GIF, that my red area is where I'm drawing the initial footprint.... Any suggestions...
  6. 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.
  7. 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.
  8. Its entirely possible... I was looking at other AppleScripts examples and they were using POSIX path... Applescript makes my head hurt...
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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
  14. 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
  15. Figured it out.... Under Spotlight Preferences, the "Automatically assigning the class of all lighting instruments" was activated...
  16. 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?
  17. 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.
  18. I'm trying to use Pycharm to debug scripts, but I'm having trouble getting Pycharm and Vectorworks to communicate. My suspicion is that I'm not setting the correct python path in VW, under Tools>Plugins>Plugin Options. I have created a new project in PyCharm called "Vectorworks Debug" in /Dropbox/PythonProjects/PycharmProjects/Vectorworks Debugging. I've set up my environment paths like so: I've added the Python Sample Menu Command and uncommented out the lines, import pydevd and the settrace. import vs import ui.dlgHandler def execute(): # import pydevd # pydevd.settrace('localhost', port=1090, stdoutToServer=True, stderrToServer=True) data = ui.dlgHandler.DialogData() data.operationValue = "value" data.operationValue1 = 11 if ui.dlgHandler.RunDialog(data): # ok updates the 'data' from the local dialog data data = ui.dlgHandler.dialogData vs.AlrtDialog("The dialog was confirmed. The value is: ", data.operationValue) else: # cancel keeps the 'data' unchanged vs.AlrtDialog("The dialog was CANCELED. The value is: ", data.operationValue) When I run the Sample Menu Command, I'm getting an import library error No module named pydev Importing sys and print(sys.path) in a VW scripts gives me the following paths. /Users/me/Dropbox/Vectorworks/User Folders/Plug-ins/Marionette/ /Users/me/Dropbox/PythonProjects/PycharmProjects/Vectorworks Debugging/ /Applications/Vectorworks 2018/Vectorworks 2018.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5 /Applications/Vectorworks 2018/Vectorworks 2018.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages /Applications/Vectorworks 2018/Vectorworks 2018.app/Contents/Frameworks/Python.framework/Versions/3.5/../../../../../../Libraries/PythonExternals /Applications/Vectorworks 2018/Vectorworks 2018.app/Contents/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload /Applications/Vectorworks 2018/Plug-ins/ /Users/me/Dropbox/Vectorworks/User Folders/Plug-ins/ /Users/me/Dropbox/PythonProjects/PycharmProjects/Vectorworks Debugging/ /Users/me/Dropbox/Vectorworks/User Folders/Plug-ins/Marionette/ I've tried also adding '/Users/me/Dropbox/PythonProjects/PycharmProjects/Vectorworks Debugging/venv' to VW paths but with no success. Any suggestions would be helpful and appreciated it. Thank you. --- Eventhough I haven't gotten past my import error, here is how I've set up Pycharm remote debug. If anyone sees anything wrong, let me know.
  19. I have a drawing of a 3 million sq ft building, with numerous columns that I need to label. You can see what I have going on in the uploaded image. J3, K3, L3, etc. Is there a tool/object I can put at a column and say "A" and "1" and then increment? Similar to numbering instruments in spotlight? So far I've been duplicating and editing each one. Is there a simpler way?
  20. - Yes. - Yes. The information from the OIP is great. The data generated using AutoPlot Export is more fantastic. Eventually, I would be handy to see the design layer and class the instrument is in, however, not too important. You just earned my $35.00 dollars. Like I said above, my goal is really just create a script that will export the instrument data, or custom report, or AutoPlot information that I can trigger with a keyboard command. It would be nice to have my filepath and export options saved, so no dialog menus pop up. On the flip side, the same workflow ( i know this would be a separate script) that could handle the import side and update the instruments.
×
×
  • Create New...