NX Open C++ Reference Guide
|
To create a new instance of this class, use Routing::RouteManager::CreateManualRouteBuilder
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. |
To create a new instance of this class, use Routing::RouteManager::CreateManualRouteBuilder
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 |
Cycle paths through filter paths array to enable user select path for routing.
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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.
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.
Returns the point list
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::ManualRouteBuilder::SetFilterPaths | ( | const std::vector< NXOpen::Routing::Path * > & | filterPaths | ) |
Created in NX7.5.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
filterPaths | filterpaths |
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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
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.
point | point |