NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
PartFamily_FamilyAttribute.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 零件族API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// PartFamily_FamilyAttribute.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/NXObject.hxx>
22
#include <NXOpen/libnxopencpp_partfamily_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
PartFamily
33
{
34
class
FamilyAttribute
;
35
}
36
class
NXObject
;
37
namespace
PartFamily
38
{
39
class
_FamilyAttributeBuilder;
40
class
FamilyAttributeImpl;
48
class
NXOPENCPP_PARTFAMILYEXPORT FamilyAttribute :
public
NXOpen::NXObject
49
{
54
public
:
enum
AttrType
55
{
56
AttrTypeText
= 1,
57
AttrTypeNumeric
,
58
AttrTypeInteger
,
59
AttrTypeDouble
,
60
AttrTypeString
,
61
AttrTypePart
,
62
AttrTypeName
,
63
AttrTypeInstance
,
64
AttrTypeExpression
,
65
AttrTypeMirror
,
66
AttrTypeDensity
,
67
AttrTypeFeature
,
68
AttrTypeMass
,
69
AttrTypeMaterial
,
70
AttrTypeCofm
,
71
AttrTypeUndefined
72
};
73
private
: FamilyAttributeImpl * m_familyattribute_impl;
74
private
:
friend
class
_FamilyAttributeBuilder;
75
protected
:
FamilyAttribute
();
76
public
:
~FamilyAttribute
();
80
public
:
NXOpen::PartFamily::FamilyAttribute::AttrType
Type
81
(
82
);
86
public
:
NXString
Value
87
(
88
);
92
public
:
NXString
Name
93
(
94
);
98
public
:
int
Version
99
(
100
);
105
public
:
bool
IsRequired
106
(
107
);
112
public
:
bool
IsOptional
113
(
114
);
115
};
116
}
117
}
118
#ifdef _MSC_VER
119
#pragma warning(pop)
120
#endif
121
#ifdef __GNUC__
122
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
123
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
124
#endif
125
#endif
126
#undef EXPORTLIBRARY