NX Open C++ Reference Guide
|
Represents a Routing::SubdivideSegmentBuilder . More...
Represents a Routing::SubdivideSegmentBuilder .
This is used to subidivide a given segment into two or more segments based on one of the three spacing methods.
To create a new instance of this class, use Routing::RouteManager::CreateSubdivideSegmentBuilder
Default values.
Property | Value |
---|---|
EqualSegmentsOption |
EqualArcLength |
SubdivideNumSegments |
2 |
Created in NX6.0.0.
NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsOption | ( | ) |
Returns the equal segments option as Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::SubdivideSegmentBuilder::GetSplineSettings | ( | bool * | createTangency, |
bool * | createPoints | ||
) |
Gets the current subdivide spline settings.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
createTangency | Creates tangency at the point where the spline is subdivided by adding parallel extensions. |
createPoints | Add points to the new segments to maintain shape after subdivision. |
void NXOpen::Routing::SubdivideSegmentBuilder::GetSplineSettings | ( | bool * | createTangency, |
bool * | createPoints, | ||
bool * | addFixConstraint | ||
) |
Gets the current subdivide spline settings.
Created in NX7.5.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
createTangency | Creates tangency at the point where the spline is subdivided by adding parallel extensions. |
createPoints | Add points to the new segments to maintain shape after subdivision. |
addFixConstraint | Adds a fix constraint at newly created subdivision locations |
Returns the direction of the start of segment to subdivide.
The distance of the subdivision point on the segment is measured from this end.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Returns the segment to subdivide
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
void NXOpen::Routing::SubdivideSegmentBuilder::SetEqualSegmentsOption | ( | NXOpen::Routing::SubdivideSegmentBuilder::EqualSegmentsMethod | equalSegmentsOption | ) |
Sets the equal segments option as Routing::SubdivideSegmentBuilder::EqualSegmentsMethod
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
equalSegmentsOption | equalsegmentsoption |
void NXOpen::Routing::SubdivideSegmentBuilder::SetReverseSubdividePoint | ( | bool | reverseSubdividePoint | ) |
Sets the direction of the start of segment to subdivide.
The distance of the subdivision point on the segment is measured from this end.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
reverseSubdividePoint | reversesubdividepoint |
void NXOpen::Routing::SubdivideSegmentBuilder::SetSplineSettings | ( | bool | createTangency, |
bool | addPoints | ||
) |
Sets options for subdividing splines.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
createTangency | Creates tangency at the point where the spline is subdivided by adding parallel extensions. |
addPoints | Add points to the new segments to maintain shape after subdivision. |
void NXOpen::Routing::SubdivideSegmentBuilder::SetSplineSettings | ( | bool | createTangency, |
bool | addPoints, | ||
bool | addFixConstraint | ||
) |
Sets options for subdividing splines.
Created in NX7.5.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
createTangency | Creates tangency at the point where the spline is subdivided by adding parallel extensions. |
addPoints | Add points to the new segments to maintain shape after subdivision. |
addFixConstraint | Adds a fix constraint at newly created subdivision locations |
void NXOpen::Routing::SubdivideSegmentBuilder::SetSubdivideNumSegments | ( | int | subdivideNumSegments | ) |
Sets the number of subdivisions to do on the given segment, if Routing::SubdivideSegmentBuilder::Types is Routing::SubdivideSegmentBuilder::TypesEqualSegments or Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
subdivideNumSegments | subdividenumsegments |
void NXOpen::Routing::SubdivideSegmentBuilder::SetType | ( | NXOpen::Routing::SubdivideSegmentBuilder::Types | type | ) |
Sets the spacing method as Routing::SubdivideSegmentBuilder::Types
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
type | type |
NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdivideArcLength | ( | ) |
Returns the arc length of each resulting segment from subdivision, if Routing::SubdivideSegmentBuilder::Types is Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdivideEndPercentage | ( | ) |
Returns the end location of subdivision on the segment as percentage, if Routing::SubdivideSegmentBuilder::Types is Routing::SubdivideSegmentBuilder::TypesEqualSegments or Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Returns the number of subdivisions to do on the given segment, if Routing::SubdivideSegmentBuilder::Types is Routing::SubdivideSegmentBuilder::TypesEqualSegments or Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdividePoint | ( | ) |
Returns the location of the subdivision point on segment as arclength or arclength or point, if Routing::SubdivideSegmentBuilder::Types is Routing::SubdivideSegmentBuilder::TypesAtPoint.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
NXOpen::GeometricUtilities::OnPathDimensionBuilder* NXOpen::Routing::SubdivideSegmentBuilder::SubdivideStartPercentage | ( | ) |
Returns the start location of subdivision on the segment as percentage, if Routing::SubdivideSegmentBuilder::Types is Routing::SubdivideSegmentBuilder::TypesEqualSegments or Routing::SubdivideSegmentBuilder::TypesArcLengthSegments.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Returns the spacing method as Routing::SubdivideSegmentBuilder::Types
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")