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

焊接特性构建器 更多...

#include <Weld_CharacteristicsBuilder.hxx>

类 NXOpen::Weld::CharacteristicsBuilder 继承关系图:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  Type {
  TypeNone , TypeFilletFeature = 24 , TypeGrooveFeature , TypeResistanceSpotFeature ,
  TypeArcSpotFeature , TypeClinchFeature , TypeDollopFeature , TypeWeldNutFeature ,
  TypeWeldStudFeature , TypeCustom1PointFeature , TypeCustom2PointFeature , TypeCustom3PointFeature ,
  TypeCustom4PointFeature , TypeCustom5PointFeature , TypeDatumSurfaceFeature , TypeDatumPinFeature ,
  TypeDatumCustom1Feature , TypeDatumCustom2Feature , TypeDatumCustom3Feature , TypeMeasurementSurfaceFeature ,
  TypeMeasurementHoleFeature , TypeMeasurementSlotFeature , TypeMeasurementStudFeature , TypeMeasurementTrimFeature ,
  TypeMeasurementHemFeature , TypeMeasurementCustom1Feature , TypeMeasurementCustom2Feature , TypeMeasurementCustom3Feature ,
  TypeUserDefinedFeature , TypeSealerFillFeature , TypeSealerBeadFeature , TypeJointFeature ,
  TypePlugSlotFeature , TypeShipHull = 57 , TypeShipDeck , TypeShipTransverseBulkhead ,
  TypeShipLongitudinalBulkhead , TypeShipGenericPlate , TypeShipStiffener , TypeShipEdgeReinforcement ,
  TypeShipSeam , TypeDatumSurfaceCustom0 , TypeDatumSurfaceCustom1 , TypeDatumSurfaceCustom2 ,
  TypeDatumSurfaceCustom3 , TypeDatumSurfaceCustom4 , TypeDatumSurfaceCustom5 , TypeDatumSurfaceCustom6 ,
  TypeDatumSurfaceCustom7 , TypeDatumPinCustom0 , TypeDatumPinCustom1 , TypeDatumPinCustom2 ,
  TypeDatumPinCustom3 , TypeDatumPinCustom4 , TypeDatumPinCustom5 , TypeDatumPinCustom6 ,
  TypeDatumPinCustom7 , TypeSurfaceWeld , TypeShipProfileCutOut , TypeJointmarkFeature ,
  TypeShipStandardPart , TypePointMarkResistanceSpot , TypePointMarkArcSpot , TypePointMarkDollop ,
  TypePointMarkClinch , TypePointMarkWeldNut , TypePointMarkWeldStud , TypePointMarkCustom1 ,
  TypePointMarkCustom2 , TypePointMarkCustom3 , TypePointMarkCustom4 , TypePointMarkCustom5 ,
  TypeShipBracket , TypeShipCollarPlate , TypeDatumEdgeFeature , TypeDatumEdgeCustom0 ,
  TypeDatumEdgeCustom1 , TypeDatumEdgeCustom2 , TypeDatumEdgeCustom3 , TypeDatumEdgeCustom4 ,
  TypeDatumEdgeCustom5 , TypeDatumEdgeCustom6 , TypeDatumEdgeCustom7
}

Public 成员函数

void ApplyAttributes (const std::vector< NXOpen::NXObject * > &objects)
void ApplyAttributesToSelected ()
bool AreAttributesDefault (NXOpen::Weld::CharacteristicsBuilder::Type charxType)
void ChangeFeatureType (NXOpen::Weld::CharacteristicsBuilder::Type charxType)
void CopyAttributesFromObject (NXOpen::NXObject *object)
void CopyAttributesFromObjectForPaint (NXOpen::NXObject *objectTag)
void CopyNonActiveAttributesFromObject (NXOpen::NXObject *object)
NXOpen::Weld::CharacteristicsSelectionBuilderCreateSelectionSet (NXOpen::Weld::CharacteristicsBuilder::Type charxType, NXOpen::NXObject *data)
bool DoesObjectHaveAttributes (NXOpen::NXObject *object)
bool HasActiveValues ()
void InheritAttributesFromObject (NXOpen::NXObject *object)
NXOpen::SelectNXObjectInheritObject ()
 NX_DEPRECATED ("Deprecated in NX9.0.0. Use overloaded function with enum instead.") bool AreAttributesDefault(int weldType)
 NX_DEPRECATED ("Deprecated in NX9.0.0. Use overloaded function with enum instead.") void ChangeFeatureType(int weldType)
