The Autodesk.Revit.DB.PolylineNode class represents a node in a polyline. PolylineNode objects are used to define the vertices of a polyline.
Gets or sets the XYZ coordinate of the PolylineNode.
Creates a PolylineNode object at the specified XYZ coordinate.
public PolylineNode(XYZ coordinate)
coordinate
: The XYZ coordinate of the PolylineNode.PolylineNode objects are used to define the vertices of a polyline. To create a polyline, create a list of PolylineNode objects and pass the list to the PolyLine constructor.
The following example creates a PolylineNode object at the point (0, 0, 0):
// Create the XYZ coordinate.
XYZ coordinate = new XYZ(0, 0, 0);
// Create the PolylineNode.
PolylineNode node = new PolylineNode(coordinate);