NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
MassPropertiesBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// MassPropertiesBuilder.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/Builder.hxx>
22
#include <NXOpen/SelectObjectList.hxx>
23
#include <NXOpen/libnxopencpp_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
class
MassPropertiesBuilder
;
34
class
Builder
;
35
class
SelectNXObjectList
;
36
class
_MassPropertiesBuilderBuilder;
37
class
MassPropertiesBuilderImpl;
42
class
NXOPENCPPEXPORT MassPropertiesBuilder :
public
NXOpen::Builder
43
{
45
public
:
enum
UpdateOptions
46
{
47
UpdateOptionsNo
,
48
UpdateOptionsYes
,
49
UpdateOptionsMixed
50
};
51
private
:
MassPropertiesBuilderImpl
* m_masspropertiesbuilder_impl;
52
private
:
friend
class
_MassPropertiesBuilderBuilder;
53
protected
:
MassPropertiesBuilder
();
54
public
:
~MassPropertiesBuilder
();
58
public
:
NXOpen::SelectNXObjectList
*
SelectedObjects
59
(
60
);
64
public
:
NXOpen::MassPropertiesBuilder::UpdateOptions
UpdateOnSave
65
(
66
);
70
public
:
void
SetUpdateOnSave
71
(
72
NXOpen::MassPropertiesBuilder::UpdateOptions
updateOption
73
);
77
public
:
bool
LoadPartialComponents
78
(
79
);
83
public
:
void
SetLoadPartialComponents
84
(
85
bool
loadPartialComponents
86
);
91
public
:
void
UpdateNow
92
(
93
);
97
public
:
double
Accuracy
98
(
99
);
103
public
:
void
SetAccuracy
104
(
105
double
accuracy
106
);
107
};
108
}
109
#ifdef _MSC_VER
110
#pragma warning(pop)
111
#endif
112
#ifdef __GNUC__
113
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
114
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
115
#endif
116
#endif
117
#undef EXPORTLIBRARY