NX Open C++ Reference Guide
|
Helper object used the by Routing::LinearPathBuilder builder. More...
Public Member Functions | |
double | AngleTolerance () |
Returns the tolerance within which to search for elbow angles. | |
void | SetAngleTolerance (double tolerance) |
Sets the tolerance within which to search for elbow angles. | |
void | SetSnapToElbowAngles (bool doSnap) |
Sets whether or not to snap control points to the nearest valid elbow angle. | |
bool | SnapToElbowAngles () |
Returns whether or not to snap control points to the nearest valid elbow angle. |
Helper object used the by Routing::LinearPathBuilder builder.
Determines whether or not elbow snapping should occur in the "Create Linear Path" UI, and if so, what the angle tolerance should be.
To create a new instance of this class, use Routing::RouteManager::CreateElbowSnapSettings
Default values.
Property | Value |
---|---|
AngleTolerance |
5.0 |
SnapToElbowAngles |
True |
Created in NX5.0.0.
Returns the tolerance within which to search for elbow angles.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::ElbowSnapSettings::SetAngleTolerance | ( | double | tolerance | ) |
Sets the tolerance within which to search for elbow angles.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
tolerance | tolerance |
void NXOpen::Routing::ElbowSnapSettings::SetSnapToElbowAngles | ( | bool | doSnap | ) |
Sets whether or not to snap control points to the nearest valid elbow angle.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
doSnap | do snap |
Returns whether or not to snap control points to the nearest valid elbow angle.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")