NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::SectionCollection类 参考

截面对象集合 更多...

#include <SectionCollection.hxx>

类 NXOpen::SectionCollection 继承关系图:
NXOpen::TaggedObjectCollection

class  iterator

Public 类型

enum  LoopOption { LoopOptionSeparate , LoopOptionSeparateOuter }

Public 成员函数

iterator begin ()
NXOpen::SectionCreateSection ()
NXOpen::SectionCreateSection (double chainingTolerance, double distanceTolerance, double angleTolerance)
NXOpen::SectionCreateSection (NXOpen::NXObject *curve)
void CreateSectionsUsingCurves (const std::vector< NXOpen::NXObject * > &curves, NXOpen::SectionCollection::LoopOption loopOption, double chainingTolerance, double distanceTolerance, double angleTolerance, std::vector< NXOpen::Section * > &section)
iterator end ()
tag_t Tag () const

详细描述

截面对象集合

此类包含用于创建截面的工厂方法。
要获取此类的实例,请参考NXOpen::BasePart

在NX3.0.0版本创建。

成员枚举类型说明

◆ LoopOption

定义SectionCollection::CreateSectionsUsingCurves中截面的创建方式

枚举值
LoopOptionSeparate 

每个环创建一个截面

LoopOptionSeparateOuter 

每个外环及包含的内环创建一个截面

成员函数说明

◆ begin()

iterator NXOpen::SectionCollection::begin ( )

返回指向第一个元素的迭代器。

◆ CreateSection() [1/3]

NXOpen::Section * NXOpen::SectionCollection::CreateSection ( )

使用默认的链选、距离和角度公差创建截面。
应为截面添加选择意图规则。

有关详细信息,请参阅 Section::AddToSection 的文档。

可从截面中移除选择意图规则或单个截面元素。

有关详细信息,请参阅 Section::RemoveRulesSection::RemoveSingleSectionElement 的文档。

返回

版本:NX3.0.0。

许可要求:gateway ("UG GATEWAY")

◆ CreateSection() [2/3]

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

创建一个截面。
应为截面添加选择意图规则。

有关详细信息,请参阅 Section::AddToSection 的文档。

可从截面中移除选择意图规则或单个截面元素。

有关详细信息,请参阅 Section::RemoveRulesSection::RemoveSingleSectionElement 的文档。

返回

版本:NX3.0.0。

许可要求:gateway ("UG GATEWAY")
参数
chainingTolerance链选公差
distanceTolerance距离公差
angleTolerance角度公差

◆ CreateSection() [3/3]

NXOpen::Section * NXOpen::SectionCollection::CreateSection ( NXOpen::NXObject * curve)

使用给定的曲线、边或点,通过单曲线规则创建截面。

返回
创建的截面
版本:NX8.0.0。

许可要求:gateway ("UG GATEWAY")
参数
curve曲线、边或点

◆ CreateSectionsUsingCurves()

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 )

使用曲线创建截面,每个截面可通过拉伸生成一个体。
首先将曲线排序为环,然后将环分为外环和内环。 为每个曲线外环创建一个截面,并根据环选项包含该外环所包围的闭合环。

输入必须全部为曲线,且曲线必须位于同一平面上。

版本:NX4.0.4。

许可要求:gateway ("UG GATEWAY")

参数
curves曲线
loopOption环选项
chainingTolerance链选公差
distanceTolerance距离公差
angleTolerance角度公差
section截面

◆ end()

iterator NXOpen::SectionCollection::end ( )
inline

返回指向最后一个元素之后位置的迭代器。

◆ Tag()

tag_t NXOpen::SectionCollection::Tag ( ) const

返回此对象的标识。