NXOpen .NET Reference
12.0.0
|
Contains the type of the routing part as well as the Collection objects for creating/iterating over routing objects. More...
Classes | |
struct | SubdivideOption |
Contains subdivide segment method information. More... | |
Public Types | |
enum | SubdivideSpacing { ScreenPoint, EqualArcLength, EqualParameter, IncrementalArcLength, GeometricRatio, ChordalTolerance, NumberOfOptions } |
Specifies spacing option for subdivide segment. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
NXOpen.Routing.ISegmentCollection | Segments [get] |
All Segment types collection More... | |
NXOpen.Routing.LineSegmentCollection | LineSegments [get] |
Line Segment collection More... | |
NXOpen.Routing.ArcSegmentCollection | ArcSegments [get] |
Arc Segment collection More... | |
NXOpen.Routing.SplineSegmentCollection | SplineSegments [get] |
Spline Segment collection More... | |
Contains the type of the routing part as well as the Collection objects for creating/iterating over routing objects.
To obtain an instance of this class, refer to NXOpen.Part
Created in NX4.0.0
Specifies spacing option for subdivide segment.
unsafe NXOpen.Routing.ISegment NXOpen.Routing.SegmentManager.CreateConstrainedSegment | ( | NXOpen.Routing.ControlPoint | startRcp, |
NXOpen.Routing.ControlPoint | endRcp | ||
) |
Creates a constrained line NXOpen.Routing.ISegment object with input NXOpen.Routing.ControlPoint as ends.
Only use this method when building segments in a part that use NXOpen.Positioning.Constraint objects to constraint components and geometry. This is a new method for creating segments in NX5 and should be used instead of NXOpen.Routing.SegmentManager.CreateSegment for all line segments.
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
startRcp | Start NXOpen.Routing.ControlPoint of the segment |
endRcp | End NXOpen.Routing.ControlPoint of the segment |
unsafe NXOpen.Routing.HealPath NXOpen.Routing.SegmentManager.CreateHealPath | ( | ) |
Creates a new empty NXOpen.Routing.HealPath object that can be used as an input to NXOpen.Routing.SegmentManager.CreateHealSpline .
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
unsafe NXOpen.Routing.ISegment NXOpen.Routing.SegmentManager.CreateHealSpline | ( | NXOpen.DisplayableObject | startObject, |
NXOpen.DisplayableObject | endObject, | ||
NXOpen.Routing.HealPath | healPath | ||
) |
Creates a spline NXOpen.Routing.ISegment object with input NXOpen.Routing.ControlPoint as ends.
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
startObject | Start NXOpen.DisplayableObject of the segment, ideally it should be NXOpen.Routing.Port |
endObject | End NXOpen.DisplayableObject of the segment, ideally it should be NXOpen.Routing.Port |
healPath |
unsafe NXOpen.Routing.ISegment NXOpen.Routing.SegmentManager.CreateSegment | ( | NXOpen.Curve | followCurve, |
NXOpen.Routing.ControlPoint | startRcp, | ||
NXOpen.Routing.ControlPoint | endRcp, | ||
NXOpen.Routing.UserDefined | userDefined | ||
) |
Creates a NXOpen.Routing.ISegment object following a curve.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
followCurve | Curve to follow |
startRcp | Start NXOpen.Routing.ControlPoint of the segment |
endRcp | End NXOpen.Routing.ControlPoint of the segment |
userDefined | Is segment user defined? |
unsafe NXOpen.Routing.ISegment NXOpen.Routing.SegmentManager.CreateSegment | ( | NXOpen.Routing.ControlPoint | startRcp, |
NXOpen.Routing.ControlPoint | endRcp | ||
) |
Creates a line NXOpen.Routing.ISegment object with input NXOpen.Routing.ControlPoint as ends.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
startRcp | Start NXOpen.Routing.ControlPoint of the segment |
endRcp | End NXOpen.Routing.ControlPoint of the segment |
unsafe NXOpen.Routing.ISegment [] NXOpen.Routing.SegmentManager.GetShortestPathBetweenControlPoints | ( | NXOpen.Routing.ControlPoint | controlPoint1, |
NXOpen.Routing.ControlPoint | controlPoint2 | ||
) |
Returns the shortest connected segments (i.
e. the path) linking the two NXOpen.Routing.ControlPoint s, if any.
Created in NX11.0.1
License requirements: routing_base ("Routing Basic")
controlPoint1 | |
controlPoint2 |
unsafe void NXOpen.Routing.SegmentManager.ModelTerminals | ( | NXOpen.Routing.Port | multiPort, |
double | cutBackLength, | ||
string | extensionString, | ||
bool | overrideCharx, | ||
NXOpen.Routing.Port[] | terminalPorts | ||
) |
Models spline paths to to specified terminals.
Updates connection list to reflect changes to wire lengths of referencing connections.
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
multiPort | MultiPort whose terminals are modeled |
cutBackLength | Length of cut back path connected to multiport. |
extensionString | Length of terminal segments which extends parallel to terminal ports |
overrideCharx | if TRUE: extension_string determines all terminal extensions |
terminalPorts | Terminal ports from which terminals are modeled |
unsafe void NXOpen.Routing.SegmentManager.ProcessBuiltInPaths | ( | NXOpen.Assemblies.Component | partOcc | ) |
Create segments of NXOpen.Routing.BuiltInPath objects present in this NXOpen.Assemblies.Component object.
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
partOcc |
unsafe NXOpen.Routing.ISegment NXOpen.Routing.SegmentManager.SetFollowCurve | ( | NXOpen.Routing.ISegment | segment, |
NXOpen.Curve | followCurve | ||
) |
Set segment follow curve.
Segment can change type to mirror the type of the follow curve being set.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
segment | Segment to set follow curve on |
followCurve | Follow curve of segment |
unsafe void NXOpen.Routing.SegmentManager.SimplifySegments | ( | NXOpen.Routing.ISegment[] | segments, |
bool | doUpdate, | ||
out NXOpen.Routing.ISegment[] | newSegments | ||
) |
Combine segments that are collinear and whose intermediate RCPs do not branch
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
segments | segments to combine |
doUpdate | Fires update if True |
newSegments | resulting segments |
unsafe void NXOpen.Routing.SegmentManager.Subdivide | ( | NXOpen.Routing.ISegment | segment, |
NXOpen.Routing.SegmentManager.SubdivideOption | subdivideOption, | ||
out NXOpen.Routing.ISegment[] | subdivideSegments | ||
) |
Subdivide a routing path segment
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
segment | Segment to subdivide |
subdivideOption | |
subdivideSegments | resulting segments |
unsafe void NXOpen.Routing.SegmentManager.UnmodelTerminals | ( | NXOpen.Routing.Port | multiPort, |
NXOpen.Routing.Port[] | terminalPorts | ||
) |
Un-model terminals and update connection list routes for specified terminal ports.
Created in NX5.0.0
License requirements: routing_base ("Routing Basic")
multiPort | MultiPort whose terminals being un-modeled |
terminalPorts | Terminal ports being modeled |
|
get |
Arc Segment collection
Created in NX3.0.0
|
get |
Line Segment collection
Created in NX3.0.0
|
get |
All Segment types collection
Created in NX7.5.1
|
get |
Spline Segment collection
Created in NX3.0.0
|
get |
Returns the tag of this object.