Modifier and Type | Interface and Description |
---|---|
static class |
SegmentManager.SubdivideOption
Contains subdivide segment method information.
|
static class |
SegmentManager.SubdivideSpacing
Specifies spacing option for subdivide segment.
|
Modifier and Type | Method and Description |
---|---|
ArcSegmentCollection |
arcSegments()
Arc Segment collection .
|
ISegment |
createConstrainedSegment(ControlPoint startRcp,
ControlPoint endRcp)
Creates a constrained line
ISegment object
with input ControlPoint as ends. |
HealPath |
createHealPath()
Creates a new empty
HealPath object that can be
used as an input to createHealSpline(nxopen.DisplayableObject, nxopen.DisplayableObject, nxopen.routing.HealPath) . |
ISegment |
createHealSpline(DisplayableObject startObject,
DisplayableObject endObject,
HealPath healPath)
Creates a spline
ISegment object
with input ControlPoint as ends. |
ISegment |
createSegment(ControlPoint startRcp,
ControlPoint endRcp)
Creates a line
ISegment object with input
ControlPoint as ends. |
ISegment |
createSegment(Curve followCurve,
ControlPoint startRcp,
ControlPoint endRcp,
UserDefined userDefined)
Creates a
ISegment object following a curve. |
LineSegmentCollection |
lineSegments()
Line Segment collection .
|
void |
modelTerminals(Port multiPort,
double cutBackLength,
String extensionString,
boolean overrideCharx,
Port[] terminalPorts)
Models spline paths to to specified terminals.
|
void |
processBuiltInPaths(Component partOcc)
Create segments of
BuiltInPath objects present in this
Component object. |
ISegmentCollection |
segments()
All Segment types collection .
|
ISegment |
setFollowCurve(ISegment segment,
Curve followCurve)
Set segment follow curve.
|
ISegment[] |
simplifySegments(ISegment[] segments,
boolean doUpdate)
Combine segments that are collinear and whose intermediate RCPs do not branch
License requirements: routing_base ("Routing Basic") . |
SplineSegmentCollection |
splineSegments()
Spline Segment collection .
|
ISegment[] |
subdivide(ISegment segment,
SegmentManager.SubdivideOption subdivideOption)
Subdivide a routing path segment
License requirements: routing_base ("Routing Basic") . |
void |
unmodelTerminals(Port multiPort,
Port[] terminalPorts)
Un-model terminals and update connection list routes for specified terminal ports.
|
ISegmentCollection segments() throws RemoteException
RemoteException
LineSegmentCollection lineSegments() throws RemoteException
RemoteException
ArcSegmentCollection arcSegments() throws RemoteException
RemoteException
SplineSegmentCollection splineSegments() throws RemoteException
RemoteException
ISegment createSegment(Curve followCurve, ControlPoint startRcp, ControlPoint endRcp, UserDefined userDefined) throws NXException, RemoteException
ISegment
object following a curve.
followCurve
- Curve to followstartRcp
- Start ControlPoint
of the segmentendRcp
- End ControlPoint
of the segmentuserDefined
- Is segment user defined?NXException
RemoteException
ISegment createSegment(ControlPoint startRcp, ControlPoint endRcp) throws NXException, RemoteException
ISegment
object with input
ControlPoint
as ends.
startRcp
- Start ControlPoint
of the segmentendRcp
- End ControlPoint
of the segmentNXException
RemoteException
ISegment setFollowCurve(ISegment segment, Curve followCurve) throws NXException, RemoteException
segment
- Segment to set follow curve onfollowCurve
- Follow curve of segmentNXException
RemoteException
ISegment[] simplifySegments(ISegment[] segments, boolean doUpdate) throws NXException, RemoteException
segments
- segments to combinedoUpdate
- Fires update if TrueNXException
RemoteException
ISegment[] subdivide(ISegment segment, SegmentManager.SubdivideOption subdivideOption) throws NXException, RemoteException
segment
- Segment to subdividesubdivideOption
- NXException
RemoteException
ISegment createConstrainedSegment(ControlPoint startRcp, ControlPoint endRcp) throws NXException, RemoteException
ISegment
object
with input ControlPoint
as ends.
Only use this method when building segments in a part that
use Constraint
objects to constraint components
and geometry. This is a new method for creating segments in NX5 and
should be used instead of createSegment(nxopen.Curve, nxopen.routing.ControlPoint, nxopen.routing.ControlPoint, nxopen.routing.UserDefined)
for all line segments.
startRcp
- Start ControlPoint
of the segmentendRcp
- End ControlPoint
of the segmentNXException
RemoteException
ISegment createHealSpline(DisplayableObject startObject, DisplayableObject endObject, HealPath healPath) throws NXException, RemoteException
ISegment
object
with input ControlPoint
as ends.
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
- NXException
RemoteException
HealPath createHealPath() throws NXException, RemoteException
HealPath
object that can be
used as an input to createHealSpline(nxopen.DisplayableObject, nxopen.DisplayableObject, nxopen.routing.HealPath)
.
NXException
RemoteException
void modelTerminals(Port multiPort, double cutBackLength, String extensionString, boolean overrideCharx, Port[] terminalPorts) throws NXException, RemoteException
multiPort
- MultiPort whose terminals are modeledcutBackLength
- 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 extensionsterminalPorts
- Terminal ports from which terminals are modeledNXException
RemoteException
void unmodelTerminals(Port multiPort, Port[] terminalPorts) throws NXException, RemoteException
multiPort
- MultiPort whose terminals being un-modeledterminalPorts
- Terminal ports being modeledNXException
RemoteException
void processBuiltInPaths(Component partOcc) throws NXException, RemoteException
BuiltInPath
objects present in this
Component
object.
partOcc
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.