NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Drawings_StandardViewsBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Drawings_StandardViewsBuilder.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/Drawings_DraftingComponentSelectionBuilder.hxx>
22#include <NXOpen/Drawings_HiddenObjectsBuilder.hxx>
23#include <NXOpen/Drawings_MultipleViewPlacementBuilder.hxx>
24#include <NXOpen/Drawings_ViewCenterCoordinateBuilder.hxx>
25#include <NXOpen/Drawings_ViewPlacementBuilder.hxx>
26#include <NXOpen/Drawings_ViewScaleBuilder.hxx>
27#include <NXOpen/Drawings_ViewStyleBuilder.hxx>
28#include <NXOpen/Builder.hxx>
29#include <NXOpen/libnxopencpp_drawings_exports.hxx>
30#ifdef _MSC_VER
31#pragma warning(push)
32#pragma warning(disable:4996)
33#endif
34#ifdef __GNUC__
35#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
36#endif
37namespace NXOpen
38{
39 namespace Drawings
40 {
42 }
43 class Builder;
44 namespace Drawings
45 {
47 }
48 namespace Drawings
49 {
51 }
52 namespace Drawings
53 {
55 }
56 namespace Drawings
57 {
59 }
60 namespace Drawings
61 {
63 }
64 namespace Drawings
65 {
66 class ViewScaleBuilder;
67 }
68 namespace Drawings
69 {
70 class ViewStyleBuilder;
71 }
72 class Part;
73 namespace Drawings
74 {
75 class _StandardViewsBuilderBuilder;
76 class StandardViewsBuilderImpl;
134 class NXOPENCPP_DRAWINGSEXPORT StandardViewsBuilder : public NXOpen::Builder
135 {
147
148 public: enum View
149 {
152 };
153
159 private: StandardViewsBuilderImpl * m_standardviewsbuilder_impl;
160 private: friend class _StandardViewsBuilderBuilder;
161 protected: StandardViewsBuilder();
162 public: ~StandardViewsBuilder();
167 (
168 );
172 public: void SetViewType
173 (
175 );
180 (
181 );
185 public: void SetLayoutType
186 (
188 );
193 public: NX_DEPRECATED("Deprecated in NX6.0.2. Use the type of the multiple view placement") NXOpen::Drawings::StandardViewsBuilder::Placement PlacementType
194 (
195 );
200 public: NX_DEPRECATED("Deprecated in NX6.0.2. Use the type of the multiple view placement") void SetPlacementType
201 (
202 NXOpen::Drawings::StandardViewsBuilder::Placement type
203 );
207 public: double MarginToBorder
208 (
209 );
213 public: void SetMarginToBorder
214 (
215 double marginToBorder
216 );
220 public: double MarginBetweenViews
221 (
222 );
227 (
228 double marginBetweenViews
229 );
234 public: NX_DEPRECATED("Deprecated in NX6.0.2. Use GetMultipleViewPlacement instead") NXOpen::Drawings::ViewPlacementBuilder * ViewPlacement
235 (
236 );
241 public: NX_DEPRECATED("Deprecated in NX6.0.2. Use the first corner of the multiple view placemnent builder instead") NXOpen::Drawings::ViewPlacementBuilder * FirstCorner
242 (
243 );
248 public: NX_DEPRECATED("Deprecated in NX6.0.2. Use the second corner of the multiple view placemnent builder instead") NXOpen::Drawings::ViewPlacementBuilder * SecondCorner
249 (
250 );
255 (
256 );
260 public: NXOpen::Part * Part
261 (
262 );
266 public: void SetPart
267 (
268 NXOpen::Part * part
269 );
274 (
275 );
279 public: bool Autoscale
280 (
281 );
285 public: void SetAutoscale
286 (
287 bool autoScale
288 );
293 (
294 );
299 (
300 );
305 (
306 );
311 (
312 );
317 (
318 );
319 };
320 }
321}
322#ifdef _MSC_VER
323#pragma warning(pop)
324#endif
325#ifdef __GNUC__
326#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
327#pragma GCC diagnostic warning "-Wdeprecated-declarations"
328#endif
329#endif
330#undef EXPORTLIBRARY