NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Layout.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Layout.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/LayoutDefinition.hxx>
22
#include <NXOpen/NXObject.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
Layout
;
34
class
LayoutDefinition
;
35
class
ModelingView
;
36
class
NXObject
;
37
class
View
;
38
class
_LayoutBuilder;
39
class
LayoutImpl;
43
class
NXOPENCPPEXPORT Layout :
public
NXOpen::NXObject
44
{
45
private
:
LayoutImpl
* m_layout_impl;
46
private
:
friend
class
_LayoutBuilder;
47
protected
: Layout();
48
public
: ~Layout();
52
public
:
void
ReplaceView
53
(
54
NXOpen::ModelingView
* view ,
55
int
row ,
56
int
column ,
57
bool
performFitView
58
);
62
public
:
void
ReplaceView
63
(
64
NXOpen::ModelingView
* oldView ,
65
NXOpen::ModelingView
* newView ,
66
bool
performFitView
67
);
71
public
:
NXOpen::LayoutDefinition
*
Definition
72
(
73
);
77
public
: std::vector<NXOpen::View *>
GetViews
78
(
79
);
85
public
:
bool
DisplayStatus
86
(
87
);
92
public
:
void
Open
93
(
94
);
100
public
:
void
Save
101
(
102
);
109
public
:
NXOpen::Layout
*
SaveAs
110
(
111
const
NXString
& layoutName
112
);
119
NXOpen::Layout
*
SaveAs
120
(
121
const
char
* layoutName
122
);
126
public
:
NXOpen::View
*
WorkView
127
(
128
);
129
};
130
}
131
#ifdef _MSC_VER
132
#pragma warning(pop)
133
#endif
134
#ifdef __GNUC__
135
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
136
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
137
#endif
138
#endif
139
#undef EXPORTLIBRARY