Jump to content

Marissa Farrell

Marionette Maven
  • Content Count

    1,250
  • Joined

  • Last visited

Everything posted by Marissa Farrell

  1. The following script will leave out Drawing Labels if they only have the default records added to them, which is how they are inserted by default. Extra logic would need to be added in order to check if multiple records are attached to the drawing labels. #Created by MFarrell 12/05/18 #Modified to exclude Drawing Labels #collect handles of selected VPs on active layer def GetHandle(h): if vs.GetTypeN(h) == 122: if vs.GetParent(h) == vs.ActLayer(): hVP.append(h) hVP = [] vs.ForEachObject( GetHandle, '(Sel = True)' ) #Traverse into the annotations group of selected VPs and delete all objects aside from Default DLs for VP in hVP: anno = vs.GetVPGroup(VP, 2) h = vs.FInGroup(anno) objs = [h] h = vs.NextObj(h) while h != vs.Handle(0): #recs = vs.NumRecords(h) if str(vs.GetName(vs.GetRecord(h, 1))) != 'Drawing Label': objs.append(h) h = vs.NextObj(h) for obj in objs: vs.DelObject(obj)
  2. @NicoleD I wrote a Python script that will delete all objects from the annotations group of selected VPs. This script will also only work on the active Layer (either sheet or design, though DLVPs do not have an annotation group). The script is undoable in case you make a mistake, but it is always recommended to test this in a copy file. The script is located in Palette-1. DeleteAnnoObjs.vwx
  3. @Haydenovative Try doing it opposite - change the class visibility BEFORE you go into edit mode of the symbol, then exit without making any changes. Does that update it?
  4. I would suggest using the Yes/No dialog node in conjunction with a Valve node. The valve node will accept a boolean input and suppress anything past the valve node if the value passed is False. If True, it will pass the values in the item list through. In this example, a circle is only drawn at (0,0) if the Yes/No result is True. BooleanValve_MFarrell.vwx
  5. You can use the Extrude node after using a Convert to Poly Group node. (You just need to be sure to ungroup the result of the convert node first) MarionetteExtrudeText.vwx
  6. Could you send that file to me privately?
  7. @Jab_be thanks for pointing this out. I believe that got left behind when descriptions for functions were copy/pasted. I'll make a note to try to take these out and provide the relevant information within the descriptions themselves.
  8. The primary use for a menu command would be to run a script on a selected object or to complete a repetitive task that does not require a PIO. If you want to place a marionette object similarly to how you would use a tool, I would suggest saving your marionette object as a Red Symbol in your resources.
  9. Menu commands won't place a working Marionette object, they work how it would if you just ran the Marionette script or wrapper once.
  10. If you supply a locus object with the profile object, it will offset respectively. OffsetSweep_MFarrell.vwx
  11. I'll put a bug in for this, it appears when the node was created a situation like that wasn't taken into account.
  12. @STERNontwerp It appears there is a naming conflict somewhere because if I multiply the numbers you are assigning by 100, the issue goes away. I'm trying to figure out exactly why it's not working, but that's what I've found so far.
  13. @STERNontwerp - just wanted to let you know that I'm looking into this.
  14. Yep! I just answered this over here (still a work in progress):
  15. Here's a head-start on this. I haven't added handling to check if a sheet of that name already exists, so it will continue to duplicate the sheets when re-run. I'll work on handling it later. I just wanted to show that yes, there is a potential workflow for this. SheetLayerSizeTBB_MFarrell.vwx
  16. I can't attest to this not being buggy - but if you prefix your names for nodes numerically, such as 1Width, 2Height, they should order respectively without displaying the number. This is not a VW recommended workflow, but I know in many cases it has been used with success. As for VP creation, yes, there is a way to create a Top/Plan VP, but from there you may have to make your changes manually. I haven't yet found a way to create a VP of a specific view, though I've spoken with some relevant engineers on the possibility.
  17. Vectorworks 2017 will not be made compatible with Mojave, Vectorworks 2018 and 2019 have an actively updated article with remaining known issues in Mojave as well as recent fixes to issues:
  18. @ericjhberg I'm attaching a file that contains two custom nodes: Layer List - Returns all layers in the active document Set Sheet Size - sets the sheet size for the given layer At least this will get you a little further in your endeavors 🙂 I think viewports will be a little trickier, but since it's a challenge, I'll end up looking into it at some point. SetSheetSize_MFarrell.vwx
  19. @Kevin McAllister I looked at the hidden records as well, sorry for being unclear. No record information attached to the Data Tag object is useful. My approach would be to run a script to query the objects inside of the Data Tag, but I feel like the process would be too dynamic in the long run to be useful. I cannot find a current way to pull incremental data reliably at this time.
  20. @Kevin McAllister My understanding is that the Data Tag just uses linked text to information, so @ericjhberg has the right approach to this. I did look at the records attached to the Data Tag and nothing there looks like it would be useful. It's mostly information on how to draw the Data Tag object, but not the data being displayed by it. It's possible that the objects inside the Data Tag Layout have some extra info in some cases, but extracting that may not be so straight forward. I'll take a look.
  21. @STERNontwerp I just wanted to jump in and say the move mode DOES work with groups, you just need to supply it with a 3D input. I also have a bug submitted to have this fixed in a later build. I do like the idea of a wiki, we just need to find the time and resources to get it going.
  22. What if you start with a default texture (I started with Glass Mirror Finish Blue RT) and tweak from there?

 

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