Jump to content

PatW

Member
  • Content Count

    56
  • Joined

Community Reputation

18 Good

1 Follower

About PatW

  • Rank
    Apprentice

Personal Information

  • Location
    Germany

Recent Profile Visitors

1,053 profile views
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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.
  6. 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.
  7. Replace the MOve code by this. If it is a param obj it will use SetEntityMatrix.
  8. Try the node "Set Entity Matrix". regards, Patrick
  9. 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
  10. 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.
  11. GetBBox Take a look at https://developer.vectorworks.net/index.php/VS:Function_Reference#Object_Info Maybe HWidth, HLength is better in your case.
  12. I found it practical to use a "Pass" node in a shiny color for comments. But better try to split the network in many capsulated wrappers that describe themself with their name, so you keep it cleaner and don't need to maintain the comments.
  13. I was having a look. In the case off the "Truss Record" the values are saved as strings with the unit.
  14. Hi tbexn, use the Trussitem parametric record for the length, I don't know how python gives you the value, but all Dimensions fields save their value as millimeter internally, the UI like ObjectInfoPalette then automatically converts it. Secondly for HP made up of individual symbols (so no truss record) is there a way to get either the symbols total length or the even more directly the HPs total length? I would use the bounding box off the geometry in the symbol definition. Don't use the BoundingBox off the HangingPosition because it will not be accurate if the HP or profile is rotated (inside the HP). regards, Patrick

 

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...