NX Open C++ Reference Guide
|
Applies Assemblies Constraints to a selected NXOpen::Point or NXOpen::Routing::ControlPoint to mimic the update/move behavior of the input smart NXOpen::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. More... | |
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. More... | |
NXOpen::TaggedObject * | GetStockOffsetPointObject () |
Gets the object on which a Stock Offset Point was based. More... | |
NXOpen::SelectNXObject * | PointSelection () |
Returns the point selection. More... | |
void | SetConstraintPoint (NXOpen::Point *point) |
Sets the point that defines the location of the selected point. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Applies Assemblies Constraints to a selected NXOpen::Point or NXOpen::Routing::ControlPoint to mimic the update/move behavior of the input smart NXOpen::Point .
The smart point may be a Routing stock offset point (see NXOpen::PointCollection::CreateStockOffsetPoint ) or any of the points created using the NXOpen::PointCollection class.
To create a new instance of this class, use NXOpen::Routing::RouteManager::CreateStockOffsetPointBuilder
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::TaggedObject* NXOpen::Routing::StockOffsetPointBuilder::GetStockOffsetPointObject | ( | ) |
Gets the object on which a Stock Offset Point was based.
Returns NULL if the point is not a Stock Offset Point or if the Stock Offset Point was not offset from another object.
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 |