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

This class contains the factory methods for creating a section. More...

Inheritance diagram for NXOpen::SectionCollection:
NXOpen::TaggedObjectCollection

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...
 

Public Types

enum  LoopOption { LoopOptionSeparate, LoopOptionSeparateOuter }
 Defines how section are created in SectionCollection::CreateSectionsUsingCurves. More...
 

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element. More...
 
NXOpen::SectionCreateSection (double chainingTolerance, double distanceTolerance, double angleTolerance)
 Creates a section. More...
 
NXOpen::SectionCreateSection ()
 Creates a section using default values for chaining, distance, and angle tolerance. More...
 
NXOpen::SectionCreateSection (NXOpen::NXObject *curve)
 Creates a section with Single Curve rule using the given curve, edge or point. More...
 
void CreateSectionsUsingCurves (const std::vector< NXOpen::NXObject * > &curves, NXOpen::SectionCollection::LoopOption loopOption, double chainingTolerance, double distanceTolerance, double angleTolerance, std::vector< NXOpen::Section * > &section)
 Creates sections using curves such that each section can be extruded to produce one body. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

This class contains the factory methods for creating a section.


To obtain an instance of this class, refer to NXOpen::BasePart

Created in NX3.0.0.

Member Enumeration Documentation

Defines how section are created in SectionCollection::CreateSectionsUsingCurves.

Enumerator
LoopOptionSeparate 

One section is created for each loop.

LoopOptionSeparateOuter 

One section per outer loop and enclosed inner loops.

Member Function Documentation

iterator NXOpen::SectionCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::Section* NXOpen::SectionCollection::CreateSection ( double  chainingTolerance,
double  distanceTolerance,
double  angleTolerance 
)

Creates a section.


You should add selection intent rules to the section.

See the documentation for Section::AddToSection for more details.

You can remove selection intent rules or one section element from the section.

See the documentation for Section::RemoveRules and Section::RemoveSingleSectionElement for more details.

Returns

Created in NX3.0.0.

License requirements : gateway ("UG GATEWAY")
Parameters
chainingToleranceChaining tolerance
distanceToleranceDistance tolerance
angleToleranceAngle tolerance
NXOpen::Section* NXOpen::SectionCollection::CreateSection ( )

Creates a section using default values for chaining, distance, and angle tolerance.


You should add selection intent rules to the section.

See the documentation for Section::AddToSection for more details.

You can remove selection intent rules or one section element from the section.

See the documentation for Section::RemoveRules and Section::RemoveSingleSectionElement for more details.

Returns

Created in NX3.0.0.

License requirements : gateway ("UG GATEWAY")
NXOpen::Section* NXOpen::SectionCollection::CreateSection ( NXOpen::NXObject curve)

Creates a section with Single Curve rule using the given curve, edge or point.

Returns
The created section
Created in NX8.0.0.

License requirements : gateway ("UG GATEWAY")
Parameters
curveCurve, Edge or Point
void NXOpen::SectionCollection::CreateSectionsUsingCurves ( const std::vector< NXOpen::NXObject * > &  curves,
NXOpen::SectionCollection::LoopOption  loopOption,
double  chainingTolerance,
double  distanceTolerance,
double  angleTolerance,
std::vector< NXOpen::Section * > &  section 
)

Creates sections using curves such that each section can be extruded to produce one body.


Curves are first sorted into loops and then the loops are classified as exterior loops and interior loops. A section is created for each exterior loop of curves and includes closed loops that are enclosed in the exterior loop depending on the loop option.

The inputs must be all curves. The curves must lie on the same plane.


Created in NX4.0.4.

License requirements : gateway ("UG GATEWAY")

Parameters
curvesCurves
loopOptionLoop option
chainingToleranceChaining tolerance
distanceToleranceDistance tolerance
angleToleranceAngle tolerance
sectionsection
iterator NXOpen::SectionCollection::end ( )

Returns an iterator addressing one past the last element.

tag_t NXOpen::SectionCollection::Tag ( ) const

Returns the tag of this object.


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