Jump to content

The Hamma

Member
  • Posts

    457
  • Joined

  • Last visited

Everything posted by The Hamma

  1. Can we get an example or video of the door and window enhancements?
  2. I am trying to import a geotiff and a obj file both created from the same session export from DJI Terra. My issue is I can get both images to import close to the known point and I understand that there may be a margin of error between what is know and what is calculated by DJI Terra. I did use an onsite RTK unit. My issue is that I don't know why both the tif and the obj are not coming in at the same location considering they are from the same batch. EPSG was set to 6479 in both DJI Terra and Vectorworks. Source and sample attached. terra_obj.zip DJI Terra.vwx
  3. They added this option in Vectorworks 2025!
  4. Version 1.0.0

    16 downloads

    This file contains two Marionette - Objects. Both are Rectangles that are controlled by Area and Width and the Height is calculated. The top version is controlled by inputting the Area in the OIP and dragging the control point to control the width. The bottom version is controlled by inputting both the Area and the Width in the OIP. These are useful tools for space planning when you are trying to maintain a specific amount of area.
  5. For now I created a symbolic link from the Workgroup directory to my User directory. mklink /J "<Path to your User folder>\2025\Libraries\Defaults\Marionette" "<Path to your workgroup folder>\2025\Libraries\Defaults\Marionette" Only issue is that the Workgroup folder must be a synced folder rather than a network drive folder.
  6. What is the prefix for the workgroup library rather than the user library [UsrLib]?
  7. I have just created this script to create an overhead coiling door plugin style and symbol to override the geometry. You have to add the two files attached to your favorites. Once they are there you right click the "OHCD Generator" file to open. After you open the file double click the script named "Overhead Coiling Door Generator" Input the dimensions required. (Note you need to know what the thickness of the wall you will be inserting the door into is before you start). The new style will be inserted into the drawing for you to copy to your new drawing. If you save the "OHCD Generator" file the new styles will be kept in this file for future use. OHCD Generator.mp4 If you want to change the default settings in the style you can edit the source plugin named "OHCD STYLE TEMPLATE" in "OHCD Support File.vwx". You can also edit the class names in each file but you will also need to change the class settings inside the script. Find this section in the script to edit. { Define Class Names as Constants } kClassNone = 'A-DOOR'; kClassFlorOvhd = 'A-FLOR-OVHD'; kClassDoorLeaf = 'A-DOOR-OHCD-LEAF'; kClassDoorCan = 'A-DOOR-OHCD-FRAME'; kClassDoorTrim = 'A-FNSH-TRIM'; OHCD Support File.vwx OHCD Generator.vwx
  8. Oh! Now I get it and it did work!
  9. See attached. If I try to set the field of the resource it doesn't work. If I try to set the field once placed in the drawing it does work but only if the field is not by style. I am trying to do option 1. Style Field Set Test.vwx
  10. If I insert a plugin object in a drawing and the fields are not controlled by the style I can edit the instance of the plugin in the drawings fields. What I would like to be able to do is: Edit the fields of a plugin that are by style with a vectorscript so every instance is edited. If I cannot do that then I would like to be able to insert the styled plugin in the drawing and then convert it to an unstyled plugin using a vectorscript before editing the fields. Anyone know how to do either of these.
  11. Been there, done that. 😉 See this: Also if you want the easy way out. https://www.sideshowfx.net/products-vectorworks
  12. I do know there are vectorscript commands for these but does anyone know what the Object Visibility Commands DoMenuTextByName chunk name is.
  13. Does anyone know how to set the default nurbs curve degree for a 3D path object to always be "1"?
  14. Has this option changed in 2025 as when I try to adjust the curve degree the lowest I can set it 1, When I press 0 it defaults to 3. May be a bug.
  15. Attached is a Vectorworks file that contains a script to merge multiple lines of text into one text block. Simply select the multiple blocks of text you wish to merge and double click "Merge Text Blocks". The script will merge the text from highest y value to lowest y value. As always I recommend saving your work prior to running any scripts. """ This script merges multiple lines of text into on text block in order of highest to lowest y value This Python Script may be freely distributed. No warranty provided. Use at your own risk. David Hamer, 03/31/2025 """ def makelist(H): Master_List.append(H) # adds to list Master_List = [] # defines list to contain handles to all selected objects Duplicate_List = [] # defines duplicate list to contain handles to all selected objects New_List = [] # defines final list to contain handles to all selected objects LongString ='' # defines LongString as a string vs.ForEachObject(makelist,"(((T=TEXT) & (VSEL=TRUE)))"); #Sends each selected text object to def makelist while len(Master_List) > 0: #Goes throught the list of text objects until none are left Duplicate_List = Master_List.copy() #duplicates the Master_List to Duplicate_List while len(Duplicate_List) > 1: #Goes throught the Duplicate_List of text objects until two are left pt = vs.Get2DPt(Duplicate_List[0],1) #gets the xy coordinates of the first item in the Duplicate_List pt2 = vs.Get2DPt(Duplicate_List[-1],1) #gets the xy coordinates of the last item in the Duplicate_List if pt[1] > pt2[1]: #Compares y cooridinates of each and removes the lowest y valued item from the Duplicate_List del Duplicate_List[-1] # in this case the last item was the lowest y value else: del Duplicate_List[0] # in this case the first item was the lowest y value New_List.append(Duplicate_List[0]) #appends the last remaining item in the Duplicate_List to a New_List Master_List.remove(Duplicate_List[0]) #removes previously appended item from the Master_List for H in New_List: # Steps through every item in New_List Textstring=vs.GetText(H); # Gets the Text value of the active item in New_List LongString=LongString+Textstring # Adds return character to end of LongString if New_List[-1] != H: # Checks to see if this is the last value in the list LongString=LongString+"\n" # Adds return character to end of LongString vs.DSelectAll() # Deselects all currently selected objects vs.CreateText(LongString) # Creates a new text object from LongString Merge Text Blocks.vwx
  16. Everyone: Please post your favorite prompts and settings.
  17. I've created custom path object tool and I can set the texture by class but when I go to the OIP and try to set the texture nothing happens. Is there a command that I need to add to the script to have the OIP control the texture?
  18. This helped me with a similar situation
  19. Thanks for the tip, I will try this next crash.
×
×
  • Create New...