Jump to content

sbarrett

Vectorworks, Inc Employee
  • Content Count

    228
  • Joined

  • Last visited

Everything posted by sbarrett

  1. Hello, There is currently no "compose" node or its equivalent in Marionette. It is definitely on the wishlist though! There are however always ways to get the result you are looking for - Did you draw the separate pieces in Marionette? If so, there is probably a way to draw it as a single object using Marionette - I would suggest looking at the nodes in the Poly 2D category. If you drew it freehand, is there a particular reason you want to compose it with Marionette instead of using the Compose command? Sarah
  2. sbarrett

    Selection nodes

    Hi Alan - the Set Class node is in the Attributes category and not the Class category which has been a point of confusion, but with 2017 you can search for nodes so this shouldn't be a problem anymore!
  3. sbarrett

    Selection nodes

    Hi Rick - to create a new class in a document, use the node "Name Class" in the Classes category and for a new layer use the node "Layer" in the Layers category. Each of these nodes takes an input of a string (text) as the name of the new class/layer.
  4. Hi Kevin, When you Set Text Orientation, it always orients around the insertion pt of the text, and this insertion pt can be changed by changing the horizontal and vertical justification. For example, if you change the text to be justified center, the text will rotate around its center. There are two set text justification commands, one that keeps the old insertion point and moves the text, and one that keeps the text where it is and moves the insertion point. I believe the code inside the Set Text Properties node is the second command I mentioned.
  5. sbarrett

    Get Wall Style

    Alan this looks awesome!
  6. sbarrett

    Get Wall Style

    Alan this looks awesome!
  7. Hi Kevin, I see in your Conditional Symbol node, if the boolean is false, you have a pass but instead you could set the output to equal None and then put add a list node to attach all objects to that filters out None values - as long as you have at least one object, the rotate node will work.
  8. Hey Alan, I know it can be frustrating to have a function that does close to what you want but not exactly. There is no other function to use, but the values of the BotL and TopR can always be derived from the TopL and BotR. TL, BR = vs.GetBBox(obj) TR = (BR[0], TL[1]) BL = (TL[0], BR[1])
  9. Hey Alan, here is a solution that might work. I created two lines at the beginning and end of the path to get the angle of each line then used that to rotate the caps. -Sarah
  10. Hi Rick - I have been working on creating new records and building them into Marionette Objects and I still haven't quite figured it out, so I am not sure if using a predefined SG object is better or worse than the starting from scratch. However, I do have a couple of nodes that I use to edit multiple record fields. V1 is for editing multiple record fields of one object, and v2 is for editing multiple record fields of multiple objects. Let me know if this helps, Sarah
  11. Hello Brendan - There is a way to make the Set Layer node work. First you must RUN it on its own, then double click to open the script window, close window, deselect, and select again. The logic behind this is that the node doesn't recognize the layers in the document until it is run, and then it can't transfer them to the drop down menu until the script editor has been opened. If you add layers to your document after you add this node, just run it again and open and close the script window.
  12. Hello, I recently came across this problem as well and modified the Change Vertex Node accordingly. It is a symbol in the attached file as well as being used in a few definitions.
  13. Here is a definition I did a while ago for a landscape architect and I wanted to repost it here because I have gotten a lot of requests for it.
  14. Hi Robert, I think you might have already done this yourself but I have created a node that takes strings formatted into feet and inches and turns them into usable floats.
  15. Patrick this is awesome! I am very excited about this!
  16. Personally I think it is a very silly detail and it is completely understandable to have missed it. But I would get used to the feeling - It happens a lot with Marionette because we are not used to working so explicitly.
  17. Hey Rick I think I got your definition to work - the main issue was that a Custom object need a polyline or polygon as its path, not a line. There were some other changes I made if you want to check it out. Let me know if that is what you are looking for
  18. Hi M Evers, Alan is right. Marionette definitely has the capability of doing these things - the only reason that we may not have samples of these things available is that no one has had a chance to do them yet! Marionette has only been available to all users since September and to beta testers less than a year, so we are still in the early stages of helping users to understand Marionette's full potential. The important thing to remember is that Marionette is designed to be ever-expandable and creatively boundless - If a node doesn't exist that does what you want it to do, it can be built using existing nodes and the Python programming language.
  19. Hello - The difference between the two networks is that when you have two separate Name nodes, there are actually two different networks, meaning the object inside the name node gets used by one network and then another different one. This is possible because the network doesn't change the original object inside the name node so it can be used over and over again. It would be the same if you had one name node, and attached it to one network, ran it, then detached it and attached it to the next. If you want to run both actions as one network, simply make a copy of the name node using the copy node, and run one output to the negative definition and one to the positive definition.
  20. Hello all, It is frustrating that a number value can't be used as the input of a rotate node, but that is because the rotate node allows you to rotate objects not only two-dimensionally, but also around the x and y axis. Thus you have to specify the axis that you are rotating around with a point3 or vector3 node. In order to create a series of rotation values, use a Point3D node from the Points category and put the angle values into the z input of the Point3D node. (A point3 or vector3 node does not allow inputs from other nodes, only typed in inputs.) Remember though that you need the same amount of objects as rotation values, otherwise it will add the rotation values together.
  21. Alan, It looks like you still need "get fill color" nodes to attach the objects to - the inputs for max mid and min need to be colors in (r,g,b) format.
  22. Hello, Here is a node that does something similar to the network that I built in the 3rd Webinar to create a range of colors, but this one adds a third color to the range. So basically it creates two ranges of colors, similar to a three color gradient.
  23. Hi JSpodick- It sounds like you are talking about showing an elevation of your light plot. If this is so I would recommend using viewports instead of Marionette. With Marionette you would either have to change the information in your lighting devices or make copies of them, and I don't think you want to do that. Do you model your light plots in 3D? If you would still like to use Marionette here are some suggestions. As far as the Objects by Criteria Node, it can only attach to objects by type, so it can attach all rectangles in the drawing to the network, or all symbols, but not simply those objects that are selected. There is no node currently that attaches to selected objects. A way to work around that is to group the objects and name the group, and then use a name node for the group and a contents node to access the objects inside the group. The other way to do that is use an Objects by Criteria node with it set to T=Symbol and then to filter out the objects by using some sort of conditional network. Any node that has a boolean output along with the filter node can be used to filter a list. Also, the orient node is a good way to change the plane of your objects.
  24. The rectangle node you are using is incorrect. Here is a fixed version that will move past the origin.

 

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