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

组件阵列集合类 更多...

#include <Assemblies_ComponentPatternCollection.hxx>

类 NXOpen::Assemblies::ComponentPatternCollection 继承关系图:
NXOpen::TaggedObjectCollection

class  iterator

Public 成员函数

iterator begin ()
iterator end ()
NXOpen::Assemblies::ComponentPatternFindObject (const char *journalIdentifier)
NXOpen::Assemblies::ComponentPatternFindObject (const NXString &journalIdentifier)
void GetAllComponentPatterns (std::vector< NXOpen::Assemblies::ComponentPattern * > &componentPatterns)
tag_t Tag () const

详细描述

组件阵列集合类

表示所有组件阵列的集合对象。 可通过 NXOpen::Assemblies::ComponentAssembly 获取此类的实例。
要获取此类的实例,请参考 NXOpen::Assemblies::ComponentAssembly

Created in NX9.0.0.

成员函数说明

◆ begin()

iterator NXOpen::Assemblies::ComponentPatternCollection::begin ( )

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

◆ end()

iterator NXOpen::Assemblies::ComponentPatternCollection::end ( )
inline

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

◆ FindObject() [1/2]

NXOpen::Assemblies::ComponentPattern * NXOpen::Assemblies::ComponentPatternCollection::FindObject ( const char * journalIdentifier)

根据日志中记录的标识符查找 NXOpen::Assemblies::ComponentPattern 。 对象在不同软件版本中可能不会返回相同的JournalIdentifier值。 但是,当FindObject传入旧版本的日志标识符时,新版本软件应能找到同一对象。 通常,此方法不应在手写代码中使用,主要用于支持日志的记录和回放。 如果找不到具有给定日志标识符的对象,将抛出异常。

返回
具有此标识符的组件阵列,如果不存在则返回NULL
Created in NX9.0.0.

License requirements : None
参数
journalIdentifier要查找的组件阵列名称

◆ FindObject() [2/2]

NXOpen::Assemblies::ComponentPattern * NXOpen::Assemblies::ComponentPatternCollection::FindObject ( const NXString & journalIdentifier)

根据日志中记录的标识符查找 NXOpen::Assemblies::ComponentPattern 。 对象在不同软件版本中可能不会返回相同的JournalIdentifier值。 但是,当FindObject传入旧版本的日志标识符时,新版本软件应能找到同一对象。 通常,此方法不应在手写代码中使用,主要用于支持日志的记录和回放。 如果找不到具有给定日志标识符的对象,将抛出异常。

返回
具有此标识符的组件阵列,如果不存在则返回NULL
Created in NX9.0.0.

License requirements : None
参数
journalIdentifier要查找的组件阵列名称

◆ GetAllComponentPatterns()

void NXOpen::Assemblies::ComponentPatternCollection::GetAllComponentPatterns ( std::vector< NXOpen::Assemblies::ComponentPattern * > & componentPatterns)

返回装配中的所有组件阵列。
Created in NX9.0.0.

License requirements : None

参数
componentPatternscomponentpatterns

◆ Tag()

tag_t NXOpen::Assemblies::ComponentPatternCollection::Tag ( ) const

返回此对象的标签。