NX Open C++ Reference Guide
|
The Routing OffsetPath object is the set of information needed to define an offset route. More...
Public Member Functions | |
virtual void | AddSegmentsToList (const std::vector< NXOpen::Routing::ISegment * > &objs) |
Adds segment(s) to an IPath object. | |
double | BendRadius () |
Returns the bend radius for an offset object. | |
double | BendRatio () |
Returns the bend ratio for an offset object. | |
virtual NXOpen::Routing::ControlPoint * | ControlPointEnd () |
Returns the end ControlPoint for an IPath object. | |
virtual NXOpen::Routing::ControlPoint * | ControlPointStart () |
Returns the start ControlPoint for an IPath object. | |
bool | CopyCornerFlag () |
Returns the copy corner flag for an offset object. | |
virtual void | DelSegmentsFromList (const std::vector< NXOpen::Routing::ISegment * > &objs) |
Removes segment(s) from the IPath object. | |
NXOpen::Routing::IPath * | GetMasterPath () |
The master path object for this offset object. | |
std::vector < NXOpen::Routing::IPath * > | GetOffsetPaths () |
Returns the list of all of the offset paths for a master path. | |
std::vector < NXOpen::Routing::ISegment * > | GetOffsetPathSegments () |
The path segments for an offset object. | |
void | GetOffsetReferenceAxes (NXOpen::Point3d *orgin, NXOpen::Vector3d *xVector, NXOpen::Vector3d *yVector) |
The reference axes for an offset object. | |
virtual std::vector < NXOpen::Routing::ISegment * > | GetSegmentList () |
Returns the list of all of the segments contained in the IPath. | |
bool | IsMaster () |
Returns the isMaster state for this offset object. | |
bool | IsSlave () |
Returns the isSlave state for this offset object. | |
bool | MaintainStockFlag () |
Returns the use maintain stock flag for an offset object. | |
NXOpen::Vector3d | OffsetVector () |
Returns the vector for an offset object. | |
void | RemovePathAssociativityFromParent () |
Breaks the associativity of a child ( slave ) path to its parent ( master ) path. | |
void | RemovePathAssociativityToImmediateChildren () |
Breaks the associativity of a parent ( master ) path to its immediate children ( slave ) paths. | |
void | SetBendRadius (double radius) |
Sets the bend radius for an offset object. | |
void | SetBendRatio (double ratio) |
Sets the bend ratio for an offset object. | |
virtual void | SetControlPointEnd (NXOpen::Routing::ControlPoint *end) |
Sets the end ControlPoint for an IPath object. | |
virtual void | SetControlPointStart (NXOpen::Routing::ControlPoint *start) |
Sets the start ControlPoint for an IPath object. | |
void | SetCopyCornerFlag (bool copyCorner) |
Sets the copy corner flag for an offset object. | |
void | SetMaintainStockFlag (bool maintainStock) |
Sets the use maintain stock flag for an offset object. | |
void | SetMaster (bool masterState) |
Sets the isMaster state for this offset object. | |
void | SetMasterPath (NXOpen::Routing::IPath *masterPath) |
The master path object for this offset object. | |
void | SetOffsetPathSegments (const std::vector< NXOpen::Routing::ISegment * > &segments) |
The path segments for an offset object. | |
void | SetOffsetReferenceAxes (const NXOpen::Point3d &orgin, const NXOpen::Vector3d &xVector, const NXOpen::Vector3d &yVector) |
The reference axes for an offset object. | |
void | SetOffsetVector (const NXOpen::Vector3d &vector) |
Sets the vector for an offset object. | |
void | SetSlave (bool masterState) |
Sets the isSlave state for this offset object. | |
void | SetUseBendRatio (bool ratioState) |
Sets the use bend ratio flag for an offset object. | |
bool | UseBendRatio () |
Returns the use bend ratio flag for an offset object. |
The Routing OffsetPath object is the set of information needed to define an offset route.
To obtain an instance of this class use Routing::OffsetPathCollection
Created in NX4.0.0.
virtual void NXOpen::Routing::OffsetPath::AddSegmentsToList | ( | const std::vector< NXOpen::Routing::ISegment * > & | objs | ) | [virtual] |
Adds segment(s) to an IPath object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
objs | list of segments that are to be added |
Implements NXOpen::Routing::IPath.
double NXOpen::Routing::OffsetPath::BendRadius | ( | ) |
Returns the bend radius for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
double NXOpen::Routing::OffsetPath::BendRatio | ( | ) |
Returns the bend ratio for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
virtual NXOpen::Routing::ControlPoint* NXOpen::Routing::OffsetPath::ControlPointEnd | ( | ) | [virtual] |
Returns the end ControlPoint for an IPath object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Implements NXOpen::Routing::IPath.
virtual NXOpen::Routing::ControlPoint* NXOpen::Routing::OffsetPath::ControlPointStart | ( | ) | [virtual] |
Returns the start ControlPoint for an IPath object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Implements NXOpen::Routing::IPath.
Returns the copy corner flag for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
virtual void NXOpen::Routing::OffsetPath::DelSegmentsFromList | ( | const std::vector< NXOpen::Routing::ISegment * > & | objs | ) | [virtual] |
Removes segment(s) from the IPath object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
objs | list of segments that are to be deleted |
Implements NXOpen::Routing::IPath.
The master path object for this offset object.
std::vector<NXOpen::Routing::IPath *> NXOpen::Routing::OffsetPath::GetOffsetPaths | ( | ) |
Returns the list of all of the offset paths for a master path.
std::vector<NXOpen::Routing::ISegment *> NXOpen::Routing::OffsetPath::GetOffsetPathSegments | ( | ) |
The path segments for an offset object.
void NXOpen::Routing::OffsetPath::GetOffsetReferenceAxes | ( | NXOpen::Point3d * | orgin, |
NXOpen::Vector3d * | xVector, | ||
NXOpen::Vector3d * | yVector | ||
) |
The reference axes for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
orgin | origin for the offset object |
xVector | X reference axes for the offset object |
yVector | Y reference axes for the offset object |
virtual std::vector<NXOpen::Routing::ISegment *> NXOpen::Routing::OffsetPath::GetSegmentList | ( | ) | [virtual] |
Returns the list of all of the segments contained in the IPath.
Implements NXOpen::Routing::IPath.
Returns the isMaster state for this offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
bool NXOpen::Routing::OffsetPath::IsSlave | ( | ) |
Returns the isSlave state for this offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Returns the use maintain stock flag for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Returns the vector for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Breaks the associativity of a child ( slave ) path to its parent ( master ) path.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Breaks the associativity of a parent ( master ) path to its immediate children ( slave ) paths.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::OffsetPath::SetBendRadius | ( | double | radius | ) |
Sets the bend radius for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
radius | radius |
void NXOpen::Routing::OffsetPath::SetBendRatio | ( | double | ratio | ) |
Sets the bend ratio for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
ratio | ratio |
virtual void NXOpen::Routing::OffsetPath::SetControlPointEnd | ( | NXOpen::Routing::ControlPoint * | end | ) | [virtual] |
Sets the end ControlPoint for an IPath object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
end | end ControlPoint for the IPath object |
Implements NXOpen::Routing::IPath.
virtual void NXOpen::Routing::OffsetPath::SetControlPointStart | ( | NXOpen::Routing::ControlPoint * | start | ) | [virtual] |
Sets the start ControlPoint for an IPath object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
start | start ControlPoint for the IPath object |
Implements NXOpen::Routing::IPath.
void NXOpen::Routing::OffsetPath::SetCopyCornerFlag | ( | bool | copyCorner | ) |
Sets the copy corner flag for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
copyCorner | copy corner |
void NXOpen::Routing::OffsetPath::SetMaintainStockFlag | ( | bool | maintainStock | ) |
Sets the use maintain stock flag for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
maintainStock | maintain stock |
void NXOpen::Routing::OffsetPath::SetMaster | ( | bool | masterState | ) |
Sets the isMaster state for this offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
masterState | the state of the offset path object |
void NXOpen::Routing::OffsetPath::SetMasterPath | ( | NXOpen::Routing::IPath * | masterPath | ) |
The master path object for this offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
masterPath | master path for this offset object |
void NXOpen::Routing::OffsetPath::SetOffsetPathSegments | ( | const std::vector< NXOpen::Routing::ISegment * > & | segments | ) |
The path segments for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
segments | segment list for the offset object |
void NXOpen::Routing::OffsetPath::SetOffsetReferenceAxes | ( | const NXOpen::Point3d & | orgin, |
const NXOpen::Vector3d & | xVector, | ||
const NXOpen::Vector3d & | yVector | ||
) |
The reference axes for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
orgin | origin for the offset object |
xVector | X reference axes for the offset object |
yVector | Y reference axes for the offset object |
void NXOpen::Routing::OffsetPath::SetOffsetVector | ( | const NXOpen::Vector3d & | vector | ) |
Sets the vector for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
vector | vector for the offset object |
void NXOpen::Routing::OffsetPath::SetSlave | ( | bool | masterState | ) |
Sets the isSlave state for this offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
masterState | the state of the offset path object |
void NXOpen::Routing::OffsetPath::SetUseBendRatio | ( | bool | ratioState | ) |
Sets the use bend ratio flag for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
ratioState | ratio state |
Returns the use bend ratio flag for an offset object.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")