void RemoveAllAttributes (const std::vector< NXOpen::NXObject * > &objects)
void RemoveInheritedAttributes ()
NXOpen::Weld::CharacteristicsValueBuilderSelected ()
NXOpen::NXObjectListSelectionList ()
void SetAllAttributesChanged ()
void SetAllAttributesChanged (bool status)
void SetSelected (NXOpen::Weld::CharacteristicsValueBuilder *valueBuilder)
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 _CharacteristicsBuilderBuilder

详细描述

焊接特性构建器

该建造器用于定义焊接特征输出上要设置的属性值。
要创建此类的新实例,请使用 NXOpen::Weld::WeldManager::CreateCharacteristicsBuilder

于NX7.5.0中创建。

成员枚举类型说明

◆ Type

创建时指定的基准自定义类型。

枚举值
TypeNone 

TypeFilletFeature 

角焊缝特征

TypeGrooveFeature 

坡口焊缝特征

TypeResistanceSpotFeature 

电阻点焊特征

TypeArcSpotFeature 

电弧点焊特征

TypeClinchFeature 

压接特征

TypeDollopFeature 

堆焊特征

TypeWeldNutFeature 

焊接螺母特征

TypeWeldStudFeature 

焊接螺柱特征

TypeCustom1PointFeature 

自定义1点特征

TypeCustom2PointFeature 

自定义2点特征

TypeCustom3PointFeature 

自定义3点特征

TypeCustom4PointFeature 

自定义4点特征

TypeCustom5PointFeature 

自定义5点特征

TypeDatumSurfaceFeature 

基准面特征

TypeDatumPinFeature 

基准销特征

TypeDatumCustom1Feature 

基准自定义1特征

TypeDatumCustom2Feature 

基准自定义2特征

TypeDatumCustom3Feature 

基准自定义3特征

TypeMeasurementSurfaceFeature 

测量面特征

TypeMeasurementHoleFeature 

测量孔特征

TypeMeasurementSlotFeature 

测量槽特征

TypeMeasurementStudFeature 

测量螺柱特征

TypeMeasurementTrimFeature 

测量修剪特征

TypeMeasurementHemFeature 

测量卷边特征

TypeMeasurementCustom1Feature 

测量自定义1特征

TypeMeasurementCustom2Feature 

测量自定义2特征

TypeMeasurementCustom3Feature 

测量自定义3特征

TypeUserDefinedFeature 

用户定义特征

TypeSealerFillFeature 

密封填充特征

TypeSealerBeadFeature 

密封焊道特征

TypeJointFeature 

接头特征

TypePlugSlotFeature 

塞槽特征

TypeShipHull 

船体

TypeShipDeck 

甲板

TypeShipTransverseBulkhead 

横向舱壁

TypeShipLongitudinalBulkhead 

纵向舱壁

TypeShipGenericPlate 

通用船板

TypeShipStiffener 

船用加强筋

TypeShipEdgeReinforcement 

边缘加强

TypeShipSeam 

焊缝

TypeDatumSurfaceCustom0 

基准面自定义0

TypeDatumSurfaceCustom1 

基准面自定义1

TypeDatumSurfaceCustom2 

基准面自定义2

TypeDatumSurfaceCustom3 

基准面自定义3

TypeDatumSurfaceCustom4 

基准面自定义4

TypeDatumSurfaceCustom5 

基准面自定义5

TypeDatumSurfaceCustom6 

基准面自定义6

TypeDatumSurfaceCustom7 

基准面自定义7

TypeDatumPinCustom0 

基准销自定义0

TypeDatumPinCustom1 

基准销自定义1

TypeDatumPinCustom2 

基准销自定义2

TypeDatumPinCustom3 

基准销自定义3

TypeDatumPinCustom4 

基准销自定义4

TypeDatumPinCustom5 

基准销自定义5

TypeDatumPinCustom6 

基准销自定义6

TypeDatumPinCustom7 

基准销自定义7

TypeSurfaceWeld 

