|
NX Open C++ 参考指南 2406 v1.1
|
自定义属性特征 更多...
#include <Features_CustomAttribute.hxx>
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::Property > | GetProperties () |
| 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中创建。
|
virtual |
释放与此对象关联的内存。调用此方法后,该对象不再有效。
于NX11.0.0中创建。
许可证要求 : None
| void NXOpen::Features::CustomAttribute::AddProperty | ( | NXOpen::Features::CustomAttribute::Property | attributeProperty | ) |
自定义属性添加属性
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")
| attributeProperty | 属性属性 |
| std::vector< NXOpen::Features::CustomAttribute::Property > NXOpen::Features::CustomAttribute::GetProperties | ( | ) |
自定义属性获取所有属性
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")
| bool NXOpen::Features::CustomAttribute::HasProperty | ( | NXOpen::Features::CustomAttribute::Property | attributeProperty | ) |
自定义属性是否存在指定属性
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")
| attributeProperty | 属性属性 |
| NXString NXOpen::Features::CustomAttribute::Name | ( | ) |
返回自定义属性名称
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")
| void NXOpen::Features::CustomAttribute::RemoveProperty | ( | NXOpen::Features::CustomAttribute::Property | attributeProperty | ) |
自定义属性移除属性
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")
| attributeProperty | 属性属性 |
| void NXOpen::Features::CustomAttribute::SetName | ( | const char * | attributeName | ) |
设置自定义属性名称
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")
| attributeName | 属性名称 |
| void NXOpen::Features::CustomAttribute::SetName | ( | const NXString & | attributeName | ) |
设置自定义属性名称
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")
| attributeName | 属性名称 |
| NXOpen::Features::CustomAttribute::Type NXOpen::Features::CustomAttribute::TypeValue | ( | ) |
返回自定义属性类型值
于NX11.0.0中创建。
许可证要求 : 实体建模 ("SOLIDS MODELING")