NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Drawings_DrawingSheet.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Drawings_DrawingSheet.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_drawings_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
30namespace NXOpen
31{
32 namespace Drawings
33 {
34 class DrawingSheet;
35 }
36 namespace Drawings
37 {
38 class BordersAndZones;
39 }
40 namespace Drawings
41 {
42 class DraftingView;
43 }
44 namespace Drawings
45 {
47 }
48 namespace Drawings
49 {
51 }
52 class NXObject;
53 class Sketch;
54 class View;
55 namespace Drawings
56 {
57 class _DrawingSheetBuilder;
58 class DrawingSheetImpl;
66 class NXOPENCPP_DRAWINGSEXPORT DrawingSheet : public NXOpen::NXObject
67 {
69 public: enum Unit
70 {
73 };
74
91
100 private: DrawingSheetImpl * m_drawingsheet_impl;
101 private: friend class _DrawingSheetBuilder;
102 protected: DrawingSheet();
103public: ~DrawingSheet();
107 public: void Open
108 (
109 );
113 public: std::vector<NXOpen::Drawings::DraftingView *> GetDraftingViews
114 (
115 );
120 (
121 );
125 public: bool IsOutOfDate
126 (
127 );
132 (
133 );
139 (
140 );
144 public: void GetScale
145 (
146 double* numerator ,
147 double* denominator
148 );
152 public: double Height
153 (
154 );
158 public: double Length
159 (
160 );
164 public: void SetParameters
165 (
166 double height ,
167 double length ,
168 double numerator ,
169 double denominator ,
172 std::vector<NXOpen::Drawings::DraftingView *> & associatedViews
173 );
179 (
180 );
185 (
186 );
191 (
192 );
197 (
199 );
204 (
206 );
211 (
212 );
217 (
218 NXOpen::Drawings::BordersAndZones * bodersAndZones
219 );
223 public: std::vector<NXOpen::Sketch *> GetDraftingSketches
224 (
225 );
234 };
235 }
236}
237#ifdef _MSC_VER
238#pragma warning(pop)
239#endif
240#ifdef __GNUC__
241#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
242#pragma GCC diagnostic warning "-Wdeprecated-declarations"
243#endif
244#endif
245#undef EXPORTLIBRARY