Jump to content


  • Posts

  • Joined


18 Good

1 Follower

Personal Information

  • Location

Recent Profile Visitors

1,279 profile views
  1. have you tried importing it withgout the .py ending:
  2. I used to create a "update" script in the resource palette for this. Import all modules that should be updated within there and execute it when changes have been made before running the real script.
  3. It means apply rotation before applying the offset. Addition: Rotations use always the 0,0,0 as anchor. Whne you want to rotate some object about his own axis you would have to move it first with the axis on 0,0,0 then rotate and move it back where it was. This step is saved by the RotateBefore function. regards, Patrick
  4. You can also directly check "if ! h" the handle class has the boolean method implemented. regards, Patrick
  5. PythonBeginContext; PythonExecute( 'import os' ); PythonExecute( 'os.remove( r"C:\Users\admin\Desktop\remove.txt")' ); PythonEndContext; This should do it. Make sure the file is in a dir where VW has the permission to delete it. regards, Patrick
  6. PatW

    Truss Pickups

    1. Import the sym from my attached drawing, replace existing 2. Select the hoist where this symbol is used and select the pickup in the OIP as when you set it up the first time, this provokes a refresh. Be sure to select the local pick up symbol from the file and not the one from the libe. regards, Patrick
  7. PatW

    Truss Pickups

    Attached is the modified symbol that fits to the truss. Please replace it in your file and then reselect it in the Hoist OIP "Select PickUp Symbol..." regards, Patrick 24PinTrussPick.vwx
  8. PatW

    Truss Pickups

    You can change the "Low Hook To load Trim" value in the "Geometry" section, this will change the pick up position without changing the hoists Z position. Can you share this file. regards, Patrick
  9. Wem sagst du das 😄 Off yourse this is not desired behaviuor, but at least you can use the alternative key shortcut it until the bug is fixed. I will push this foreward.
  10. I guess your are using a quertz keyborad and remember that there was an issue doing the undo with this. Try it with Ctrl-Y 😉 Tell me if that works.
  11. Replace the MOve code by this. If it is a param obj it will use SetEntityMatrix.
  12. Try the node "Set Entity Matrix". regards, Patrick
  13. I see nothing wrong, also the example has this issue. https://developer.vectorworks.net/index.php/VS:PythonExecute As a workaround i would add the whitespace and always check if the first letter is a whitespace (in case the problem gets fixed). If the first letter is a whitespace you have to remove it again. regards, Patrick
  14. VectorScripts always have to be triggered by the user you can not listen for events in the background. That would be possible with the C++ SDK. If you want to communicate with OAuth by a menu command, it should be possible with python.
  • Create New...