表面焊接

TypeShipProfileCutOut 

型材切口

TypeJointmarkFeature 

接头标记特征

TypeShipStandardPart 

船用标准件

TypePointMarkResistanceSpot 

点标记电阻点焊

TypePointMarkArcSpot 

点标记电弧点焊

TypePointMarkDollop 

点标记堆焊

TypePointMarkClinch 

点标记压接

TypePointMarkWeldNut 

点标记焊接螺母

TypePointMarkWeldStud 

点标记焊接螺柱

TypePointMarkCustom1 

点标记自定义1

TypePointMarkCustom2 

点标记自定义2

TypePointMarkCustom3 

点标记自定义3

TypePointMarkCustom4 

点标记自定义4

TypePointMarkCustom5 

点标记自定义5

TypeShipBracket 

船用支架

TypeShipCollarPlate 

船用围板

TypeDatumEdgeFeature 

基准边特征

TypeDatumEdgeCustom0 

基准边自定义0

TypeDatumEdgeCustom1 

基准边自定义1

TypeDatumEdgeCustom2 

基准边自定义2

TypeDatumEdgeCustom3 

基准边自定义3

TypeDatumEdgeCustom4 

基准边自定义4

TypeDatumEdgeCustom5 

基准边自定义5

TypeDatumEdgeCustom6 

基准边自定义6

TypeDatumEdgeCustom7 

基准边自定义7

成员函数说明

◆ ApplyAttributes()

void NXOpen::Weld::CharacteristicsBuilder::ApplyAttributes ( const std::vector< NXOpen::NXObject * > & objects)

将所选属性应用到对象上。
创建于NX7.5.0。

许可证要求:无

参数
objects要应用属性的对象。

◆ ApplyAttributesToSelected()

void NXOpen::Weld::CharacteristicsBuilder::ApplyAttributesToSelected ( )

将所选属性应用到已选对象上。
创建于NX7.5.0。

许可证要求:无

◆ AreAttributesDefault()

bool NXOpen::Weld::CharacteristicsBuilder::AreAttributesDefault ( NXOpen::Weld::CharacteristicsBuilder::Type charxType)

如果特征构造器包含所有默认值的属性,返回true。
创建于NX9.0.0。

许可证要求:无

参数
charxType正在处理的特征类型

◆ ChangeFeatureType()

void NXOpen::Weld::CharacteristicsBuilder::ChangeFeatureType ( NXOpen::Weld::CharacteristicsBuilder::Type charxType)

更改定义属性的特征类型。 注意,调用此方法后,之前获取的WeldJA::CharacteristicsValueBuilder对象将失效。如果要对它们进行任何更改,需要重新访问它们。
创建于NX9.0.0。

许可证要求:无

参数
charxType正在处理的特征类型

◆ CopyAttributesFromObject()

void NXOpen::Weld::CharacteristicsBuilder::CopyAttributesFromObject ( NXOpen::NXObject * object)

将对象上的属性复制到选择集中。
创建于NX8.0.0。

许可证要求:无

参数
object要从中复制属性的对象。

◆ CopyAttributesFromObjectForPaint()

void NXOpen::Weld::CharacteristicsBuilder::CopyAttributesFromObjectForPaint ( NXOpen::NXObject * objectTag)

复制对象上的属性到待绘制的选择项。
创建于NX10.0.0。

许可证要求:无

参数
objectTag要复制属性的源对象。

◆ CopyNonActiveAttributesFromObject()

void NXOpen::Weld::CharacteristicsBuilder::CopyNonActiveAttributesFromObject ( NXOpen::NXObject * object)

将对象上的非活动属性复制到选择集中。
创建于NX8.0.0。

许可证要求:无

参数
object要从中复制属性的对象。

◆ CreateSelectionSet()

NXOpen::Weld::CharacteristicsSelectionBuilder * NXOpen::Weld::CharacteristicsBuilder::CreateSelectionSet ( NXOpen::Weld::CharacteristicsBuilder::Type charxType,
NXOpen::NXObject * data )

创建新选择集并添加到列表中。

弃用
于NX9.0.0中已弃用。请使用带枚举的重载函数替代。

创建于NX7.5.0。

许可证要求:无

