GH_WireTopologyDiagram

List<1>
Represents any number of topological wires.

Methods

Add

#
public void Add(GH_WireTopology wire, bool filter_duplicates)
Add a new wire is it isn't part of the diagram already.
wire (GH_WireTopology)Wire to add, cannot be null.
filter_duplicates (bool)If true, and the wire is a duplicate of aother wire already in the diagram, the wire is not added.

AppendDiagram

#
public void AppendDiagram(GH_Document doc)
Create a wire topology diagram which describes the entire document.
doc (GH_Document)Document to parse

AppendDiagram

#
public void AppendDiagram(IEnumerable<IGH_DocumentObject> objs)
Create a wire topology diagram which describes a set of objects.
objs (IEnumerable<IGH_DocumentObject>)Document to parse

AppendDiagram

#
public void AppendDiagram(IGH_DocumentObject obj)
Create a wire topology diagram which describes a single object.
obj (IGH_DocumentObject)Document to parse

DestroyConnections

#
public void DestroyConnections(GH_Document doc, bool throw_exceptions)
Destroys the topological connector wire if it exists.
doc (GH_Document)Document which contains the source and parameter indices.
throw_exceptions (bool)

EnsureConnections

#
public void EnsureConnections(GH_Document doc, bool throw_exceptions)
Creates the topological connector wire if it doesn't already exist.
doc (GH_Document)Document which contains the source and parameter indices.
throw_exceptions (bool)

Read

#
public bool Read(GH_IReader reader)
reader (GH_IReader)
Read

Write

#
public bool Write(GH_IWriter writer)
writer (GH_IWriter)
Write