NX Open C++ Reference Guide
|
Applies Assemblies Constraints to a selected Point or Routing::ControlPoint to mimic the update/move behavior of the input smart Point . More...
Public Types | |
enum | PointType { PointTypeNormal, PointTypeStockOffset } |
Point Type. More... | |
Public Member Functions | |
NXOpen::Point * | ConstraintPoint () |
Returns the point that defines the location of the selected point. | |
void | GetPointData (NXOpen::Routing::StockOffsetPointBuilder::PointType *pointType, NXOpen::Point **basePoint, NXOpen::Direction **offsetDir, NXString *offsetExpression) |
Gets the stock offset data from the currently selected point or routing control point. | |
NXOpen::SelectNXObject * | PointSelection () |
Returns the point selection. | |
void | SetConstraintPoint (NXOpen::Point *point) |
Sets the point that defines the location of the selected point. | |
![]() | |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Applies Assemblies Constraints to a selected Point or Routing::ControlPoint to mimic the update/move behavior of the input smart Point .
The smart point may be a Routing stock offset point (see @link PointCollection::CreateStockOffsetPoint PointCollection::CreateStockOffsetPoint@endlink ) or any of the points created using the @link PointCollection PointCollection@endlink class. <br> To create a new instance of this class, use @link Routing::RouteManager::CreateStockOffsetPointBuilder Routing::RouteManager::CreateStockOffsetPointBuilder @endlink <br>
Created in NX6.0.0.
NXOpen::Point* NXOpen::Routing::StockOffsetPointBuilder::ConstraintPoint | ( | ) |
Returns the point that defines the location of the selected point.
On commit, this point is used for determining the set of Assemblies Constraints to apply to the selected point (or Routing control point). The input point itself is not used after the commit method.
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
void NXOpen::Routing::StockOffsetPointBuilder::GetPointData | ( | NXOpen::Routing::StockOffsetPointBuilder::PointType * | pointType, |
NXOpen::Point ** | basePoint, | ||
NXOpen::Direction ** | offsetDir, | ||
NXString * | offsetExpression | ||
) |
Gets the stock offset data from the currently selected point or routing control point.
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
pointType | Type of point currently defined. |
basePoint | Base point for stock offset points, NULL for Routing::StockOffsetPointBuilder::PointTypeNormal points. |
offsetDir | Offset direction for stock offset points, NULL for Routing::StockOffsetPointBuilder::PointTypeNormal points. |
offsetExpression | Offset expression for stock offset points, NULL for Routing::StockOffsetPointBuilder::PointTypeNormal points. |
NXOpen::SelectNXObject* NXOpen::Routing::StockOffsetPointBuilder::PointSelection | ( | ) |
Returns the point selection.
Stores the point or Routing control point selected by the user.
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
void NXOpen::Routing::StockOffsetPointBuilder::SetConstraintPoint | ( | NXOpen::Point * | point | ) |
Sets the point that defines the location of the selected point.
On commit, this point is used for determining the set of Assemblies Constraints to apply to the selected point (or Routing control point). The input point itself is not used after the commit method.
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
point | point |