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

自定义双精度属性特征 更多...

#include <Features_CustomDoubleAttribute.hxx>

类 NXOpen::Features::CustomDoubleAttribute 继承关系图:
NXOpen::Features::CustomAttribute NXOpen::TransientObject

Public 成员函数

void GetValueWithUnit (double *doubleValue, NXOpen::Unit **unit)
void SetUnit (NXOpen::Unit *unit)
void SetValue (double doubleValue)
void SetValueWithUnit (double doubleValue, NXOpen::Unit *unit)
NXOpen::UnitUnit ()
double Value ()
Public 成员函数 继承自 NXOpen::Features::CustomAttribute
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 ()

额外继承的成员函数

Public 类型 继承自 NXOpen::Features::CustomAttribute
enum  Property { PropertyIsOutputAttribute = 1 , PropertyIsOwnedAttribute , PropertyIsReferencingTargetBody = 4 , PropertyMandatoryInput = 8 }
enum  Type {
  TypeUnknown , TypeExpression , TypeExpressionVla , TypeTag ,
  TypeTagVla , TypeBool , TypeBoolVla , TypeInteger ,
  TypeIntegerVla , TypeDouble , TypeDoubleVla , TypeString ,
  TypeStringVla
}

详细描述

自定义双精度属性特征

  表示 @link Features::CustomDoubleAttribute Features::CustomDoubleAttribute@endlink 类
<br> 此类的实例可通过 @link NXOpen::Features::CustomAttributeCollection::CreateCustomDoubleAttribute NXOpen::Features::CustomAttributeCollection::CreateCustomDoubleAttribute@endlink 获取   <br>


于NX11.0.0创建。

成员函数说明

◆ GetValueWithUnit()

void NXOpen::Features::CustomDoubleAttribute::GetValueWithUnit ( double * doubleValue,
NXOpen::Unit ** unit )

获取带单位的自定义双精度属性值
于NX2306.0.0创建。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
doubleValue双精度值
unit单位

◆ SetUnit()

void NXOpen::Features::CustomDoubleAttribute::SetUnit ( NXOpen::Unit * unit)

设置自定义双精度属性的单位
于NX2306.0.0创建。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
unit单位

◆ SetValue()

void NXOpen::Features::CustomDoubleAttribute::SetValue ( double doubleValue)

设置自定义双精度属性的基单位值
于NX11.0.0创建。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
doubleValue双精度值

◆ SetValueWithUnit()

void NXOpen::Features::CustomDoubleAttribute::SetValueWithUnit ( double doubleValue,
NXOpen::Unit * unit )

设置带单位的自定义双精度属性值
于NX2306.0.0创建。

许可证要求:solid_modeling ("SOLIDS MODELING")

参数
doubleValue双精度值
unit单位

◆ Unit()

NXOpen::Unit * NXOpen::Features::CustomDoubleAttribute::Unit ( )

返回自定义双精度属性的单位
于NX2306.0.0创建。

许可证要求:solid_modeling ("SOLIDS MODELING")

◆ Value()

double NXOpen::Features::CustomDoubleAttribute::Value ( )

返回自定义双精度属性的基单位值
于NX11.0.0创建。

许可证要求:solid_modeling ("SOLIDS MODELING")