NX Open C++ Reference Guide
Classes | Public Member Functions | List of all members
NXOpen::Routing::BendReportManager Class Reference

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...
 

Detailed Description

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

Member Function Documentation

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.

Returns
The XYZ report information.
Created in NX11.0.1.

License requirements : routing_base ("Routing Basic")
Parameters
segmentInformationThe information about the segments to include in the report. Generated by calling Routing::BendReportManager::GetSegmentInformation .
totalLengthTotal 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.

Returns
The XYZ report information.
Created in NX11.0.1.

License requirements : routing_base ("Routing Basic")
Parameters
segmentInformationThe information about the segments to include in the report. Generated by calling Routing::BendReportManager::GetSegmentInformation .
totalLengthTotal 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.

Returns
The XYZ report information.
Created in NX11.0.1.

License requirements : routing_base ("Routing Basic")
Parameters
segmentInformationThe information about the segments to include in the report. Generated by calling Routing::BendReportManager::GetSegmentInformation .
totalLengthTotal 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.

Returns
Information on each segment. Send to one of the generate report methods to get a report.
Created in NX11.0.1.

License requirements : routing_base ("Routing Basic")
Parameters
stockThe 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.

Returns
The reversed segment order.
Created in NX11.0.1.

License requirements : routing_base ("Routing Basic")
Parameters
segmentInformationThe original segment order.
tag_t NXOpen::Routing::BendReportManager::Tag ( ) const

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.