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

自定义属性特征 更多...

#include <Features_CustomAttribute.hxx>

类 NXOpen::Features::CustomAttribute 继承关系图:
NXOpen::TransientObject NXOpen::Features::CustomDoubleArrayAttribute NXOpen::Features::CustomDoubleAttribute NXOpen::Features::CustomExpressionArrayAttribute NXOpen::Features::CustomExpressionAttribute NXOpen::Features::CustomIntegerArrayAttribute NXOpen::Features::CustomIntegerAttribute NXOpen::Features::CustomLogicalArrayAttribute NXOpen::Features::CustomLogicalAttribute NXOpen::Features::CustomStringArrayAttribute NXOpen::Features::CustomStringAttribute NXOpen::Features::CustomTagArrayAttribute NXOpen::Features::CustomTagAttribute

Public 类型

enum  Property { PropertyIsOutputAttribute = 1 , PropertyIsOwnedAttribute , PropertyIsReferencingTargetBody = 4 , PropertyMandatoryInput = 8 }
enum  Type {
  TypeUnknown , TypeExpression , TypeExpressionVla , TypeTag ,
  TypeTagVla , TypeBool , TypeBoolVla , TypeInteger ,
  TypeIntegerVla , TypeDouble , TypeDoubleVla , TypeString ,
  TypeStringVla
}

Public 成员函数

void AddProperty (NXOpen::Features::CustomAttribute::Property attributeProperty)
std::vector< NXOpen::Features::CustomAttribute::PropertyGetProperties ()
bool HasProperty (NXOpen::Features::CustomAttribute::Property attributeProperty)
NXString Name ()
void RemoveProperty (NXOpen::Features::CustomAttribute::Property attributeProperty)
void SetName (const char *attributeName)
void SetName (const NXString &attributeName)
NXOpen::Features::CustomAttribute::Type TypeValue ()
virtual ~CustomAttribute ()
Public 成员函数 继承自 NXOpen::TransientObject
void * GetHandle ()

详细描述

自定义属性特征

  表示@link Features::CustomAttribute Features::CustomAttribute@endlink类
<br> 这是所有属性类型的抽象基类。  <br>


于NX11.0.0中创建。

成员枚举类型说明

◆ Property

指定自定义属性类型。

枚举值
PropertyIsOutputAttribute 

输出属性

PropertyIsOwnedAttribute 

自有属性

PropertyIsReferencingTargetBody 

属性引用目标体

PropertyMandatoryInput 

必填输入

◆ Type

指定自定义属性类型。

枚举值
TypeUnknown 

无效或未知。

TypeExpression 

表达式。

TypeExpressionVla 

表达式变长数组。

TypeTag 

引用。

TypeTagVla 

引用变长数组。

TypeBool 

布尔值。

TypeBoolVla 

布尔变长数组。

TypeInteger 

整数。

TypeIntegerVla 

整数变长数组。

TypeDouble 

双精度浮点数。

TypeDoubleVla 

双精度浮点数变长数组。

TypeString 

字符串。

TypeStringVla 

字符串变长数组。

构造及析构函数说明

◆ ~CustomAttribute()

virtual NXOpen::Features::CustomAttribute::~CustomAttribute ( )
virtual

释放与此对象关联的内存。调用此方法后,该对象不再有效。
于NX11.0.0中创建。

许可证要求 : None

成员函数说明

◆ AddProperty()

void NXOpen::Features::CustomAttribute::AddProperty ( NXOpen::Features::CustomAttribute::Property attributeProperty)

自定义属性添加属性
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")

参数
attributeProperty属性属性

◆ GetProperties()

std::vector< NXOpen::Features::CustomAttribute::Property > NXOpen::Features::CustomAttribute::GetProperties ( )

自定义属性获取所有属性
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")

◆ HasProperty()

bool NXOpen::Features::CustomAttribute::HasProperty ( NXOpen::Features::CustomAttribute::Property attributeProperty)

自定义属性是否存在指定属性
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")

参数
attributeProperty属性属性

◆ Name()

NXString NXOpen::Features::CustomAttribute::Name ( )

返回自定义属性名称
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")

◆ RemoveProperty()

void NXOpen::Features::CustomAttribute::RemoveProperty ( NXOpen::Features::CustomAttribute::Property attributeProperty)

自定义属性移除属性
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")

参数
attributeProperty属性属性

◆ SetName() [1/2]

void NXOpen::Features::CustomAttribute::SetName ( const char * attributeName)

设置自定义属性名称
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")

参数
attributeName属性名称

◆ SetName() [2/2]

void NXOpen::Features::CustomAttribute::SetName ( const NXString & attributeName)

设置自定义属性名称
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")

参数
attributeName属性名称

◆ TypeValue()

NXOpen::Features::CustomAttribute::Type NXOpen::Features::CustomAttribute::TypeValue ( )

返回自定义属性类型值
于NX11.0.0中创建。

许可证要求 : 实体建模 ("SOLIDS MODELING")