Jump to content

Marissa Farrell

Marionette Maven
  • Posts

    1,470
  • Joined

  • Last visited

Everything posted by Marissa Farrell

  1. Conveniently, for objects in walls you can just use vs.GetParent()
  2. This shouldn't matter, my first test was with a black symbol that I later converted to red. I'll make a note to look into this in a bit.
  3. You can remove Marionette menu commands by navigating to Marionette Command Library.vwx (Go to [Your User Folder]/Libraries/Defaults/Marionette) and delete the resources in the RM that correspond to the menu commands you'd like to delete. Then you'll likely need to restart VW to show the changes.
  4. Hi! You can use the Objects by Criteria node and set the Criteria to ((SEL=TRUE)) (You can also use the dialog that is presented using the "Criteria Configuration..." button in the OIP) Replace your Name node with the Obj by Crit node. Sometimes this is finicky, though, so please if you run into an issue send me a DM with the file so I can take a look and forward it to the engineers if it's something we may need to fix/account for 🙂
  5. The easiest way I've done with with Marionette was to convert a copy of the poly to a NURBS curve and divide the curve into segments to get the points along it. I'm attaching a file to demonstrate. If you just want the 2D points instead of the 3D points, you'll need to remove the Z value from the resulting list. Div Curve.vwx
  6. Hi Stefan! I'm attaching a simple file that I hope may help, but I also may be misunderstanding your question since you haven't provided a file to work from. Please let me know if this helps, or if I need to go in a different direction. In this file, there is a circle Marionette Object that attaches the record within the network to the circle using the Marionette Object node (which returns the handle to the Marionette object) Creating a symbol of this Marionette Object creates a Marionette Object Style (which can be found in the folder of the same name within the Resource Manager. The resource shows the attached record in the RM window. MarionetteCircleSymWithRecord.vwx
  7. Is this a Vectorworks worksheet, or is it an external excel worksheet?
  8. Right now there isn't a node for that. What exactly are you hoping to do? Take the top face and get the 2D representation? The bottom?
  9. Thanks, @Jack_Moleta I'll put a ticket in for this 🙂
  10. Hi! You have options. If you remove the line of code at the top that begins with #COMMAND then you can edit the python script Otherwise, you can wire two Ordered List nodes together, use the output from the first one as item1 in the second.
  11. @Sibbi123 I'm not sure this works even doing it manually. I tried ungrouping your geometry results and performing the Clip Surface command (which is what the planar boolean in subtract mode does) and it doesn't do anything either. Can you show me where you got this tutorial from?
  12. Thanks! I just had the chance to check this myself and wasn't running into issues, so this helps me to not need to ask for more information 🙂
  13. I've asked a colleague to look into this and I'll report back once I know more 🙂 I'm out of office for a while, so unable to really check for myself at this time.
  14. Hi all - without Vectorworks in front of me, I think SetAngle may be looking for a vector and not a degree value. The dev wiki implies that to me, but again, I haven't been able to check.
  15. Can you provide a small file with your network, the results of that network, and an example of what you want it to be when it's done? I just want to make sure I understand the situation correctly. If you don't want to share publicly, you could send it in a direct message.
  16. Handles are Vectorworks' identifiers for objects. You can use vs.GetObject(name of object) to get an object by name; sometimes functions to create objects will return the handle to an object (or you can use vs.LNewObj() to return the handle to the last created object); or there are some other functions that return handles to objects as well. Let me know if you want more examples of functions that return handles or if you have a specific way you'd like to determine the handle to an object.
  17. @jason schneider Looks like you've selected the Custom Cabinet tool instead of the new Cabinet tool. They're next to each other in the workspaces, so easy mistake! Hope this helps 🙂
  18. It appears this was a deliberate change. Here's some information I got from the engineer that worked on the task. "The new View Bar and Mode Bar only exist on the application window so turning the "Use Application Window" setting OFF didn't have much sense anymore. You can still undock documents after you've opened them and you can have undocked/floating palettes placed wherever you want on the screen." I've spoken with the Technical Publications team and they'll be updating the help to prevent user confusion. Thanks for bringing this up, @Marcelo Barujel
  19. You don't need to get the name of the worksheet since you're already providing it. Also, GetName works on object handles, not strings. Here's a short example of how you could use GetName. vs.NameObject('NewRect') #set the name for the next created object vs.RectangleN(0,0,0,1,1,1) vs.AlrtDialog(str(vs.GetName(vs.LNewObj()))) Note that vs.RectangleN doesn't return a handle to the created rectangle, so vs.LNewObj() is used to call to the last created object.
  20. What is your 3D Conversion Resolution set to in Preferences > 3D?
  21. I'm asking about this now, and I'll let you know if I get an answer 🙂 It used to be part of the "Application Window Docking Options" menu chunk, so there was no deliberate removal within the workspaces. Just unsure if this was purposely done or not.
  22. I use != vs.Handle(0) in Marionette nodes, I think that should work.
  23. The post Pat shared I believe is your missing link. Throw vs.SetObjectVariableBoolean(tbb, 1167, True) into your script after you've created the TBB, but before trying to pull/push information to it. It appears to be working on my end. I remember having to use this when I was writing a script my first year at VW to output an animation of a door opening, sending me back to my early years 😛
  24. Adjustments were made to the Marionette tool in 2024 to help prevent user confusion with double click behavior. You should be able to use the Reshape tool on a Marionette object to show the handles. Please let me know if that doesn't work.
×
×
  • Create New...