NX Open C++ Reference Guide
|
The Routing Bend Report Manager allows you to get a variety of bend reports. More...
Classes | |
struct | Mil98Report |
Used in the MIL-D-9898 C specification reports. More... | |
struct | SegmentInformation |
Used by all the reports to hold the information of the segments under port, solid body, segment, stock, stock component, or feature representing the piece of stock. More... | |
struct | XyzReport |
Used in the XYZ bend reports. More... | |
struct | YbcReport |
Used in the YBC bend reports. More... | |
Public Member Functions | |
std::vector < NXOpen::Routing::BendReportManager::Mil98Report > | GenerateMil98Report (const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > &segmentInformation, double *totalLength) |
Generates the bend report in MIL-D-9898C specification format. More... | |
std::vector < NXOpen::Routing::BendReportManager::XyzReport > | GenerateXyzReport (const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > &segmentInformation, double *totalLength) |
Generates the bend report in XYZ format. More... | |
std::vector < NXOpen::Routing::BendReportManager::YbcReport > | GenerateYbcReport (const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > &segmentInformation, double *totalLength) |
Generates the bend report in YBC format. More... | |
std::vector < NXOpen::Routing::BendReportManager::SegmentInformation > | GetSegmentInformation (NXOpen::TaggedObject *stock) |
Builds up the segment information from the given ports, solid bodies, segments, stock, stock components, or features. More... | |
std::vector < NXOpen::Routing::BendReportManager::SegmentInformation > | ReverseDirection (const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > &segmentInformation) |
Reverses the order of the segment information. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
The Routing Bend Report Manager allows you to get a variety of bend reports.
To obtain an instance of this class, refer to NXOpen::Routing::RouteManager
std::vector<NXOpen::Routing::BendReportManager::Mil98Report> NXOpen::Routing::BendReportManager::GenerateMil98Report | ( | const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > & | segmentInformation, |
double * | totalLength | ||
) |
Generates the bend report in MIL-D-9898C specification format.
segmentInformation | The information about the segments to include in the report. Generated by calling Routing::BendReportManager::GetSegmentInformation . |
totalLength | Total length of the entire path of segments. |
std::vector<NXOpen::Routing::BendReportManager::XyzReport> NXOpen::Routing::BendReportManager::GenerateXyzReport | ( | const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > & | segmentInformation, |
double * | totalLength | ||
) |
Generates the bend report in XYZ format.
segmentInformation | The information about the segments to include in the report. Generated by calling Routing::BendReportManager::GetSegmentInformation . |
totalLength | Total length of the entire path of segments. |
std::vector<NXOpen::Routing::BendReportManager::YbcReport> NXOpen::Routing::BendReportManager::GenerateYbcReport | ( | const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > & | segmentInformation, |
double * | totalLength | ||
) |
Generates the bend report in YBC format.
segmentInformation | The information about the segments to include in the report. Generated by calling Routing::BendReportManager::GetSegmentInformation . |
totalLength | Total length of the entire path of segments. |
std::vector<NXOpen::Routing::BendReportManager::SegmentInformation> NXOpen::Routing::BendReportManager::GetSegmentInformation | ( | NXOpen::TaggedObject * | stock | ) |
Builds up the segment information from the given ports, solid bodies, segments, stock, stock components, or features.
Call this first to get the segment information to end to the report methods.
stock | The port, solid body, segment, stock, stock component, or feature representing the piece of stock from which to generate the bend report. |
std::vector<NXOpen::Routing::BendReportManager::SegmentInformation> NXOpen::Routing::BendReportManager::ReverseDirection | ( | const std::vector< NXOpen::Routing::BendReportManager::SegmentInformation > & | segmentInformation | ) |
Reverses the order of the segment information.
Since some of the information in the YBC and MIL98 reports are relative angles, reversing the order of the segments can have a significant impact on the report.
segmentInformation | The original segment order. |
tag_t NXOpen::Routing::BendReportManager::Tag | ( | ) | const |
Returns the tag of this object.