NX Open C++ Reference Guide
|
The RoutingPath object stores a set of path preferences. More...
Public Types | |
enum | AddPointsToSpline { AddPointsToSplineFalse, AddPointsToSplineTrue } |
Should points be added to existing spline when they are subdivided to preserve shape? More... | |
enum | AllowedCornerType { AllowedCornerTypeNone, AllowedCornerTypeBend, AllowedCornerTypeCope, AllowedCornerTypeMiter, AllowedCornerTypeSbend } |
Describes the types of corners allowed in a routing application. More... | |
enum | ChainMethod { ChainMethodNoBranch, ChainMethodContinuous, ChainMethodTangent, ChainMethodCycle, ChainMethodMinDist, ChainMethodMaxDist } |
Path curve chaining methods. More... | |
enum | ConfirmBranchSel { ConfirmBranchSelFalse, ConfirmBranchSelTrue } |
Should a branch selection confirmation dialog be show during Path selection? More... | |
enum | ContinueUpdOnError { ContinueUpdOnErrorFalse, ContinueUpdOnErrorTrue } |
Should fixed length splines ignore length constraint violations and update? More... | |
enum | CreateSlopeConstraints { CreateSlopeConstraintsFalse, CreateSlopeConstraintsTrue } |
Create slope associativity constraints during line path creation [from ports only]. More... | |
enum | CreateSmartRcps { CreateSmartRcpsFalse, CreateSmartRcpsTrue } |
Should Smart RCPs be created during path creation in Create Path? More... | |
enum | CreateTangency { CreateTangencyFalse, CreateTangencyTrue } |
Should new splines form tangencies with existing splines when they're created? More... | |
enum | CurveType { CurveTypeLine, CurveTypeArc, CurveTypeSpline } |
Describes the types of curves allowed in a routing application. More... | |
enum | DefaultCornerType { DefaultCornerTypeNone = -1, DefaultCornerTypeBend, DefaultCornerTypeMiter, DefaultCornerTypeBendTable } |
Describes the types of corners allowed in a routing application. More... | |
enum | DisplayObject { DisplayObjectFalse, DisplayObjectTrue } |
Display a certain routing object? More... | |
enum | MergeDupRcps { MergeDupRcpsFalse, MergeDupRcpsTrue } |
Should duplicate RCPs be merged after a Transform [Move or Copy] operation? More... | |
enum | OccChainable { OccChainableFalse, OccChainableTrue } |
Chain occurrences of curves ? [i.e. More... | |
enum | RadiusMethod { RadiusMethodRadius, RadiusMethodRatio, RadiusMethodTable, RadiusMethodInnerRadius } |
Describes method used to determine bend radius on a bend or sbend corner. More... | |
enum | RadiusUnits { RadiusUnitsNone, RadiusUnitsInches, RadiusUnitsMillimeters } |
Describes units of specified radius value NXOpen::Preferences::RoutingPath::RadiusMethodRadius only. More... | |
The RoutingPath object stores a set of path preferences.
To obtain an instance of this class, refer to NXOpen::Preferences::RoutingApplicationView
Created in NX4.0.0.
Describes the types of corners allowed in a routing application.
Path curve chaining methods.
Describes the types of corners allowed in a routing application.
Describes units of specified radius value NXOpen::Preferences::RoutingPath::RadiusMethodRadius only.
Enumerator | |
---|---|
RadiusUnitsNone |
Unspecified. Use units of part file. |
RadiusUnitsInches |
Use inch units. |
RadiusUnitsMillimeters |
Use metric (mm) units. |
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.
double NXOpen::Preferences::RoutingPath::GetBendRadius | ( | ) |
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.
double NXOpen::Preferences::RoutingPath::GetBendRatio | ( | ) |
Query default bend ratio.
Used when default corner uses bend ratio method
NXString NXOpen::Preferences::RoutingPath::GetBendTable | ( | ) |
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 | bend table name |
diameter | diameter |
double NXOpen::Preferences::RoutingPath::GetBendTableRadius | ( | const char * | bendTableName, |
double | diameter | ||
) |
Query bend radius from a loaded bend table.
Returns a radius of -1 if input table is not loaded
bendTableName | bend table name |
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?
double NXOpen::Preferences::RoutingPath::GetDisplayPortLength | ( | ) |
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::GetStockOffsetExpression | ( | ) |
Query default stock offset expression used by Create Path and Create Stock Offset Port [via Qualify Part].
Load a specified bend table file.
bendTableFilename | bend table filename |
NXString NXOpen::Preferences::RoutingPath::LoadBendTableFile | ( | const char * | bendTableFilename | ) |
Load a specified bend table file.
bendTableFilename | bend table filename |
void NXOpen::Preferences::RoutingPath::SetAllowedCorners | ( | const std::vector< NXOpen::Preferences::RoutingPath::AllowedCornerType > & | allowedCorners | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
allowedCorners | allowed corners |
void NXOpen::Preferences::RoutingPath::SetAllowedCurves | ( | const std::vector< NXOpen::Preferences::RoutingPath::CurveType > & | allowedCurves | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
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_base ("Routing Basic")
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_base ("Routing Basic")
radiusMethod | radius method |
void NXOpen::Preferences::RoutingPath::SetBendRadiusUnits | ( | NXOpen::Preferences::RoutingPath::RadiusUnits | radiusUnits | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
radiusUnits | radius units |
void NXOpen::Preferences::RoutingPath::SetBendRatio | ( | double | bendRatio | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
bendRatio | bend ratio |
void NXOpen::Preferences::RoutingPath::SetBendTable | ( | const NXString & | bendTableName | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
bendTableName | bend table name |
void NXOpen::Preferences::RoutingPath::SetBendTable | ( | const char * | bendTableName | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
bendTableName | bend table name |
void NXOpen::Preferences::RoutingPath::SetChainableCurveTypes | ( | const std::vector< NXOpen::Preferences::RoutingPath::CurveType > & | chainableCurveTypes | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
chainableCurveTypes | chainable curve types |
void NXOpen::Preferences::RoutingPath::SetConfirmBranchSelection | ( | NXOpen::Preferences::RoutingPath::ConfirmBranchSel | confirmBranchSel | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
confirmBranchSel | confirm branch sel |
void NXOpen::Preferences::RoutingPath::SetContinueUpdateOnError | ( | NXOpen::Preferences::RoutingPath::ContinueUpdOnError | update | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
update | update |
void NXOpen::Preferences::RoutingPath::SetCreateNewPointsOnSubdivide | ( | NXOpen::Preferences::RoutingPath::AddPointsToSpline | addPoints | ) |
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
addPoints | add points |
void NXOpen::Preferences::RoutingPath::SetCreateSlopeConstraints | ( | NXOpen::Preferences::RoutingPath::CreateSlopeConstraints | createSlopeConstraints | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
createSlopeConstraints | create slope constraints |
void NXOpen::Preferences::RoutingPath::SetCreateSmartRcps | ( | NXOpen::Preferences::RoutingPath::CreateSmartRcps | createSmart | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
createSmart | create smart |
void NXOpen::Preferences::RoutingPath::SetCreateSplineTangency | ( | NXOpen::Preferences::RoutingPath::CreateTangency | applyTangency | ) |
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
applyTangency | apply tangency |
void NXOpen::Preferences::RoutingPath::SetCurveChainingMethod | ( | NXOpen::Preferences::RoutingPath::ChainMethod | chainMethod | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
chainMethod | chain method |
void NXOpen::Preferences::RoutingPath::SetDefaultCorner | ( | NXOpen::Preferences::RoutingPath::DefaultCornerType | defaultCorner | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
defaultCorner | default corner |
void NXOpen::Preferences::RoutingPath::SetDisplayAnchors | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayAnchors | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
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_base ("Routing Basic")
displayConnectedPorts | display connected ports |
void NXOpen::Preferences::RoutingPath::SetDisplayPortLength | ( | double | displayPortLength | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
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_base ("Routing Basic")
displayPorts | display ports |
void NXOpen::Preferences::RoutingPath::SetDisplayRcps | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayRcps | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
displayRcps | display rcps |
void NXOpen::Preferences::RoutingPath::SetDisplaySegmentConstraints | ( | NXOpen::Preferences::RoutingPath::DisplayObject | displayConstraints | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
displayConstraints | display constraints |
void NXOpen::Preferences::RoutingPath::SetHealPathCurveType | ( | NXOpen::Preferences::RoutingPath::CurveType | healPathCurveType | ) |
Created in NX5.0.0.
License requirements : routing_base ("Routing Basic")
healPathCurveType | heal path curve type |
void NXOpen::Preferences::RoutingPath::SetMergeDuplicateRcps | ( | NXOpen::Preferences::RoutingPath::MergeDupRcps | mergeDuplicates | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
mergeDuplicates | merge duplicates |
void NXOpen::Preferences::RoutingPath::SetOccurrenceChainable | ( | NXOpen::Preferences::RoutingPath::OccChainable | occChainable | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
occChainable | occ chainable |
void NXOpen::Preferences::RoutingPath::SetStockOffsetExpression | ( | const NXString & | stockOffsetExp | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
stockOffsetExp | stock offset exp |
void NXOpen::Preferences::RoutingPath::SetStockOffsetExpression | ( | const char * | stockOffsetExp | ) |
Created in NX4.0.0.
License requirements : routing_base ("Routing Basic")
stockOffsetExp | stock offset exp |
tag_t NXOpen::Preferences::RoutingPath::Tag | ( | ) | const |
Returns the tag of this object.