NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_DrivingValueBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口访问JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_DrivingValueBuilder.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/Expression.hxx>
22#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_annotations_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace Annotations
35 {
37 }
38 class Expression;
39 namespace GeometricUtilities
40 {
42 }
43 namespace Annotations
44 {
45 class _DrivingValueBuilderBuilder;
46 class DrivingValueBuilderImpl;
50 class NXOPENCPP_ANNOTATIONSEXPORT DrivingValueBuilder : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
51 {
60
66 private: DrivingValueBuilderImpl * m_drivingvaluebuilder_impl;
67 private: friend class _DrivingValueBuilderBuilder;
68 protected: DrivingValueBuilder();
69 public: ~DrivingValueBuilder();
74 (
75 );
79 public: void SetDrivingMethod
80 (
82 );
86 public: bool Reference
87 (
88 );
92 public: void SetReference
93 (
94 bool reference
95 );
100 public: NX_DEPRECATED("在NX1847.0.0中弃用。 请使用 NXOpen::Annotations::DrivingValueBuilder::ExpressionValue 来获取表达式。") NXString ExpressionName
101 (
102 );
107 public: NX_DEPRECATED("在NX1847.0.0中弃用。 请使用 NXOpen::Annotations::DrivingValueBuilder::ExpressionValue 来获取表达式,并使用 NXOpen::ExpressionCollection::Rename。") void SetExpressionName
108 (
109 const NXString & expressionName
110 );
116 (
117 const char * expressionName
118 );
123 (
124 );
128 public: void SetExpressionMode
129 (
130 NXOpen::Annotations::DrivingValueBuilder::DrivingExpressionMode expressionMode
131 );
136 (
137 );
141 public: double DimensionValue
142 (
143 );
147 public: void SetDimensionValue
148 (
149 double dimensionValue
150 );
158 public: virtual bool Validate
159 (
160 );
161 };
162 }
163}
164#ifdef _MSC_VER
165#pragma warning(pop)
166#endif
167#ifdef __GNUC__
168#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
169#pragma GCC diagnostic warning "-Wdeprecated-declarations"
170#endif
171#endif
172#undef EXPORTLIBRARY