NX Open C++ Reference Guide
|
The RoutingPath object stores a set of path preferences. More...
The RoutingPath object stores a set of path preferences.
To obtain an instance of this class, refer to Preferences::RoutingApplicationView
Created in NX4.0.0.
Describes the types of corners allowed in a routing application.
Path curve chaining methods.
Display a certain routing object?
std::vector<NXOpen::Preferences::RoutingPath::AllowedCornerType> NXOpen::Preferences::RoutingPath::GetAllowedCorners | ( | ) |
Query the types of corners allowed in an application view.
std::vector<NXOpen::Preferences::RoutingPath::CurveType> NXOpen::Preferences::RoutingPath::GetAllowedCurves | ( | ) |
Query the types of curves allowed in an application view.
Needs a work part and a loaded applicaiton view.
Radius units are converted to work part units automatically. Returns -1 and quits if input requirements are not met.
NXOpen::Preferences::RoutingPath::RadiusMethod NXOpen::Preferences::RoutingPath::GetBendRadiusMethod | ( | ) |
Query wether the default corner should use bend ratio.
NXOpen::Preferences::RoutingPath::RadiusUnits NXOpen::Preferences::RoutingPath::GetBendRadiusUnits | ( | ) |
Query bend radius units stored in path preferences.
Query default bend ratio.
Used when default corner uses bend ratio method
Query default bend table.
Used when default corner uses bend table method
std::vector<NXString> NXOpen::Preferences::RoutingPath::GetBendTableFilenames | ( | ) |
Query loaded bend table filenames.
A bend table file can contain one or more named bend tables. Loading a bend table file loads all its constituent tables into memory.
double NXOpen::Preferences::RoutingPath::GetBendTableRadius | ( | const NXString & | bendTableName, |
double | diameter | ||
) |
Query bend radius from a loaded bend table.
Returns a radius of -1 if input table is not loaded
bendTableName | NOTE: The full Unicode character set is not supported for this parameter. |
diameter | diameter |
std::vector<NXString> NXOpen::Preferences::RoutingPath::GetBendTables | ( | ) |
Query loaded bend table names.
A bend table maps a stock outer diameter to a radius appropriate for a certain bending machine
std::vector<NXOpen::Preferences::RoutingPath::CurveType> NXOpen::Preferences::RoutingPath::GetChainableCurveTypes | ( | ) |
Query all the types of chainable curve types.
NXOpen::Preferences::RoutingPath::ConfirmBranchSel NXOpen::Preferences::RoutingPath::GetConfirmBranchSelection | ( | ) |
Confirm branch selection during Path selection?
NXOpen::Preferences::RoutingPath::ContinueUpdOnError NXOpen::Preferences::RoutingPath::GetContinueUpdateOnError | ( | ) |
Query default down direction for fixed length splines.
NXOpen::Preferences::RoutingPath::AddPointsToSpline NXOpen::Preferences::RoutingPath::GetCreateNewPointsOnSubdivide | ( | ) |
Add points to subdivided splines to maintain shape?
NXOpen::Preferences::RoutingPath::CreateSlopeConstraints NXOpen::Preferences::RoutingPath::GetCreateSlopeConstraints | ( | ) |
Create slope constraints during line path creation to and from fitting ports?
NXOpen::Preferences::RoutingPath::CreateSmartRcps NXOpen::Preferences::RoutingPath::GetCreateSmartRcps | ( | ) |
Create smart RCPs during path creation?
NXOpen::Preferences::RoutingPath::CreateTangency NXOpen::Preferences::RoutingPath::GetCreateSplineTangency | ( | ) |
Create tangency between splines?
NXOpen::Preferences::RoutingPath::ChainMethod NXOpen::Preferences::RoutingPath::GetCurveChainingMethod | ( | ) |
Query path curve chaining method.
NXOpen::Preferences::RoutingPath::DefaultCornerType NXOpen::Preferences::RoutingPath::GetDefaultCorner | ( | ) |
Query the default corner type in an application view.
NXOpen::Preferences::RoutingPath::DisplayObject NXOpen::Preferences::RoutingPath::GetDisplayAnchors | ( | ) |
Display anchors?
NXOpen::Preferences::RoutingPath::DisplayObject NXOpen::Preferences::RoutingPath::GetDisplayConnectedPorts | ( | ) |
Display connected ports?
Displayed port length.
NXOpen::Preferences::RoutingPath::DisplayObject NXOpen::Preferences::RoutingPath::GetDisplayPorts | ( | ) |
Display ports?
NXOpen::Preferences::RoutingPath::DisplayObject NXOpen::Preferences::RoutingPath::GetDisplayRcps | ( | ) |
Display RCPs?
NXOpen::Preferences::RoutingPath::DisplayObject NXOpen::Preferences::RoutingPath::GetDisplaySegmentConstraints | ( | ) |
Display segment constraints?
NXOpen::Preferences::RoutingPath::CurveType NXOpen::Preferences::RoutingPath::GetHealPathCurveType | ( | ) |
Heal Path curve type.
NXOpen::Preferences::RoutingPath::MergeDupRcps NXOpen::Preferences::RoutingPath::GetMergeDuplicateRcps | ( | ) |
Merge duplicate RCPs after a Transform [Move or Copy] operation?
NXOpen::Preferences::RoutingPath::OccChainable NXOpen::Preferences::RoutingPath::GetOccurrenceChainable | ( | ) |
Query if curve occurrences [curves not in the work part] are chainable.
NXString NXOpen::Preferences::RoutingPath::LoadBendTableFile | ( | const NXString & | bendTableFilename | ) |
Load a specified bend table file.
bendTableFilename | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Preferences::RoutingPath::SetAllowedCorners | ( | const std::vector< NXOpen::Preferences::RoutingPath::AllowedCornerType > & | allowedCorners | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
allowedCorners | allowed corners |
void NXOpen::Preferences::RoutingPath::SetAllowedCurves | ( | const std::vector< NXOpen::Preferences::RoutingPath::CurveType > & | allowedCurves | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
allowedCurves | allowed curves |
void NXOpen::Preferences::RoutingPath::SetBendRadius | ( | double | bendRadius | ) |
Needs a work part and a loaded applicaiton view.
Radius units are assumed to be work part units and are set automatically. Returns -1 and quits if input requirements are not met.
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
bendRadius | bend radius |
void NXOpen::Preferences::RoutingPath::SetBendRadiusMethod | ( | NXOpen::Preferences::RoutingPath::RadiusMethod | radiusMethod | ) |
Set whether the default corner should use bend ratio.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
radiusMethod | radius method |
void NXOpen::Preferences::RoutingPath::SetBendRadiusUnits | ( | NXOpen::Preferences::RoutingPath::RadiusUnits | radiusUnits | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
radiusUnits | radius units |
void NXOpen::Preferences::RoutingPath::SetBendRatio | ( | double | bendRatio | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
bendRatio | bend ratio |
void NXOpen::Preferences::RoutingPath::SetBendTable | ( | const NXString & | bendTableName | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
bendTableName | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Preferences::RoutingPath::SetChainableCurveTypes | ( | const std::vector< NXOpen::Preferences::RoutingPath::CurveType > & | chainableCurveTypes | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
chainableCurveTypes | chainable curve types |
void NXOpen::Preferences::RoutingPath::SetConfirmBranchSelection | ( | NXOpen::Preferences::RoutingPath::ConfirmBranchSel | confirmBranchSel | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
confirmBranchSel | confirm branch sel |
void NXOpen::Preferences::RoutingPath::SetContinueUpdateOnError | ( | NXOpen::Preferences::RoutingPath::ContinueUpdOnError | update | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
update | update |
void NXOpen::Preferences::RoutingPath::SetCreateNewPointsOnSubdivide | ( | NXOpen::Preferences::RoutingPath::AddPointsToSpline | addPoints | ) |
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
addPoints | add points |
void NXOpen::Preferences::RoutingPath::SetCreateSlopeConstraints | ( | NXOpen::Preferences::RoutingPath::CreateSlopeConstraints | createSlopeConstraints | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
createSlopeConstraints | create slope constraints |
void NXOpen::Preferences::RoutingPath::SetCreateSmartRcps | ( | NXOpen::Preferences::RoutingPath::CreateSmartRcps | createSmart | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
createSmart | create smart |
void NXOpen::Preferences::RoutingPath::SetCreateSplineTangency | ( | NXOpen::Preferences::RoutingPath::CreateTangency | applyTangency | ) |
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
applyTangency | apply tangency |
void NXOpen::Preferences::RoutingPath::SetCurveChainingMethod | ( | NXOpen::Preferences::RoutingPath::ChainMethod | chainMethod | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
chainMethod | chain method |
void NXOpen::Preferences::RoutingPath::SetDefaultCorner | ( | NXOpen::Preferences::RoutingPath::DefaultCornerType | defaultCorner | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
defaultCorner | default corner |
void NXOpen::Preferences::RoutingPath::SetDisplayAnchors | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayAnchors | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
displayAnchors | display anchors |
void NXOpen::Preferences::RoutingPath::SetDisplayConnectedPorts | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayConnectedPorts | ) |
Display connected ports in the model
Created in NX8.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
displayConnectedPorts | display connected ports |
void NXOpen::Preferences::RoutingPath::SetDisplayPortLength | ( | double | displayPortLength | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
displayPortLength | display port length |
void NXOpen::Preferences::RoutingPath::SetDisplayPorts | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayPorts | ) |
Display ports in the model?
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
displayPorts | display ports |
void NXOpen::Preferences::RoutingPath::SetDisplayRcps | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayRcps | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
displayRcps | display rcps |
void NXOpen::Preferences::RoutingPath::SetDisplaySegmentConstraints | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayConstraints | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
displayConstraints | display constraints |
void NXOpen::Preferences::RoutingPath::SetHealPathCurveType | ( | NXOpen::Preferences::RoutingPath::CurveType | healPathCurveType | ) |
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
healPathCurveType | heal path curve type |
void NXOpen::Preferences::RoutingPath::SetMergeDuplicateRcps | ( | NXOpen::Preferences::RoutingPath::MergeDupRcps | mergeDuplicates | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
mergeDuplicates | merge duplicates |
void NXOpen::Preferences::RoutingPath::SetOccurrenceChainable | ( | NXOpen::Preferences::RoutingPath::OccChainable | occChainable | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
occChainable | occ chainable |
void NXOpen::Preferences::RoutingPath::SetStockOffsetExpression | ( | const NXString & | stockOffsetExp | ) |
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
stockOffsetExp | NOTE: The full Unicode character set is not supported for this parameter. |
tag_t NXOpen::Preferences::RoutingPath::Tag | ( | ) | const |
Returns the tag of this object.