Jump to content

Marionette - Nodes

45 files

  1. Is On Poly Edge

    This node returns True if the specified point lies on the edge of the referenced polygon or polyline object and also returns the point.
    (Checks if point is on the line between two given vertices with a precision threshold in the OIP.)
     
    Created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    5 downloads

       (0 reviews)

    0 comments

    Submitted

  2. Space to Poly

    This node returns the floor surface geometry of spaces as polylines and various space parameters.
     
    Whenever you need to extract the floor surface or certain properties (without destroying the space object) to use it in a network or before using a tool like Tiles or Area Verification, this node will come in handy.
     
    Created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    10 downloads

       (0 reviews)

    0 comments

    Submitted

  3. Symbol to Group

    This node converts referenced symbol to group using the specified conversion options.
    OIP controls:
    Options
    Don't convert subobjects Convert plug-in and symbol subobjects Convert all subobjects Group (*)
    Keep group (leaves symbol contents in a group - in addition to the usual grouping by Marionette) Ungroup group (ungroups symbol content, but you get the usual grouping by Marionette)  
    (*) Information for Marionette aficionados:
    Due to the nature of the underlying VectorScript command vs.SymbolToGroup(), simply using this.SetLinksObjects() doesn't work. In order to overwrite the network output properly, the following had to be done:
    "Keep group" actually moves all group content into a new group, then deletes the old group "Ungroup group" actually recreates all group content outside the group, then deletes the old group  
    Created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    17 downloads

       (0 reviews)

    3 comments

    Submitted

  4. Delaunay Triangulation

    This node returns sets of points forming triangles from a list of vertices for any given 2D polygon.
    When running for the first time, the node will ask to install the SciPy library, which is required to use Delaunay triangulation.
     
    To learn more about Delaunay triangulation, have a look at the Wikipedia article.
     
    Created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher; Python 3.5.0 or higher.
    Requirements: SciPy (python library)
    Limitations: Holes in polys are ignored. One way to overcome this limitation is to use Get Holes in Poly.

    9 downloads

       (0 reviews)

    0 comments

    Submitted

  5. Get Vertices

    This node returns the coordinates of poly vertices as one list (per poly).
     
    Created by ComputerWorks GmbH based on Get 2D Vertex.
    Compatibility: Vectorworks 2019 and higher.

    13 downloads

       (0 reviews)

    0 comments

    Submitted

  6. not

    This node returns the inverted boolean value in order to fulfill a converse condition.
     
    Created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    13 downloads

       (0 reviews)

    0 comments

    Updated

  7. Get Symbol from Folder

    This node returns the name of a symbol chosen via selection dialog with previews of the symbols in the current document. If a folder name is given, only its content is shown.
     
    When dealing with a big number of different symbols with long and possibly names difficult to remember, just click the "Select Symbol ..." (OIP) and visually select the symbol within the dialog window.
     
    Created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    23 downloads

       (0 reviews)

    0 comments

    Submitted

  8. Get Closest Point on Geometry

    This node returns the two closest points on two given geometries.
     
    Get Closest Point on Geometry was created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    6 downloads

       (0 reviews)

    0 comments

    Updated

  9. Get Holes in Poly

    This node returns all holes and the outer poly of any given polygon as new separate geometries.
     
    Get Holes in Poly was created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    8 downloads

       (0 reviews)

    0 comments

    Updated

  10. Random X n

    Depending on the input "Random times n" returns random whole or floating-point numbers and rounds them to the number of decimals set in the OIP. Through iN you can set the number of random numbers you need.
     
    Random X n was created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    10 downloads

       (0 reviews)

    0 comments

    Updated

  11. Get Bounding Box v2

    This node will provide you with the coordinates of all four corners and the dimensions (width and height) of the bounding box.
     
    Get Bounding Box v2 is a modification by ComputerWorks GmbH based on Get Bounding Box.
    Compatibility: Vectorworks 2019 and higher.

    11 downloads

       (0 reviews)

    0 comments

    Updated

  12. Ungroup to List

    This node returns all objects from groups chunked into separate lists according to the group they were previously part of.
     
    Mind you: this node will ungroup your original groups, so make a copy of it first, if you wish to keep the groups.
     
    Ungroup to List was created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    10 downloads

       (0 reviews)

    0 comments

    Updated

  13. Get System Info

    With a single click this node provides the user some of the most commonly used operating system and Vectorworks information. There's an option to see the information as an alert additionally to getting the data via out-ports.
     
    For more experienced users this node can serve as a template for their own custom nodes and networks when system information is needed.
     
    Get System Info was created by ComputerWorks GmbH.
    Compatibility: Vectorworks 2019 and higher.

    12 downloads

       (0 reviews)

    0 comments

    Updated

  14. Polygon Survey

    A Node which creates Measure Lines in Polygons (Line from every vetex point to every other vertex point).
     
    1. p2p Lines:
      
     

     
     
     
    2. Perpentidular Lines (Perpentidular Line from every poly vertex on every poly edge):

     

     
     
    To sort out needless lines, there are several filters integrated:
    1. Double Lines automatically filtered with an epsilon (p2p is not the same as perpenticular if you look all 15 digits)
    2. Measure Lines, which are identical with poly edges
    3. Measure Lines, which are outside of the polygon
    4. Overlapping lines. If two lines are parallel and both points of the smaller lines are on the bigger line, the bigger line is filtered
     
    5. Filter Lines over and lower than min max values 
     
    6. An Option, to return a number of length (Return first x values). As example if there are measure lines with the length (1.2, 1.2, 1.25, 1.5,) and the value is 1, two lines with 1.2 will be returned. This value is holding on perpendicular and p2p lines. 
     
    Summary:
    Turn off Debug options like "Show Edge", "show Outside Poly", Filter small length (niches) and set "Return first x values" on 1 or 2 to get optimal results. So a normal result will look like this:
     

     
    Attached there are three examples. An Example with spaces, An examples just with polys and an example as PlugIn. PlugIn is good for playing with the options to see changes prompt.
     
     
     
     
     
     

    28 downloads

       (0 reviews)

    0 comments

    Updated

  15. Save-Recall-Memory

    Nodes that make it possible to transfer data without wires
    (For instance if you want to use the info that was used 100 nodes back and your wires get too long)

    11 downloads

       (0 reviews)

    5 comments

    Submitted

  16. DomC Nodes

    Attached a vwx with nodes. Some of them already shared as separate files. Also the list is not complete, not perfect and has no warranty of being up to date. Also some nodes may be outdated, obsolet or buggy.
     
    Take note:
    1. I tried to track the nodes with an addition record format
    2. Marionette Nodes are linked to a record format, this record format contains descreption and Other infos from to the node. 
    3. Also this Record contains a rating of the node (internal rating for me) like is this node hard to make, will it be useful for many users or just for one special case etc.
    4. The Record can be linked manually to a node and then the node's Data can be written by a script. Ration Infos logically has to be attached manually
    5. On the document is a worksheet with all nodes listed
    The Info below is originally from the nodes (included original misspelling etc :-)
     
    Node Names
     
    Symbol3D     ObjOnSpace     SymbolPopupSymFolder     SetWallHole     IsMember_already     SortNestedList     CreateDictsV     Sort     RotatePtRoundPt     FibonacciSphere     Wrapper     C_Tangent_to_CC     PtPerpendicularOnLine     CircCircInters     CircleLineInters     LineLineIntersec     Pt to Circle Center     2CircleCenterLine     2Circle_4Pts     Apollonius PCC CCC v1     subPoints     addPoints     PtTangToCircle     Wrapper     Wrapper     Get Z atXY     Grow Radial     is cw     Wrapper     Wrapper     Wrapper     2D Pt Shaker v01     HexCircleGrid     GetPtVectors     GetPolar180     DialogFolder     ExportPDF     ImportSU     function4     GetNextObject     PageBased_mm     VersionInfo     Button     MeshFromPoints     collectObjectOnArea     Any     SetPage     BBox Overlap     GetString     GetString     GetNumber     GetInsideChar     Print     GetMultiRecValue     GetActFile     GetNumDatabaseRow     GetSubCell     GetMultiRecField     Backward     DupInContainer     Solid Intersect List     DupOnAcLayer     DupOnAcLayer     ConvertToGroup     Reset Obj     BasicSolidReshapeScale     NumToRow     ObjByClassAndLayer     Set Class      MinItem     If_     SpaceWithObj     LocusMS     GetPointClusters     ConcaveHull     Create Viewport     Add VP Ann     VP Layer     Set Mrntt OIP Field     Get Mrntt OIP Field     Insert Symbol in Folder     CreateLayer     FilterValues     PtArrayStartEnd     ValuesToSaldo     Vector to Angle     PointRectangle     Wrapper     Eval     Eval     AttachUnit     Color     Custom Pulldown     EnhRectangle     RoundedBoard     2D_BBox_Enhanced     TypeToString     TypePopup     TypeCounter     GetRes     Get Sym Name     Name2Index     Text in Lines     TextBlockInLines     SetDimTextSize     SetTextSize     ListToLabel     TextBlockInLines     RecToTable     OpenDocFolder     GetActFile     ListDir     FileInfo os_stat     DateTime     GetActFile     DialogFolder     PlayMP3     Wrapper     Linear Array xyz     PutByRefPt     SymbolinFolder     Link Text     GetDictValue     Repeat_List     shuffle     shuffle_dup_true     looser     itemsToList     Remove Duplicate Items     UnnestL     GetFiles     Imp ini     Imp txt     Solid Boolean     GetRNames     Concat     MergeList     Flatten List S     LinearDimLight     Change Sheet Title     Get Sheet Title     Get Layer Name     Get SheetL Size     Get Sheet Page N     Manipulate File UTF     Custom Pulldown    
     
    Node Descriptions
    Descreption Insert a Symbol     Returns a List of Objects for every Space     Creates a popup of all Symbols in a Folder. You have to edit Script to change Folder     Set the input Geometry as a Wall hole of an object     Returns isM, if the corresponding object is already in the list Example list1 = [5,10,3,5] list2 = [a,b,c,d] notM = [a,b,c] isM = [d]     Sorts the elements in a list     Creates a Dictionary from an input key and a input value     Sorts the elements in a list     Rotate a Point around the center point     This node creates points on a sphere surface     Draws a parallel line through a specific point     Finds the intersection of two circles     returns the section point from a point perpendicular on a line     Finds the intersection of two circles     Finds the intersection of a circle and a Line     Returns true if two infinite lines intersect, and if so, provides a point where they intersect. The intersection point can be outside of the line segments     Finds the two infinite intersections of a line from center to a point     Resurns the intersection of the Line trough the middle of the Circles     Calculates Two Circles. The First one passes pt0 and pt1 and the pt2,pt2_alt which has the lowes distance to pt3. The second circle pass the remaining point      Returns the tangential Circles which touch the 3 input circles     Subtract two Points: c = a - b     Add two Points: c = a - b     Finds the two tangent points from a point to a circle               Returns the Z elevation of a point X,Y on the specified object     Grow a radius Value of input Points, till they touch others or with a min offset     quecks, if point is part of a cw or ccw direction, needs minimum 3 pts 
     input 2D or 3D Points                    Deletes Randomly Values of Input List. If density is 100 nothing will be deleted     A Hexagonal Circle Stacking lattice     Get 2D and 3D Angles of Points related to one center point     Return the angle and distance to (0,0)     Open a Dialog Box to Choose a Folder     Set Origin and height, width of the page     File Names or Folder Names of the input Directory     Enter your Formula in Input Field     Put This in a Wrapper with another Object. This node Returns the next Object (Stacking Ordner) after this node     A Real value defined in the OIP in document units          An example of how to use the Button widget. When the button is pressed, it will run the script contained in the specified definition.     Draws mesh or output polys from a regular rectangular horizontal grid of points     collects objects, which middle point is on a circle, poly or recangle     Create any value using the python eval function     Set Origin and height, width of the page      Checks on ever obj1 input, if one or more object from input obj2 overlap bounding box      Returns the string between two characters Returns new, string position and length.                    Prints the incoming items into a text object or the python console. The option                           'Run scripts in developer Mode' must be enabled in Vector Works to see the console output.     Returns the Data from a Record field. If the Object input is a list values are concat.     Path of the Actual Document     Gets number of Databese Rows and columns in the referenced Worksheet     Gets the numeric or String value of the referenced cell subrow     Returns the Data from a Record field. If the Object input is a list values are concat.     send to Back     Duplicates Objects in a Container or active Layer     This node performs a boolean operation between lists of objects. The operation will be performed for each possible combination of objects in the lists supplied.     Adds an object to the current layer     Adds an object to the current layer     Convert Symbol or PIO to group     Update the specified object using the current settings and parameter values.     This node will Intersect a Solid in 3 Parts. Cap1, Cap2 and Space. Scale middle (space) or scale caps     Converts as Example 1 to A and 56 to BD.     Creates a Criteria by class and Layer     Assigns a class to the referenced object     Returns the smallest item in the list     If test is true, pass the value to true output otherwise to false output     Returns all Spaces which overlap or touch the bounding box of the objs input     Creates a 2D or a 3D locus object     Detects Clusters of Points     Finds the convex hull of points     Creates a Viewport     Add an Annotation to the Viewport     Add an Annotation to the Viewport     Sets the value of a OIP Field, It uses a search and replace function for the field Name. If you have more fealds with similar names which match the search name it returns error code. Use Reset node after all changes of the PIOs     Get a value from an Marionette Wrapper or PIO     Move Symbol in a Symbol Folder. If no symbol name is inputted or the Symbol do not exist, this node just creates the folder     Creates a Design or a Sheet Layer (OIP Pupup to change layer type)     Extract Values within a specific range     Creates Pt array between two points     [1,2,3,4,5,6] goes to [1,3,6,10,15,21     Converts a 2D or 3D vector to an angle in degrees     Output 4 corner points of a rectangle          Enter your Formula in Input Field     Enter your Formula in Input Field     change input values to right document units     gets the Fill Back color of the node and returns it     A Dialog with 3 Popups     Creates a rectangle with the provided specifications, supports point of reference     3D Quader mit Verrundeten Kanten oder Einfache geometrie     Returns the bounding box's coordinates of the projection of an object on the screen plane               "Type Counter" collects Objects from an input criteria. It count, how many objects from which type there in this criteria.     List of document resources from a specific type     Returns the name of the referenced Symbol. Returns "none" if the object has no name assigned.     Converts as example a name from a dimension standard or a text style to an index number     Creates Text Line by Line, from an Input List     Creates Text Line by Line, from an Input List          Sets the Text Size of a Text Obj     Get Input RowNames and Lines and Attach them to the input text blocks, which have the same name like the row name. Group text objects, which are no fields     Creates Text Line by Line, from an Input List     Returns the value of a data record field.     Open the input Folder in Finder or Windows Explorer. Combine with GetActFile Node to have parent folder of active Document     Path of the Actual Document     File Names or Folder Names of the input Directory     Returns the Value from the Python os stat function     OutputActualDateTime     Path of the Actual Document     Open a Dialog Box to Choose a Folder               Creates a duplicate array of objects in x y or z direction     Moves a Refered Point from a 2D,3D Object to a specified 3D Point 
     for planar obj works in 2D view     Creates a List of all Symbols in a Folder     Link a Text Field in a Symbol to a Record Field     Returns the value of the input dict key     Repeats the complete input n Times     Randomize the input list     Randomize the input list     Deletes Randomly Values of Input List. If density is 100 nothing will be deleted     Input [0]value1,[1]value2 ... output [value1,value2 ....]     Removes the duplicate items from the input list.     Separates a list into its constituent items     File Names or Folder Names of the input Directory     Import an ini file with sections, keys and values     Import a Tab or character separated Text-File     This node performs a boolean operation between lists of objects. The operation will be performed for each possible combination of objects in the lists supplied.     Returns the Record Names attached to the Input Object     Enter your Formula in Input Field     Adds an List to the end of a list     Flattens a list, or list of lists     Creates a linear dimension with standard specifications     Changes the Description value of a Sheet Layer     Returns the name of the referenced layer     Returns the name of the referenced layer     Returns the width and height of the sheet layer     Returns the Number of pages     Open a file at the specified path     A Dialog with 3 Popups    
     

    129 downloads

       (2 reviews)

    1 comment

    Submitted

  17. Automated Layout

    Hi
    This Examples shows, how to automatically create sheet layers and viewports from objects of the design layers. In this example, a sheet layer will be created for every exhibition place available on the design layer. It creates a 1:20 close-up from the specific exhibitor's place and an overview plan with a marker of the exhibitors place.
     
    This Network-Template could be used whenever you want to create automatically documentations out of your drawing. As Example:
    - Put a Viewport of every Space Object in your drawing on SheetLayers
    - Put Viewports from Building Elements close-ups (Windows, Doors etc.) on sheet layers
     
    Also this Network contains some very powerful custom nodes:
    1. Enhances BBox, Enhanced Rectangle, PutByRefPoint those are just to save time for calculating width, length and ref point of objects
    2. Function Two (like standard function node with two inputs), SetParent
    (1. and 2. Already available on this forum)
     
    3. CreateLayer
    4. CreateViewport
    5. VP Layer Visibility
    6. Add VP Ann (Annotations in Viewport) 
     
    7. Nodes for getting Marionette OIP Data which is not possible with "Get Record Field"
     
     
     

    74 downloads

       (0 reviews)

    15 comments

    Updated

  18. Rectangle Line Pattern

    A Rectangle Line Pattern with a random option.
     
    Also the files show, hot how to project on a NURBS Surface. This 3D Projection contains two additional custom nodes.
     
    1. GetZatXY (Also used in many other examples on the community board)
    2. GetZamong Pt. Not so easy to understand. This nodes calculates the z value of a 2D Point between two 3D Points without trigonometry (faster). 
     
    Movie Link (2nd Part of Movie)
    https://youtu.be/GcFwW-k5Lms?list=PL8s_WkTvFQ2YdFlMfU7Teuh5QrmsO03gW
     

    26 downloads

       (0 reviews)

    0 comments

    Updated

  19. Number to Row Name

    If you need Worksheet-like Numbering like A, B, C .... AA, AB ..... AAA .... This node offers you an easy solution.
    There are two nodes for both directions.
     
    Limitations:
    1. Input from special characters etc. will result in wrong values or errors. 
     

    10 downloads

       (0 reviews)

    0 comments

    Submitted

  20. Name2Index

    Some Ressource Types (such as dimension standard or text styles) are handled by an index number. This node helps to find the index of those resources.

    14 downloads

       (0 reviews)

    0 comments

    Submitted

  21. Point Rectangle

    This node creates optional a rectangle and returns the corner points of that rectangle.
    Often there is a need of a rectangle and the corner points. If the rectangle is rotated, it can be a cramp to calculate the corner points. I hope this node can help to simplify marionette workflows.

    18 downloads

       (0 reviews)

    0 comments

    Submitted

  22. Create Design or Sheet Layer

    This Node creates a new layer and keep the active layer the active one. 
    It has a popup witch allows to choose sheet or design layer. It returns a  handle to the new layer or a handle to an existing layer with the same name.
     
    Like ever .. with not warranty try first in an empty file and be careful creating thousands of layers or layers with the same name as other objects in the drawing. 

    12 downloads

       (0 reviews)

    0 comments

    Submitted

  23. Move Symbol in Folder or create Folder

    Insert Symbol in Folder Node:
     
    1. Move the Symbol with the input name in the folder with the input folder name
    2. If folder do not exists it will be created. If no symbol name is inputted, the folder created also
    3. If the folder name is taken by another object, the folder will not be created

    14 downloads

       (0 reviews)

    0 comments

    Updated

  24. Enhanced Rectangle

    What is the distance of the middle top point to the insertion Point (left bottom), if your rectangle has 175.5° degrees? Not so easy calculate the move vector or the rotation for that. This node can help you to use your time for other challenges. You can place your rectangles with every standard reference Point in any angle in degrees.
     

    10 downloads

       (0 reviews)

    0 comments

    Submitted

  25. Get and Set Marionette OIP Parameter

    With this two nodes, we are able to set or get the parameter of an Marionette PIO or wrapper.
    Can be used to access the values in the OIP by script or another Marionette.
    The Screenshot shows an example in which every of those pillar is an own marionette PIO (Script as symbol to instance the PIO). 
     
    Note:
    It is not possible to write the parameters via Worksheet. Also it is not possible to read Marionette Object parameters directly into a worksheet. To read Marionette object parameters in a worksheet I recommend to write data into a record format and list those values in a worksheet.
     
     
     

    33 downloads

       (0 reviews)

    0 comments

    Updated

 

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.

×