创建新选择集并添加到列表中。
创建于NX9.0.0。

许可证要求:无

参数
charxType正在处理的特性类型
data用于检索当前属性设置的对象。

◆ DoesObjectHaveAttributes()

bool NXOpen::Weld::CharacteristicsBuilder::DoesObjectHaveAttributes ( NXOpen::NXObject * object)

将对象上的属性复制到选择集中,并返回指示对象是否实际具有属性的标志。
创建于NX8.0.1。

许可证要求:无

参数
object要从中复制属性的对象。

◆ HasActiveValues()

bool NXOpen::Weld::CharacteristicsBuilder::HasActiveValues ( )

如果特性构建器有任何活动值,则返回true。
创建于NX8.0.0。

许可证要求:无

◆ InheritAttributesFromObject()

void NXOpen::Weld::CharacteristicsBuilder::InheritAttributesFromObject ( NXOpen::NXObject * object)

将对象上的属性继承到选择集中。
创建于NX8.5.0。

许可证要求:无

参数
object要从中继承属性的对象。

◆ InheritObject()

NXOpen::SelectNXObject * NXOpen::Weld::CharacteristicsBuilder::InheritObject ( )

返回用于定义属性值的选择对象。
创建于NX7.5.0。

许可证要求:无

◆ NX_DEPRECATED() [1/2]

NXOpen::Weld::CharacteristicsBuilder::NX_DEPRECATED ( "Deprecated in NX9.0.0. Use overloaded function with enum instead." )

如果特性构建器包含所有带默认值的属性,则返回true。

弃用
于NX9.0.0中已弃用。请使用带枚举的重载函数替代。

创建于NX8.0.0。

许可证要求:无

正在处理的焊缝特征类型,请参见uf_weld_types.h。

◆ NX_DEPRECATED() [2/2]

NXOpen::Weld::CharacteristicsBuilder::NX_DEPRECATED ( "Deprecated in NX9.0.0. Use overloaded function with enum instead." )

更改定义属性的特征类型。 注意,调用此方法后,之前获取的WeldJA::CharacteristicsValueBuilder对象将失效。如果要对它们进行任何更改,需要重新访问它们。

弃用
在NX9.0.0中已废弃。请使用带枚举的重载函数。

创建于NX7.5.0。

许可证要求:无

正在处理的焊接特征类型,参见uf_weld_types.h。

◆ RemoveAllAttributes()

void NXOpen::Weld::CharacteristicsBuilder::RemoveAllAttributes ( const std::vector< NXOpen::NXObject * > & objects)

从对象中移除所有属性。
创建于NX8.0.0。

许可证要求:无

参数
objects要移除属性的对象。

◆ RemoveInheritedAttributes()

void NXOpen::Weld::CharacteristicsBuilder::RemoveInheritedAttributes ( )

移除从其他对象(例如边)继承的所有属性。这些属性是非必需且未分类的。
创建于NX8.0.1。

许可证要求:无

◆ Selected()

NXOpen::Weld::CharacteristicsValueBuilder * NXOpen::Weld::CharacteristicsBuilder::Selected ( )

返回选中的特征值。
创建于NX7.5.0。

许可证要求:无

◆ SelectionList()

NXOpen::NXObjectList * NXOpen::Weld::CharacteristicsBuilder::SelectionList ( )

返回此焊缝特征选择的潜在属性和对象列表。
创建于NX7.5.0。

许可证要求:无

◆ SetAllAttributesChanged() [1/2]

void NXOpen::Weld::CharacteristicsBuilder::SetAllAttributesChanged ( )

将所有属性设置为已更改。
创建于NX8.5.0。

许可证要求:无

◆ SetAllAttributesChanged() [2/2]

void NXOpen::Weld::CharacteristicsBuilder::SetAllAttributesChanged ( bool status)

将所有属性的更改值设置为状态值。
创建于NX9.0.0。

许可证要求:无

参数
status要设置的更改值。true表示属性已更改,false表示属性未更改

◆ SetSelected()

void NXOpen::Weld::CharacteristicsBuilder::SetSelected ( NXOpen::Weld::CharacteristicsValueBuilder * valueBuilder)

设置选中的特征值。
创建于NX7.5.0。

许可证要求:无

参数
valueBuilder值构造器