public interface LinearPathBuilder extends Builder
setControlPointDefiningPoint(nxopen.routing.ControlPoint, nxopen.Point)
),
or some other object
(setControlPointDefiningObject(nxopen.routing.ControlPoint, nxopen.Point3d, nxopen.NXObject)
).
RouteManager.createLinearPathBuilder()
Property | Value |
---|---|
ElbowSnapSettings.AngleTolerance | 5.0 |
ElbowSnapSettings.SnapToElbowAngles | True |
LinearPathSettings.LockToSelectedObject | True |
Modifier and Type | Method and Description |
---|---|
ControlPoint |
addPreviewControlPoint(Point3d location)
Add a new control point to the path.
|
ElbowSnapSettings |
elbowSnapSettings()
Returns the elbow snapping settings for determining location of control points
as the user drags their mouse.
|
ControlPoint |
getLastControlPoint()
Returns the last control point in the path.
|
ISegment |
getParentSegmentOfEccentricSegment()
Parent segment
License requirements: routing_base ("Routing Basic") . |
LinearPathSettings |
linearPathSettings()
Returns the settings that determine what constraints to apply to the new path.
|
PathStockBuilder |
pathStockBuilder()
Returns the builder for assigning stock to the new path.
|
void |
removeLastNonPreviewControlPoint()
Removes the last fully-defined control point in the path.
|
void |
setControlPointDefiningObject(ControlPoint previewRcp,
Point3d position,
NXObject object)
Fully defines a preview control point.
|
void |
setControlPointDefiningPoint(ControlPoint previewRcp,
Point point)
Fully defines a preview control point using the given point.
|
void |
setElbowSnapSettings(ElbowSnapSettings snapSettings)
Sets the elbow snapping settings for determining location of control points
as the user drags their mouse.
|
void |
setIsEccentricModeSelected(boolean isEccentricModeSelected)
Set the boolean value specifies that Eccentric mode selected or not
License requirements: routing_base ("Routing Basic") . |
void |
setIsNewControlPointRequired(boolean isNewControlPointRequired)
Set the boolean value specifies that new control point required or not
License requirements: routing_base ("Routing Basic") . |
void |
setLinearPathSettings(LinearPathSettings settingsBuilder)
Sets the settings that determine what constraints to apply to the new path.
|
void |
setParentSegmentOfEccentricSegment(ISegment parentSegment)
License requirements: routing_base ("Routing Basic") . |
void |
setPathStockBuilder(PathStockBuilder stockBuilder)
Sets the builder for assigning stock to the new path.
|
void |
settingChanged()
Notifies the builder that some routing preferences have changed, and that the
builder (and it's associated builders) must update their values to refelect those
changes.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
ElbowSnapSettings elbowSnapSettings() throws NXException, RemoteException
NXException
RemoteException
void setElbowSnapSettings(ElbowSnapSettings snapSettings) throws NXException, RemoteException
snapSettings
- NXException
RemoteException
PathStockBuilder pathStockBuilder() throws NXException, RemoteException
NXException
RemoteException
void setPathStockBuilder(PathStockBuilder stockBuilder) throws NXException, RemoteException
stockBuilder
- NXException
RemoteException
LinearPathSettings linearPathSettings() throws NXException, RemoteException
NXException
RemoteException
void setLinearPathSettings(LinearPathSettings settingsBuilder) throws NXException, RemoteException
settingsBuilder
- NXException
RemoteException
ControlPoint addPreviewControlPoint(Point3d location) throws NXException, RemoteException
location
- NXException
RemoteException
void setControlPointDefiningPoint(ControlPoint previewRcp, Point point) throws NXException, RemoteException
previewRcp
- Must be a control point
created by
addPreviewControlPoint(nxopen.Point3d)
point
- null not allowed.NXException
RemoteException
void setControlPointDefiningObject(ControlPoint previewRcp, Point3d position, NXObject object) throws NXException, RemoteException
previewRcp
- Must be a control point
created by
addPreviewControlPoint(nxopen.Point3d)
position
- object
- null allowed.NXException
RemoteException
void removeLastNonPreviewControlPoint() throws NXException, RemoteException
NXException
RemoteException
void settingChanged() throws NXException, RemoteException
NXException
RemoteException
ControlPoint getLastControlPoint() throws NXException, RemoteException
NXException
RemoteException
void setIsNewControlPointRequired(boolean isNewControlPointRequired) throws NXException, RemoteException
isNewControlPointRequired
- NXException
RemoteException
void setIsEccentricModeSelected(boolean isEccentricModeSelected) throws NXException, RemoteException
isEccentricModeSelected
- NXException
RemoteException
ISegment getParentSegmentOfEccentricSegment() throws NXException, RemoteException
NXException
RemoteException
void setParentSegmentOfEccentricSegment(ISegment parentSegment) throws NXException, RemoteException
parentSegment
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.