NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Drafting_AutomationRuleBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Drafting_AutomationRuleBuilder.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/GeometricUtilities_IComponentBuilder.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/libnxopencpp_drafting_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
31namespace NXOpen
32{
33 namespace Drafting
34 {
36 }
37 namespace GeometricUtilities
38 {
40 }
41 namespace Drafting
42 {
43 class _AutomationRuleBuilderBuilder;
44 class AutomationRuleBuilderImpl;
48 class NXOPENCPP_DRAFTINGEXPORT AutomationRuleBuilder : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
49 {
50 private: AutomationRuleBuilderImpl * m_automationrulebuilder_impl;
51 private: friend class _AutomationRuleBuilderBuilder;
52 protected: AutomationRuleBuilder();
53 public: ~AutomationRuleBuilder();
58 (
59 );
64 (
65 bool allowInsideGeometry
66 );
70 public: double MinimumGapToGeometry
71 (
72 );
77 (
78 double minimumGapToGeometry
79 );
83 public: double MaximumGapToGeometry
84 (
85 );
90 (
91 double maximumGapToGeometry
92 );
97 (
98 );
103 (
104 double minimumGapBetweenAnnotations
105 );
110 (
111 );
116 (
117 bool hideFeetAndInchMarks
118 );
123 (
124 );
129 (
130 bool useFeetInchesAndFraction
131 );
135 public: double LowerThreshold
136 (
137 );
141 public: void SetLowerThreshold
142 (
143 double lowerThreshold
144 );
149 (
150 );
155 (
156 bool roundFeetAndInches
157 );
161 public: double Increment
162 (
163 );
167 public: void SetIncrement
168 (
169 double increment
170 );
175 (
176 );
181 (
182 double equalDimensionTolerance
183 );
188 (
189 );
194 (
195 double referenceGeometryGapTolerance
196 );
200 public: std::vector<NXString> GetRulesList
201 (
202 );
206 public: void SetRulesList
207 (
208 std::vector<NXString> & rules
209 );
214 public: virtual bool Validate
215 (
216 );
217 };
218 }
219}
220#ifdef _MSC_VER
221#pragma warning(pop)
222#endif
223#ifdef __GNUC__
224#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
225#pragma GCC diagnostic warning "-Wdeprecated-declarations"
226#endif
227#endif
228#undef EXPORTLIBRARY