Jump to content

sbarrett

Vectorworks, Inc Employee
  • Content Count

    249
  • Joined

  • Last visited

Everything posted by sbarrett

  1. sbarrett

    Get Wall Style

    Alan this looks awesome!
  2. sbarrett

    Get Wall Style

    Alan this looks awesome!
  3. 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.
  4. 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])
  5. 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
  6. 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
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. Patrick this is awesome! I am very excited about this!
  12. 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.
  13. 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
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. 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.
  20. The rectangle node you are using is incorrect. Here is a fixed version that will move past the origin.
  21. Hey Rick, I am not sure what you mean by "Object Parameters," but the inputs for the Get Record Field and Set Record Field all take strings and their output values are also strings. So if you want to create a new record field or value, you have to type that value into a String node (from the Input category) and use a string node. If you want to transfer a value you use the output from Get Record field to the input of Set Record Field. The script provided tells you the names of the fields so you can type those names into string nodes. I hope that helps.
  22. Ah, that file was not included - here it is.
  23. Hey Alan- so the reason I use a negative node is to invert the values - if you take them out you notice that the colors switch their order - It was a way to make the "max" color match the "max" value. They are not truly necessary - there are other ways to make this work. (I had to double check this because when I work on definitions for a while - things can get redundant because I find different ways to solve problems as I work, but I believe it is true.)
  24. sbarrett

    Debug

    Hey Rick - when running debug mode, if a wire is not selectable, it is usually because there is an error further up in the definition, it depends on the type of error in the definition so this is not always true, but if you can debug some of the wires in the definition but not all, that is usually the case.

 

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