|
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. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
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.
<br> To create a new instance of this class, use @link Routing::RouteManager::CreateElbowSnapSettings Routing::RouteManager::CreateElbowSnapSettings @endlink <br>
Default values.
| Property | Value |
|---|---|
|
AngleTolerance |
5.0 |
|
SnapToElbowAngles |
True |
Created in NX5.0.0.
| double NXOpen::Routing::ElbowSnapSettings::AngleTolerance | ( | ) |
Returns the tolerance within which to search for elbow angles.
Created in NX5.0.0.
License requirements : routing_base ("Routing Basic")
| 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_base ("Routing Basic")
| 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_base ("Routing Basic")
| doSnap | do snap |
| bool NXOpen::Routing::ElbowSnapSettings::SnapToElbowAngles | ( | ) |
Returns whether or not to snap control points to the nearest valid elbow angle.
Created in NX5.0.0.
License requirements : routing_base ("Routing Basic")