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

替换组件构建器 更多...

#include <Layout2d_ReplaceComponentBuilder.hxx>

类 NXOpen::Layout2d::ReplaceComponentBuilder 继承关系图:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 成员函数

NXOpen::Layout2d::SelectComponentListComponents ()
NXOpen::Layout2d::Layout2dDefinitionLocation Location ()
NXString Path ()
bool ReplaceAll ()
void SetLocation (NXOpen::Layout2d::Layout2dDefinitionLocation locationType)
void SetPath (const char *path)
void SetPath (const NXString &path)
void SetReplaceAll (bool replaceAll)
Public 成员函数 继承自 NXOpen::Builder
NXOpen::NXObjectCommit ()
void Destroy ()
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
NXOpen::NXObjectGetObject ()
NXOpen::PreviewBuilderPreviewBuilder ()
void ShowResults ()
virtual bool Validate ()
Public 成员函数 继承自 NXOpen::TaggedObject
tag_t Tag () const

友元

class _ReplaceComponentBuilderBuilder

详细描述

替换组件构建器

表示用于替换2D组件功能的Builder,该功能将使用另一个2D组件定义替换所选2D组件的内容。
要创建此类的新实例,请使用 NXOpen::Layout2d::ComponentCollection::CreateReplaceComponentBuilder

创建于NX10.0.0版本。

成员函数说明

◆ Components()

NXOpen::Layout2d::SelectComponentList * NXOpen::Layout2d::ReplaceComponentBuilder::Components ( )

获取要替换定义的所选2D组件列表
创建于NX10.0.0版本。

许可要求:无

◆ Location()

NXOpen::Layout2d::Layout2dDefinitionLocation NXOpen::Layout2d::ReplaceComponentBuilder::Location ( )

获取要替换的2D组件定义的位置类型 指示本地、原生或Teamcenter位置
创建于NX10.0.0版本。

许可要求:无

◆ Path()

NXString NXOpen::Layout2d::ReplaceComponentBuilder::Path ( )

获取要替换的2D组件定义的路径
创建于NX10.0.0版本。

许可要求:无

◆ ReplaceAll()

bool NXOpen::Layout2d::ReplaceComponentBuilder::ReplaceAll ( )

获取指示是否替换所选组件的所有实例的标志
创建于NX10.0.0版本。

许可要求:无

◆ SetLocation()

void NXOpen::Layout2d::ReplaceComponentBuilder::SetLocation ( NXOpen::Layout2d::Layout2dDefinitionLocation locationType)

设置要替换的2D组件定义的位置类型 指示本地、原生或Teamcenter位置
创建于NX10.0.0版本。

许可要求:nx_layout ("NX Layout")

参数
locationTypelocationtype

◆ SetPath() [1/2]

void NXOpen::Layout2d::ReplaceComponentBuilder::SetPath ( const char * path)

设置要替换的2D组件定义的路径
创建于NX10.0.0版本。

许可要求:nx_layout ("NX Layout")

参数
pathpath

◆ SetPath() [2/2]

void NXOpen::Layout2d::ReplaceComponentBuilder::SetPath ( const NXString & path)

设置要替换的2D组件定义的路径
创建于NX10.0.0版本。

许可要求:nx_layout ("NX Layout")

参数
pathpath

◆ SetReplaceAll()

void NXOpen::Layout2d::ReplaceComponentBuilder::SetReplaceAll ( bool replaceAll)

设置指示是否替换所选组件的所有实例的标志
创建于NX10.0.0版本。

许可要求:nx_layout ("NX Layout")

参数
replaceAllreplaceall