NX Open C++ Reference Guide
|
<br> To create a new instance of this class, use @link Routing::RouteManager::CreateManualRouteBuilder Routing::RouteManager::CreateManualRouteBuilder @endlink <br>
Created in NX7.5.0.
More...
Public Member Functions | |
std::vector < NXOpen::Routing::Path * > | CreateValidPointsOnPaths (const std::vector< NXOpen::Point3d > &pointLocs, std::vector< NXOpen::Point * > &validPoints) |
This function will get all the paths stored in Routing::ManualRouteBuilder and will create point for any location which lies on any of the paths. | |
void | CyclePaths () |
Cycle paths through filter paths array to enable user select path for routing. | |
std::vector < NXOpen::Routing::Path * > | FindPathsFromMultiplePoints (const std::vector< NXOpen::Point * > &points, bool *foundPath) |
This function returns all possible paths which are passing through all the given points. | |
std::vector < NXOpen::Routing::Path * > | GetFilterPaths () |
This function gets filter paths from builder. | |
NXOpen::Routing::Path * | GetHighlightPath () |
This function returns currently highlighted path stored in builder. | |
std::vector < NXOpen::Routing::Path * > | GetPaths () |
This function returns all possible paths for stockDevice stored in builder. | |
NXOpen::PointList * | PointList () |
Returns the point list Created in NX7.5.0. | |
void | SetFilterPaths (const std::vector< NXOpen::Routing::Path * > &filterPaths) |
Created in NX7.5.0. | |
void | SetHighlightPath (NXOpen::Routing::Path *path) |
This function sets highlight path amongst all paths, and this highlight path only will be used for routing the stock device Created in NX7.5.0. | |
bool | UpdateFilterPaths (NXOpen::Point *point) |
This function updates the filter paths in builder, using the given 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. | |
<br> To create a new instance of this class, use @link Routing::RouteManager::CreateManualRouteBuilder Routing::RouteManager::CreateManualRouteBuilder @endlink <br>
Created in NX7.5.0.
std::vector<NXOpen::Routing::Path *> NXOpen::Routing::ManualRouteBuilder::CreateValidPointsOnPaths | ( | const std::vector< NXOpen::Point3d > & | pointLocs, |
std::vector< NXOpen::Point * > & | validPoints | ||
) |
This function will get all the paths stored in Routing::ManualRouteBuilder and will create point for any location which lies on any of the paths.
Newly created points will be returned as result. It will also return the filter paths found using given locations.
pointLocs | pointlocs |
validPoints | validpoints |
void NXOpen::Routing::ManualRouteBuilder::CyclePaths | ( | ) |
Cycle paths through filter paths array to enable user select path for routing.
Created in NX7.5.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
std::vector<NXOpen::Routing::Path *> NXOpen::Routing::ManualRouteBuilder::FindPathsFromMultiplePoints | ( | const std::vector< NXOpen::Point * > & | points, |
bool * | foundPath | ||
) |
This function returns all possible paths which are passing through all the given points.
points | points |
foundPath | foundpath |
std::vector<NXOpen::Routing::Path *> NXOpen::Routing::ManualRouteBuilder::GetFilterPaths | ( | ) |
This function gets filter paths from builder.
These paths are those which passes through selected points in point list.
NXOpen::Routing::Path* NXOpen::Routing::ManualRouteBuilder::GetHighlightPath | ( | ) |
This function returns currently highlighted path stored in builder.
std::vector<NXOpen::Routing::Path *> NXOpen::Routing::ManualRouteBuilder::GetPaths | ( | ) |
This function returns all possible paths for stockDevice stored in builder.
NXOpen::PointList* NXOpen::Routing::ManualRouteBuilder::PointList | ( | ) |
Returns the point list
Created in NX7.5.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
void NXOpen::Routing::ManualRouteBuilder::SetFilterPaths | ( | const std::vector< NXOpen::Routing::Path * > & | filterPaths | ) |
Created in NX7.5.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
filterPaths | filterpaths |
void NXOpen::Routing::ManualRouteBuilder::SetHighlightPath | ( | NXOpen::Routing::Path * | path | ) |
This function sets highlight path amongst all paths, and this highlight path only will be used for routing the stock device
Created in NX7.5.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
path | path |
bool NXOpen::Routing::ManualRouteBuilder::UpdateFilterPaths | ( | NXOpen::Point * | point | ) |
This function updates the filter paths in builder, using the given selected point.
It checks all the filter paths stored in builder, and finds paths passing through given point. Then it updates filter paths accordingly in builder. @return
Created in NX7.5.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
point | point |