ansys-fluent-core 0.33.dev0__py3-none-any.whl → 0.33.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ansys-fluent-core might be problematic. Click here for more details.

Files changed (82) hide show
  1. ansys/fluent/core/__init__.py +11 -4
  2. ansys/fluent/core/codegen/builtin_settingsgen.py +17 -9
  3. ansys/fluent/core/codegen/datamodelgen.py +2 -2
  4. ansys/fluent/core/codegen/print_fluent_version.py +4 -4
  5. ansys/fluent/core/codegen/settingsgen.py +1 -2
  6. ansys/fluent/core/exceptions.py +0 -1
  7. ansys/fluent/core/file_session.py +9 -9
  8. ansys/fluent/core/filereader/case_file.py +2 -2
  9. ansys/fluent/core/fluent_connection.py +5 -5
  10. ansys/fluent/core/generated/api_tree/api_objects.json +1 -1
  11. ansys/fluent/core/generated/datamodel_231/flicing.py +40 -40
  12. ansys/fluent/core/generated/datamodel_231/meshing.py +182 -182
  13. ansys/fluent/core/generated/datamodel_232/flicing.py +55 -55
  14. ansys/fluent/core/generated/datamodel_232/meshing.py +174 -174
  15. ansys/fluent/core/generated/datamodel_241/flicing.py +20 -20
  16. ansys/fluent/core/generated/datamodel_241/meshing.py +283 -283
  17. ansys/fluent/core/generated/datamodel_242/flicing.py +40 -40
  18. ansys/fluent/core/generated/datamodel_242/meshing.py +308 -308
  19. ansys/fluent/core/generated/datamodel_251/flicing.py +35 -35
  20. ansys/fluent/core/generated/datamodel_251/meshing.py +295 -295
  21. ansys/fluent/core/generated/datamodel_251/part_management.py +6 -6
  22. ansys/fluent/core/generated/datamodel_252/flicing.py +25 -25
  23. ansys/fluent/core/generated/datamodel_252/meshing.py +424 -424
  24. ansys/fluent/core/generated/datamodel_252/part_management.py +5 -5
  25. ansys/fluent/core/generated/datamodel_261/flicing.py +40 -40
  26. ansys/fluent/core/generated/datamodel_261/meshing.py +443 -425
  27. ansys/fluent/core/generated/datamodel_261/meshing_utilities.py +296 -616
  28. ansys/fluent/core/generated/datamodel_261/part_management.py +10 -10
  29. ansys/fluent/core/generated/datamodel_261/preferences.py +7 -0
  30. ansys/fluent/core/generated/datamodel_261/solver_workflow.py +7 -0
  31. ansys/fluent/core/generated/fluent_version_252.py +1 -1
  32. ansys/fluent/core/generated/fluent_version_261.py +3 -3
  33. ansys/fluent/core/generated/meshing/tui_261.py +1137 -1177
  34. ansys/fluent/core/generated/solver/settings_252.py +55 -55
  35. ansys/fluent/core/generated/solver/settings_261.py +4147 -4698
  36. ansys/fluent/core/generated/solver/settings_261.pyi +3467 -5578
  37. ansys/fluent/core/generated/solver/settings_builtin.py +57 -1
  38. ansys/fluent/core/generated/solver/settings_builtin.pyi +79 -0
  39. ansys/fluent/core/generated/solver/tui_261.py +2625 -2771
  40. ansys/fluent/core/launcher/container_launcher.py +7 -9
  41. ansys/fluent/core/launcher/fluent_container.py +107 -75
  42. ansys/fluent/core/launcher/launch_options.py +22 -1
  43. ansys/fluent/core/launcher/launcher.py +5 -4
  44. ansys/fluent/core/launcher/slurm_launcher.py +1 -0
  45. ansys/fluent/core/pyfluent_warnings.py +13 -0
  46. ansys/fluent/core/search.py +170 -83
  47. ansys/fluent/core/services/app_utilities.py +52 -32
  48. ansys/fluent/core/services/datamodel_se.py +6 -3
  49. ansys/fluent/core/services/scheme_eval.py +2 -0
  50. ansys/fluent/core/services/solution_variables.py +64 -49
  51. ansys/fluent/core/session.py +36 -30
  52. ansys/fluent/core/session_base_meshing.py +2 -24
  53. ansys/fluent/core/session_shared.py +5 -2
  54. ansys/fluent/core/session_solver.py +15 -9
  55. ansys/fluent/core/solver/__init__.py +1 -1
  56. ansys/fluent/core/solver/flobject.py +62 -64
  57. ansys/fluent/core/solver/settings_builtin_bases.py +14 -7
  58. ansys/fluent/core/solver/settings_builtin_data.py +121 -540
  59. ansys/fluent/core/utils/context_managers.py +0 -17
  60. ansys/fluent/core/utils/fluent_version.py +173 -0
  61. {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info}/METADATA +8 -8
  62. {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info}/RECORD +64 -82
  63. {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info}/WHEEL +1 -1
  64. ansys/fluent/core/generated/datamodel_222/meshing.py +0 -6332
  65. ansys/fluent/core/generated/datamodel_222/part_management.py +0 -2072
  66. ansys/fluent/core/generated/datamodel_222/pm_file_management.py +0 -290
  67. ansys/fluent/core/generated/datamodel_222/preferences.py +0 -2449
  68. ansys/fluent/core/generated/datamodel_222/workflow.py +0 -651
  69. ansys/fluent/core/generated/fluent_version_222.py +0 -5
  70. ansys/fluent/core/generated/meshing/tui_222.py +0 -9649
  71. ansys/fluent/core/generated/solver/settings_222.py +0 -29473
  72. ansys/fluent/core/generated/solver/settings_222.pyi +0 -19590
  73. ansys/fluent/core/generated/solver/tui_222.py +0 -43451
  74. ansys/fluent/core/post_objects/__init__.py +0 -21
  75. ansys/fluent/core/post_objects/check_in_notebook.py +0 -35
  76. ansys/fluent/core/post_objects/meta.py +0 -926
  77. ansys/fluent/core/post_objects/post_helper.py +0 -178
  78. ansys/fluent/core/post_objects/post_object_definitions.py +0 -693
  79. ansys/fluent/core/post_objects/post_objects_container.py +0 -248
  80. ansys/fluent/core/post_objects/singleton_meta.py +0 -42
  81. ansys/fluent/core/post_objects/timing_decorator.py +0 -38
  82. {ansys_fluent_core-0.33.dev0.dist-info → ansys_fluent_core-0.33.1.dist-info/licenses}/LICENSE +0 -0
@@ -1,2072 +0,0 @@
1
- #
2
- # This is an auto-generated file. DO NOT EDIT!
3
- #
4
- # pylint: disable=line-too-long
5
-
6
- from ansys.fluent.core.services.datamodel_se import (
7
- PyMenu,
8
- PyParameter,
9
- PyTextual,
10
- PyNumerical,
11
- PyDictionary,
12
- PyNamedObjectContainer,
13
- PyCommand,
14
- PyQuery,
15
- PyCommandArguments,
16
- PyTextualCommandArgumentsSubItem,
17
- PyNumericalCommandArgumentsSubItem,
18
- PyDictionaryCommandArgumentsSubItem,
19
- PyParameterCommandArgumentsSubItem,
20
- PySingletonCommandArgumentsSubItem
21
- )
22
-
23
-
24
- class Root(PyMenu):
25
- """
26
- Singleton Root.
27
- """
28
- def __init__(self, service, rules, path):
29
- self.AssemblyNode = self.__class__.AssemblyNode(service, rules, path + [("AssemblyNode", "")])
30
- self.Node = self.__class__.Node(service, rules, path + [("Node", "")])
31
- self.ObjectSetting = self.__class__.ObjectSetting(service, rules, path + [("ObjectSetting", "")])
32
- self.Refaceting = self.__class__.Refaceting(service, rules, path + [("Refaceting", "")])
33
- self.Transform = self.__class__.Transform(service, rules, path + [("Transform", "")])
34
- self.GlobalSettings = self.__class__.GlobalSettings(service, rules, path + [("GlobalSettings", "")])
35
- self.MeshingOperations = self.__class__.MeshingOperations(service, rules, path + [("MeshingOperations", "")])
36
- self.ObjectSettingOperations = self.__class__.ObjectSettingOperations(service, rules, path + [("ObjectSettingOperations", "")])
37
- self.RefacetingOperations = self.__class__.RefacetingOperations(service, rules, path + [("RefacetingOperations", "")])
38
- self.TransformOperations = self.__class__.TransformOperations(service, rules, path + [("TransformOperations", "")])
39
- self.AppendFmdFiles = self.__class__.AppendFmdFiles(service, rules, "AppendFmdFiles", path)
40
- self.ChangeFileLengthUnit = self.__class__.ChangeFileLengthUnit(service, rules, "ChangeFileLengthUnit", path)
41
- self.ChangeLengthUnit = self.__class__.ChangeLengthUnit(service, rules, "ChangeLengthUnit", path)
42
- self.CreateObjForEachPart = self.__class__.CreateObjForEachPart(service, rules, "CreateObjForEachPart", path)
43
- self.CreateObjects = self.__class__.CreateObjects(service, rules, "CreateObjects", path)
44
- self.Delete = self.__class__.Delete(service, rules, "Delete", path)
45
- self.DeletePaths = self.__class__.DeletePaths(service, rules, "DeletePaths", path)
46
- self.InitializeTemplate = self.__class__.InitializeTemplate(service, rules, "InitializeTemplate", path)
47
- self.InputFileChanged = self.__class__.InputFileChanged(service, rules, "InputFileChanged", path)
48
- self.ListMeshingOperations = self.__class__.ListMeshingOperations(service, rules, "ListMeshingOperations", path)
49
- self.LoadFmdFile = self.__class__.LoadFmdFile(service, rules, "LoadFmdFile", path)
50
- self.LoadTemplate = self.__class__.LoadTemplate(service, rules, "LoadTemplate", path)
51
- self.MoveCADComponentsToNewObject = self.__class__.MoveCADComponentsToNewObject(service, rules, "MoveCADComponentsToNewObject", path)
52
- self.MoveToObject = self.__class__.MoveToObject(service, rules, "MoveToObject", path)
53
- self.RedoAllTransforms = self.__class__.RedoAllTransforms(service, rules, "RedoAllTransforms", path)
54
- self.ResetTemplate = self.__class__.ResetTemplate(service, rules, "ResetTemplate", path)
55
- self.SaveFmdFile = self.__class__.SaveFmdFile(service, rules, "SaveFmdFile", path)
56
- self.SaveTemplate = self.__class__.SaveTemplate(service, rules, "SaveTemplate", path)
57
- self.UndoAllTransforms = self.__class__.UndoAllTransforms(service, rules, "UndoAllTransforms", path)
58
- super().__init__(service, rules, path)
59
-
60
- class AssemblyNode(PyNamedObjectContainer):
61
- """
62
- .
63
- """
64
- class _AssemblyNode(PyMenu):
65
- """
66
- Singleton _AssemblyNode.
67
- """
68
- def __init__(self, service, rules, path):
69
- self.Refaceting = self.__class__.Refaceting(service, rules, path + [("Refaceting", "")])
70
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
71
- self.Context = self.__class__.Context(service, rules, path + [("Context", "")])
72
- self.EdgeExtraction = self.__class__.EdgeExtraction(service, rules, path + [("EdgeExtraction", "")])
73
- self.FeatureAngle = self.__class__.FeatureAngle(service, rules, path + [("FeatureAngle", "")])
74
- self.IsChildrenSettingsChanged = self.__class__.IsChildrenSettingsChanged(service, rules, path + [("IsChildrenSettingsChanged", "")])
75
- self.KeyId = self.__class__.KeyId(service, rules, path + [("KeyId", "")])
76
- self.MergeChildren = self.__class__.MergeChildren(service, rules, path + [("MergeChildren", "")])
77
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
78
- self.OneZonePer = self.__class__.OneZonePer(service, rules, path + [("OneZonePer", "")])
79
- self.Parent = self.__class__.Parent(service, rules, path + [("Parent", "")])
80
- self.PrefixObjectName = self.__class__.PrefixObjectName(service, rules, path + [("PrefixObjectName", "")])
81
- self.RefacetOperation = self.__class__.RefacetOperation(service, rules, path + [("RefacetOperation", "")])
82
- self.Transformations = self.__class__.Transformations(service, rules, path + [("Transformations", "")])
83
- self._name_ = self.__class__._name_(service, rules, path + [("_name_", "")])
84
- self.ChangeChildrenSettings = self.__class__.ChangeChildrenSettings(service, rules, "ChangeChildrenSettings", path)
85
- self.Copy = self.__class__.Copy(service, rules, "Copy", path)
86
- self.CreateChild = self.__class__.CreateChild(service, rules, "CreateChild", path)
87
- self.Move = self.__class__.Move(service, rules, "Move", path)
88
- self.ReFacet = self.__class__.ReFacet(service, rules, "ReFacet", path)
89
- self.ReFacetNow = self.__class__.ReFacetNow(service, rules, "ReFacetNow", path)
90
- self.Rename = self.__class__.Rename(service, rules, "Rename", path)
91
- super().__init__(service, rules, path)
92
-
93
- class Refaceting(PyMenu):
94
- """
95
- Singleton Refaceting.
96
- """
97
- def __init__(self, service, rules, path):
98
- self.Deviation = self.__class__.Deviation(service, rules, path + [("Deviation", "")])
99
- self.MaxSize = self.__class__.MaxSize(service, rules, path + [("MaxSize", "")])
100
- self.NormalAngle = self.__class__.NormalAngle(service, rules, path + [("NormalAngle", "")])
101
- self.Refacet = self.__class__.Refacet(service, rules, path + [("Refacet", "")])
102
- super().__init__(service, rules, path)
103
-
104
- class Deviation(PyNumerical):
105
- """
106
- Parameter Deviation of value type float.
107
- """
108
- pass
109
-
110
- class MaxSize(PyNumerical):
111
- """
112
- Parameter MaxSize of value type float.
113
- """
114
- pass
115
-
116
- class NormalAngle(PyNumerical):
117
- """
118
- Parameter NormalAngle of value type float.
119
- """
120
- pass
121
-
122
- class Refacet(PyParameter):
123
- """
124
- Parameter Refacet of value type bool.
125
- """
126
- pass
127
-
128
- class Children(PyTextual):
129
- """
130
- Parameter Children of value type list[str].
131
- """
132
- pass
133
-
134
- class Context(PyNumerical):
135
- """
136
- Parameter Context of value type int.
137
- """
138
- pass
139
-
140
- class EdgeExtraction(PyTextual):
141
- """
142
- Parameter EdgeExtraction of value type str.
143
- """
144
- pass
145
-
146
- class FeatureAngle(PyNumerical):
147
- """
148
- Parameter FeatureAngle of value type float.
149
- """
150
- pass
151
-
152
- class IsChildrenSettingsChanged(PyParameter):
153
- """
154
- Parameter IsChildrenSettingsChanged of value type bool.
155
- """
156
- pass
157
-
158
- class KeyId(PyNumerical):
159
- """
160
- Parameter KeyId of value type int.
161
- """
162
- pass
163
-
164
- class MergeChildren(PyParameter):
165
- """
166
- Parameter MergeChildren of value type bool.
167
- """
168
- pass
169
-
170
- class Name(PyTextual):
171
- """
172
- Parameter Name of value type str.
173
- """
174
- pass
175
-
176
- class OneZonePer(PyTextual):
177
- """
178
- Parameter OneZonePer of value type str.
179
- """
180
- pass
181
-
182
- class Parent(PyTextual):
183
- """
184
- Parameter Parent of value type str.
185
- """
186
- pass
187
-
188
- class PrefixObjectName(PyParameter):
189
- """
190
- Parameter PrefixObjectName of value type bool.
191
- """
192
- pass
193
-
194
- class RefacetOperation(PyTextual):
195
- """
196
- Parameter RefacetOperation of value type str.
197
- """
198
- pass
199
-
200
- class Transformations(PyTextual):
201
- """
202
- Parameter Transformations of value type list[str].
203
- """
204
- pass
205
-
206
- class _name_(PyTextual):
207
- """
208
- Parameter _name_ of value type str.
209
- """
210
- pass
211
-
212
- class ChangeChildrenSettings(PyCommand):
213
- """
214
- Command ChangeChildrenSettings.
215
-
216
-
217
- Returns
218
- -------
219
- bool
220
- """
221
- class _ChangeChildrenSettingsCommandArguments(PyCommandArguments):
222
- def __init__(self, service, rules, command, path, id):
223
- super().__init__(service, rules, command, path, id)
224
-
225
- def create_instance(self) -> _ChangeChildrenSettingsCommandArguments:
226
- args = self._get_create_instance_args()
227
- if args is not None:
228
- return self._ChangeChildrenSettingsCommandArguments(*args)
229
-
230
- class Copy(PyCommand):
231
- """
232
- Command Copy.
233
-
234
- Parameters
235
- ----------
236
- Paths : list[str]
237
-
238
- Returns
239
- -------
240
- bool
241
- """
242
- class _CopyCommandArguments(PyCommandArguments):
243
- def __init__(self, service, rules, command, path, id):
244
- super().__init__(service, rules, command, path, id)
245
- self.Paths = self._Paths(self, "Paths", service, rules, path)
246
-
247
- class _Paths(PyTextualCommandArgumentsSubItem):
248
- """
249
- Argument Paths.
250
- """
251
-
252
- def create_instance(self) -> _CopyCommandArguments:
253
- args = self._get_create_instance_args()
254
- if args is not None:
255
- return self._CopyCommandArguments(*args)
256
-
257
- class CreateChild(PyCommand):
258
- """
259
- Command CreateChild.
260
-
261
- Parameters
262
- ----------
263
- ChildName : str
264
-
265
- Returns
266
- -------
267
- bool
268
- """
269
- class _CreateChildCommandArguments(PyCommandArguments):
270
- def __init__(self, service, rules, command, path, id):
271
- super().__init__(service, rules, command, path, id)
272
- self.ChildName = self._ChildName(self, "ChildName", service, rules, path)
273
-
274
- class _ChildName(PyTextualCommandArgumentsSubItem):
275
- """
276
- Argument ChildName.
277
- """
278
-
279
- def create_instance(self) -> _CreateChildCommandArguments:
280
- args = self._get_create_instance_args()
281
- if args is not None:
282
- return self._CreateChildCommandArguments(*args)
283
-
284
- class Move(PyCommand):
285
- """
286
- Command Move.
287
-
288
- Parameters
289
- ----------
290
- Paths : list[str]
291
-
292
- Returns
293
- -------
294
- bool
295
- """
296
- class _MoveCommandArguments(PyCommandArguments):
297
- def __init__(self, service, rules, command, path, id):
298
- super().__init__(service, rules, command, path, id)
299
- self.Paths = self._Paths(self, "Paths", service, rules, path)
300
-
301
- class _Paths(PyTextualCommandArgumentsSubItem):
302
- """
303
- Argument Paths.
304
- """
305
-
306
- def create_instance(self) -> _MoveCommandArguments:
307
- args = self._get_create_instance_args()
308
- if args is not None:
309
- return self._MoveCommandArguments(*args)
310
-
311
- class ReFacet(PyCommand):
312
- """
313
- Command ReFacet.
314
-
315
- Parameters
316
- ----------
317
- Deviation : float
318
- NormalAngle : float
319
- MaxSize : float
320
-
321
- Returns
322
- -------
323
- bool
324
- """
325
- class _ReFacetCommandArguments(PyCommandArguments):
326
- def __init__(self, service, rules, command, path, id):
327
- super().__init__(service, rules, command, path, id)
328
- self.Deviation = self._Deviation(self, "Deviation", service, rules, path)
329
- self.NormalAngle = self._NormalAngle(self, "NormalAngle", service, rules, path)
330
- self.MaxSize = self._MaxSize(self, "MaxSize", service, rules, path)
331
-
332
- class _Deviation(PyNumericalCommandArgumentsSubItem):
333
- """
334
- Argument Deviation.
335
- """
336
-
337
- class _NormalAngle(PyNumericalCommandArgumentsSubItem):
338
- """
339
- Argument NormalAngle.
340
- """
341
-
342
- class _MaxSize(PyNumericalCommandArgumentsSubItem):
343
- """
344
- Argument MaxSize.
345
- """
346
-
347
- def create_instance(self) -> _ReFacetCommandArguments:
348
- args = self._get_create_instance_args()
349
- if args is not None:
350
- return self._ReFacetCommandArguments(*args)
351
-
352
- class ReFacetNow(PyCommand):
353
- """
354
- Command ReFacetNow.
355
-
356
-
357
- Returns
358
- -------
359
- bool
360
- """
361
- class _ReFacetNowCommandArguments(PyCommandArguments):
362
- def __init__(self, service, rules, command, path, id):
363
- super().__init__(service, rules, command, path, id)
364
-
365
- def create_instance(self) -> _ReFacetNowCommandArguments:
366
- args = self._get_create_instance_args()
367
- if args is not None:
368
- return self._ReFacetNowCommandArguments(*args)
369
-
370
- class Rename(PyCommand):
371
- """
372
- Command Rename.
373
-
374
- Parameters
375
- ----------
376
- NewName : str
377
-
378
- Returns
379
- -------
380
- bool
381
- """
382
- class _RenameCommandArguments(PyCommandArguments):
383
- def __init__(self, service, rules, command, path, id):
384
- super().__init__(service, rules, command, path, id)
385
- self.NewName = self._NewName(self, "NewName", service, rules, path)
386
-
387
- class _NewName(PyTextualCommandArgumentsSubItem):
388
- """
389
- Argument NewName.
390
- """
391
-
392
- def create_instance(self) -> _RenameCommandArguments:
393
- args = self._get_create_instance_args()
394
- if args is not None:
395
- return self._RenameCommandArguments(*args)
396
-
397
- def __getitem__(self, key: str) -> _AssemblyNode:
398
- return super().__getitem__(key)
399
-
400
- class Node(PyNamedObjectContainer):
401
- """
402
- .
403
- """
404
- class _Node(PyMenu):
405
- """
406
- Singleton _Node.
407
- """
408
- def __init__(self, service, rules, path):
409
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
410
- self.Context = self.__class__.Context(service, rules, path + [("Context", "")])
411
- self.KeyId = self.__class__.KeyId(service, rules, path + [("KeyId", "")])
412
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
413
- self.ObjectSetting = self.__class__.ObjectSetting(service, rules, path + [("ObjectSetting", "")])
414
- self.Parent = self.__class__.Parent(service, rules, path + [("Parent", "")])
415
- self.RefacetOperation = self.__class__.RefacetOperation(service, rules, path + [("RefacetOperation", "")])
416
- self.Transformations = self.__class__.Transformations(service, rules, path + [("Transformations", "")])
417
- self.Updated = self.__class__.Updated(service, rules, path + [("Updated", "")])
418
- self._name_ = self.__class__._name_(service, rules, path + [("_name_", "")])
419
- self.Copy = self.__class__.Copy(service, rules, "Copy", path)
420
- self.CreateChild = self.__class__.CreateChild(service, rules, "CreateChild", path)
421
- self.Move = self.__class__.Move(service, rules, "Move", path)
422
- self.Rename = self.__class__.Rename(service, rules, "Rename", path)
423
- super().__init__(service, rules, path)
424
-
425
- class Children(PyTextual):
426
- """
427
- Parameter Children of value type list[str].
428
- """
429
- pass
430
-
431
- class Context(PyNumerical):
432
- """
433
- Parameter Context of value type int.
434
- """
435
- pass
436
-
437
- class KeyId(PyNumerical):
438
- """
439
- Parameter KeyId of value type int.
440
- """
441
- pass
442
-
443
- class Name(PyTextual):
444
- """
445
- Parameter Name of value type str.
446
- """
447
- pass
448
-
449
- class ObjectSetting(PyTextual):
450
- """
451
- Parameter ObjectSetting of value type str.
452
- """
453
- pass
454
-
455
- class Parent(PyTextual):
456
- """
457
- Parameter Parent of value type str.
458
- """
459
- pass
460
-
461
- class RefacetOperation(PyTextual):
462
- """
463
- Parameter RefacetOperation of value type str.
464
- """
465
- pass
466
-
467
- class Transformations(PyTextual):
468
- """
469
- Parameter Transformations of value type list[str].
470
- """
471
- pass
472
-
473
- class Updated(PyParameter):
474
- """
475
- Parameter Updated of value type bool.
476
- """
477
- pass
478
-
479
- class _name_(PyTextual):
480
- """
481
- Parameter _name_ of value type str.
482
- """
483
- pass
484
-
485
- class Copy(PyCommand):
486
- """
487
- Command Copy.
488
-
489
- Parameters
490
- ----------
491
- Paths : list[str]
492
-
493
- Returns
494
- -------
495
- bool
496
- """
497
- class _CopyCommandArguments(PyCommandArguments):
498
- def __init__(self, service, rules, command, path, id):
499
- super().__init__(service, rules, command, path, id)
500
- self.Paths = self._Paths(self, "Paths", service, rules, path)
501
-
502
- class _Paths(PyTextualCommandArgumentsSubItem):
503
- """
504
- Argument Paths.
505
- """
506
-
507
- def create_instance(self) -> _CopyCommandArguments:
508
- args = self._get_create_instance_args()
509
- if args is not None:
510
- return self._CopyCommandArguments(*args)
511
-
512
- class CreateChild(PyCommand):
513
- """
514
- Command CreateChild.
515
-
516
- Parameters
517
- ----------
518
- ChildName : str
519
-
520
- Returns
521
- -------
522
- bool
523
- """
524
- class _CreateChildCommandArguments(PyCommandArguments):
525
- def __init__(self, service, rules, command, path, id):
526
- super().__init__(service, rules, command, path, id)
527
- self.ChildName = self._ChildName(self, "ChildName", service, rules, path)
528
-
529
- class _ChildName(PyTextualCommandArgumentsSubItem):
530
- """
531
- Argument ChildName.
532
- """
533
-
534
- def create_instance(self) -> _CreateChildCommandArguments:
535
- args = self._get_create_instance_args()
536
- if args is not None:
537
- return self._CreateChildCommandArguments(*args)
538
-
539
- class Move(PyCommand):
540
- """
541
- Command Move.
542
-
543
- Parameters
544
- ----------
545
- Paths : list[str]
546
-
547
- Returns
548
- -------
549
- bool
550
- """
551
- class _MoveCommandArguments(PyCommandArguments):
552
- def __init__(self, service, rules, command, path, id):
553
- super().__init__(service, rules, command, path, id)
554
- self.Paths = self._Paths(self, "Paths", service, rules, path)
555
-
556
- class _Paths(PyTextualCommandArgumentsSubItem):
557
- """
558
- Argument Paths.
559
- """
560
-
561
- def create_instance(self) -> _MoveCommandArguments:
562
- args = self._get_create_instance_args()
563
- if args is not None:
564
- return self._MoveCommandArguments(*args)
565
-
566
- class Rename(PyCommand):
567
- """
568
- Command Rename.
569
-
570
- Parameters
571
- ----------
572
- NewName : str
573
-
574
- Returns
575
- -------
576
- bool
577
- """
578
- class _RenameCommandArguments(PyCommandArguments):
579
- def __init__(self, service, rules, command, path, id):
580
- super().__init__(service, rules, command, path, id)
581
- self.NewName = self._NewName(self, "NewName", service, rules, path)
582
-
583
- class _NewName(PyTextualCommandArgumentsSubItem):
584
- """
585
- Argument NewName.
586
- """
587
-
588
- def create_instance(self) -> _RenameCommandArguments:
589
- args = self._get_create_instance_args()
590
- if args is not None:
591
- return self._RenameCommandArguments(*args)
592
-
593
- def __getitem__(self, key: str) -> _Node:
594
- return super().__getitem__(key)
595
-
596
- class ObjectSetting(PyNamedObjectContainer):
597
- """
598
- .
599
- """
600
- class _ObjectSetting(PyMenu):
601
- """
602
- Singleton _ObjectSetting.
603
- """
604
- def __init__(self, service, rules, path):
605
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
606
- self.Context = self.__class__.Context(service, rules, path + [("Context", "")])
607
- self.EdgeExtraction = self.__class__.EdgeExtraction(service, rules, path + [("EdgeExtraction", "")])
608
- self.FeatureAngle = self.__class__.FeatureAngle(service, rules, path + [("FeatureAngle", "")])
609
- self.MergeChildren = self.__class__.MergeChildren(service, rules, path + [("MergeChildren", "")])
610
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
611
- self.OneZonePer = self.__class__.OneZonePer(service, rules, path + [("OneZonePer", "")])
612
- self.PrefixObjectName = self.__class__.PrefixObjectName(service, rules, path + [("PrefixObjectName", "")])
613
- self._name_ = self.__class__._name_(service, rules, path + [("_name_", "")])
614
- self.Rename = self.__class__.Rename(service, rules, "Rename", path)
615
- super().__init__(service, rules, path)
616
-
617
- class Children(PyTextual):
618
- """
619
- Parameter Children of value type list[str].
620
- """
621
- pass
622
-
623
- class Context(PyNumerical):
624
- """
625
- Parameter Context of value type int.
626
- """
627
- pass
628
-
629
- class EdgeExtraction(PyTextual):
630
- """
631
- Parameter EdgeExtraction of value type str.
632
- """
633
- pass
634
-
635
- class FeatureAngle(PyNumerical):
636
- """
637
- Parameter FeatureAngle of value type float.
638
- """
639
- pass
640
-
641
- class MergeChildren(PyParameter):
642
- """
643
- Parameter MergeChildren of value type bool.
644
- """
645
- pass
646
-
647
- class Name(PyTextual):
648
- """
649
- Parameter Name of value type str.
650
- """
651
- pass
652
-
653
- class OneZonePer(PyTextual):
654
- """
655
- Parameter OneZonePer of value type str.
656
- """
657
- pass
658
-
659
- class PrefixObjectName(PyParameter):
660
- """
661
- Parameter PrefixObjectName of value type bool.
662
- """
663
- pass
664
-
665
- class _name_(PyTextual):
666
- """
667
- Parameter _name_ of value type str.
668
- """
669
- pass
670
-
671
- class Rename(PyCommand):
672
- """
673
- Command Rename.
674
-
675
- Parameters
676
- ----------
677
- NewName : str
678
-
679
- Returns
680
- -------
681
- bool
682
- """
683
- class _RenameCommandArguments(PyCommandArguments):
684
- def __init__(self, service, rules, command, path, id):
685
- super().__init__(service, rules, command, path, id)
686
- self.NewName = self._NewName(self, "NewName", service, rules, path)
687
-
688
- class _NewName(PyTextualCommandArgumentsSubItem):
689
- """
690
- Argument NewName.
691
- """
692
-
693
- def create_instance(self) -> _RenameCommandArguments:
694
- args = self._get_create_instance_args()
695
- if args is not None:
696
- return self._RenameCommandArguments(*args)
697
-
698
- def __getitem__(self, key: str) -> _ObjectSetting:
699
- return super().__getitem__(key)
700
-
701
- class Refaceting(PyNamedObjectContainer):
702
- """
703
- .
704
- """
705
- class _Refaceting(PyMenu):
706
- """
707
- Singleton _Refaceting.
708
- """
709
- def __init__(self, service, rules, path):
710
- self.Applied = self.__class__.Applied(service, rules, path + [("Applied", "")])
711
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
712
- self.Context = self.__class__.Context(service, rules, path + [("Context", "")])
713
- self.Deviation = self.__class__.Deviation(service, rules, path + [("Deviation", "")])
714
- self.MaxSize = self.__class__.MaxSize(service, rules, path + [("MaxSize", "")])
715
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
716
- self.NormalAngle = self.__class__.NormalAngle(service, rules, path + [("NormalAngle", "")])
717
- self._name_ = self.__class__._name_(service, rules, path + [("_name_", "")])
718
- self.Apply = self.__class__.Apply(service, rules, "Apply", path)
719
- self.Delete = self.__class__.Delete(service, rules, "Delete", path)
720
- self.Edit = self.__class__.Edit(service, rules, "Edit", path)
721
- self.Rename = self.__class__.Rename(service, rules, "Rename", path)
722
- super().__init__(service, rules, path)
723
-
724
- class Applied(PyParameter):
725
- """
726
- Parameter Applied of value type bool.
727
- """
728
- pass
729
-
730
- class Children(PyTextual):
731
- """
732
- Parameter Children of value type list[str].
733
- """
734
- pass
735
-
736
- class Context(PyNumerical):
737
- """
738
- Parameter Context of value type int.
739
- """
740
- pass
741
-
742
- class Deviation(PyNumerical):
743
- """
744
- Parameter Deviation of value type float.
745
- """
746
- pass
747
-
748
- class MaxSize(PyNumerical):
749
- """
750
- Parameter MaxSize of value type float.
751
- """
752
- pass
753
-
754
- class Name(PyTextual):
755
- """
756
- Parameter Name of value type str.
757
- """
758
- pass
759
-
760
- class NormalAngle(PyNumerical):
761
- """
762
- Parameter NormalAngle of value type float.
763
- """
764
- pass
765
-
766
- class _name_(PyTextual):
767
- """
768
- Parameter _name_ of value type str.
769
- """
770
- pass
771
-
772
- class Apply(PyCommand):
773
- """
774
- Command Apply.
775
-
776
-
777
- Returns
778
- -------
779
- bool
780
- """
781
- class _ApplyCommandArguments(PyCommandArguments):
782
- def __init__(self, service, rules, command, path, id):
783
- super().__init__(service, rules, command, path, id)
784
-
785
- def create_instance(self) -> _ApplyCommandArguments:
786
- args = self._get_create_instance_args()
787
- if args is not None:
788
- return self._ApplyCommandArguments(*args)
789
-
790
- class Delete(PyCommand):
791
- """
792
- Command Delete.
793
-
794
-
795
- Returns
796
- -------
797
- bool
798
- """
799
- class _DeleteCommandArguments(PyCommandArguments):
800
- def __init__(self, service, rules, command, path, id):
801
- super().__init__(service, rules, command, path, id)
802
-
803
- def create_instance(self) -> _DeleteCommandArguments:
804
- args = self._get_create_instance_args()
805
- if args is not None:
806
- return self._DeleteCommandArguments(*args)
807
-
808
- class Edit(PyCommand):
809
- """
810
- Command Edit.
811
-
812
-
813
- Returns
814
- -------
815
- bool
816
- """
817
- class _EditCommandArguments(PyCommandArguments):
818
- def __init__(self, service, rules, command, path, id):
819
- super().__init__(service, rules, command, path, id)
820
-
821
- def create_instance(self) -> _EditCommandArguments:
822
- args = self._get_create_instance_args()
823
- if args is not None:
824
- return self._EditCommandArguments(*args)
825
-
826
- class Rename(PyCommand):
827
- """
828
- Command Rename.
829
-
830
- Parameters
831
- ----------
832
- NewName : str
833
-
834
- Returns
835
- -------
836
- bool
837
- """
838
- class _RenameCommandArguments(PyCommandArguments):
839
- def __init__(self, service, rules, command, path, id):
840
- super().__init__(service, rules, command, path, id)
841
- self.NewName = self._NewName(self, "NewName", service, rules, path)
842
-
843
- class _NewName(PyTextualCommandArgumentsSubItem):
844
- """
845
- Argument NewName.
846
- """
847
-
848
- def create_instance(self) -> _RenameCommandArguments:
849
- args = self._get_create_instance_args()
850
- if args is not None:
851
- return self._RenameCommandArguments(*args)
852
-
853
- def __getitem__(self, key: str) -> _Refaceting:
854
- return super().__getitem__(key)
855
-
856
- class Transform(PyNamedObjectContainer):
857
- """
858
- .
859
- """
860
- class _Transform(PyMenu):
861
- """
862
- Singleton _Transform.
863
- """
864
- def __init__(self, service, rules, path):
865
- self.Applied = self.__class__.Applied(service, rules, path + [("Applied", "")])
866
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
867
- self.Context = self.__class__.Context(service, rules, path + [("Context", "")])
868
- self.Global = self.__class__.Global(service, rules, path + [("Global", "")])
869
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
870
- self.RotateX = self.__class__.RotateX(service, rules, path + [("RotateX", "")])
871
- self.RotateY = self.__class__.RotateY(service, rules, path + [("RotateY", "")])
872
- self.RotateZ = self.__class__.RotateZ(service, rules, path + [("RotateZ", "")])
873
- self.TranslateX = self.__class__.TranslateX(service, rules, path + [("TranslateX", "")])
874
- self.TranslateY = self.__class__.TranslateY(service, rules, path + [("TranslateY", "")])
875
- self.TranslateZ = self.__class__.TranslateZ(service, rules, path + [("TranslateZ", "")])
876
- self.Type = self.__class__.Type(service, rules, path + [("Type", "")])
877
- self._name_ = self.__class__._name_(service, rules, path + [("_name_", "")])
878
- self.Apply = self.__class__.Apply(service, rules, "Apply", path)
879
- self.Delete = self.__class__.Delete(service, rules, "Delete", path)
880
- self.Rename = self.__class__.Rename(service, rules, "Rename", path)
881
- self.Undo = self.__class__.Undo(service, rules, "Undo", path)
882
- self.Update = self.__class__.Update(service, rules, "Update", path)
883
- super().__init__(service, rules, path)
884
-
885
- class Applied(PyParameter):
886
- """
887
- Parameter Applied of value type bool.
888
- """
889
- pass
890
-
891
- class Children(PyTextual):
892
- """
893
- Parameter Children of value type list[str].
894
- """
895
- pass
896
-
897
- class Context(PyNumerical):
898
- """
899
- Parameter Context of value type int.
900
- """
901
- pass
902
-
903
- class Global(PyTextual):
904
- """
905
- Parameter Global of value type str.
906
- """
907
- pass
908
-
909
- class Name(PyTextual):
910
- """
911
- Parameter Name of value type str.
912
- """
913
- pass
914
-
915
- class RotateX(PyNumerical):
916
- """
917
- Parameter RotateX of value type float.
918
- """
919
- pass
920
-
921
- class RotateY(PyNumerical):
922
- """
923
- Parameter RotateY of value type float.
924
- """
925
- pass
926
-
927
- class RotateZ(PyNumerical):
928
- """
929
- Parameter RotateZ of value type float.
930
- """
931
- pass
932
-
933
- class TranslateX(PyNumerical):
934
- """
935
- Parameter TranslateX of value type float.
936
- """
937
- pass
938
-
939
- class TranslateY(PyNumerical):
940
- """
941
- Parameter TranslateY of value type float.
942
- """
943
- pass
944
-
945
- class TranslateZ(PyNumerical):
946
- """
947
- Parameter TranslateZ of value type float.
948
- """
949
- pass
950
-
951
- class Type(PyTextual):
952
- """
953
- Parameter Type of value type str.
954
- """
955
- pass
956
-
957
- class _name_(PyTextual):
958
- """
959
- Parameter _name_ of value type str.
960
- """
961
- pass
962
-
963
- class Apply(PyCommand):
964
- """
965
- Command Apply.
966
-
967
-
968
- Returns
969
- -------
970
- bool
971
- """
972
- class _ApplyCommandArguments(PyCommandArguments):
973
- def __init__(self, service, rules, command, path, id):
974
- super().__init__(service, rules, command, path, id)
975
-
976
- def create_instance(self) -> _ApplyCommandArguments:
977
- args = self._get_create_instance_args()
978
- if args is not None:
979
- return self._ApplyCommandArguments(*args)
980
-
981
- class Delete(PyCommand):
982
- """
983
- Command Delete.
984
-
985
- Parameters
986
- ----------
987
- Path : str
988
-
989
- Returns
990
- -------
991
- bool
992
- """
993
- class _DeleteCommandArguments(PyCommandArguments):
994
- def __init__(self, service, rules, command, path, id):
995
- super().__init__(service, rules, command, path, id)
996
- self.Path = self._Path(self, "Path", service, rules, path)
997
-
998
- class _Path(PyTextualCommandArgumentsSubItem):
999
- """
1000
- Argument Path.
1001
- """
1002
-
1003
- def create_instance(self) -> _DeleteCommandArguments:
1004
- args = self._get_create_instance_args()
1005
- if args is not None:
1006
- return self._DeleteCommandArguments(*args)
1007
-
1008
- class Rename(PyCommand):
1009
- """
1010
- Command Rename.
1011
-
1012
- Parameters
1013
- ----------
1014
- NewName : str
1015
-
1016
- Returns
1017
- -------
1018
- bool
1019
- """
1020
- class _RenameCommandArguments(PyCommandArguments):
1021
- def __init__(self, service, rules, command, path, id):
1022
- super().__init__(service, rules, command, path, id)
1023
- self.NewName = self._NewName(self, "NewName", service, rules, path)
1024
-
1025
- class _NewName(PyTextualCommandArgumentsSubItem):
1026
- """
1027
- Argument NewName.
1028
- """
1029
-
1030
- def create_instance(self) -> _RenameCommandArguments:
1031
- args = self._get_create_instance_args()
1032
- if args is not None:
1033
- return self._RenameCommandArguments(*args)
1034
-
1035
- class Undo(PyCommand):
1036
- """
1037
- Command Undo.
1038
-
1039
-
1040
- Returns
1041
- -------
1042
- bool
1043
- """
1044
- class _UndoCommandArguments(PyCommandArguments):
1045
- def __init__(self, service, rules, command, path, id):
1046
- super().__init__(service, rules, command, path, id)
1047
-
1048
- def create_instance(self) -> _UndoCommandArguments:
1049
- args = self._get_create_instance_args()
1050
- if args is not None:
1051
- return self._UndoCommandArguments(*args)
1052
-
1053
- class Update(PyCommand):
1054
- """
1055
- Command Update.
1056
-
1057
-
1058
- Returns
1059
- -------
1060
- bool
1061
- """
1062
- class _UpdateCommandArguments(PyCommandArguments):
1063
- def __init__(self, service, rules, command, path, id):
1064
- super().__init__(service, rules, command, path, id)
1065
-
1066
- def create_instance(self) -> _UpdateCommandArguments:
1067
- args = self._get_create_instance_args()
1068
- if args is not None:
1069
- return self._UpdateCommandArguments(*args)
1070
-
1071
- def __getitem__(self, key: str) -> _Transform:
1072
- return super().__getitem__(key)
1073
-
1074
- class GlobalSettings(PyMenu):
1075
- """
1076
- Singleton GlobalSettings.
1077
- """
1078
- def __init__(self, service, rules, path):
1079
- self.CurrentContext = self.__class__.CurrentContext(service, rules, path + [("CurrentContext", "")])
1080
- self.CurrentNode = self.__class__.CurrentNode(service, rules, path + [("CurrentNode", "")])
1081
- self.LengthUnit = self.__class__.LengthUnit(service, rules, path + [("LengthUnit", "")])
1082
- super().__init__(service, rules, path)
1083
-
1084
- class CurrentContext(PyNumerical):
1085
- """
1086
- Parameter CurrentContext of value type int.
1087
- """
1088
- pass
1089
-
1090
- class CurrentNode(PyTextual):
1091
- """
1092
- Parameter CurrentNode of value type str.
1093
- """
1094
- pass
1095
-
1096
- class LengthUnit(PyTextual):
1097
- """
1098
- Parameter LengthUnit of value type str.
1099
- """
1100
- pass
1101
-
1102
- class MeshingOperations(PyMenu):
1103
- """
1104
- Singleton MeshingOperations.
1105
- """
1106
- def __init__(self, service, rules, path):
1107
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
1108
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
1109
- self.DeleteAllOperations = self.__class__.DeleteAllOperations(service, rules, "DeleteAllOperations", path)
1110
- self.UpdateAllOperations = self.__class__.UpdateAllOperations(service, rules, "UpdateAllOperations", path)
1111
- super().__init__(service, rules, path)
1112
-
1113
- class Children(PyTextual):
1114
- """
1115
- Parameter Children of value type list[str].
1116
- """
1117
- pass
1118
-
1119
- class Name(PyTextual):
1120
- """
1121
- Parameter Name of value type str.
1122
- """
1123
- pass
1124
-
1125
- class DeleteAllOperations(PyCommand):
1126
- """
1127
- Command DeleteAllOperations.
1128
-
1129
-
1130
- Returns
1131
- -------
1132
- bool
1133
- """
1134
- class _DeleteAllOperationsCommandArguments(PyCommandArguments):
1135
- def __init__(self, service, rules, command, path, id):
1136
- super().__init__(service, rules, command, path, id)
1137
-
1138
- def create_instance(self) -> _DeleteAllOperationsCommandArguments:
1139
- args = self._get_create_instance_args()
1140
- if args is not None:
1141
- return self._DeleteAllOperationsCommandArguments(*args)
1142
-
1143
- class UpdateAllOperations(PyCommand):
1144
- """
1145
- Command UpdateAllOperations.
1146
-
1147
-
1148
- Returns
1149
- -------
1150
- bool
1151
- """
1152
- class _UpdateAllOperationsCommandArguments(PyCommandArguments):
1153
- def __init__(self, service, rules, command, path, id):
1154
- super().__init__(service, rules, command, path, id)
1155
-
1156
- def create_instance(self) -> _UpdateAllOperationsCommandArguments:
1157
- args = self._get_create_instance_args()
1158
- if args is not None:
1159
- return self._UpdateAllOperationsCommandArguments(*args)
1160
-
1161
- class ObjectSettingOperations(PyMenu):
1162
- """
1163
- Singleton ObjectSettingOperations.
1164
- """
1165
- def __init__(self, service, rules, path):
1166
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
1167
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
1168
- self.CreateObjectSetting = self.__class__.CreateObjectSetting(service, rules, "CreateObjectSetting", path)
1169
- self.DeleteAllObjectSetting = self.__class__.DeleteAllObjectSetting(service, rules, "DeleteAllObjectSetting", path)
1170
- self.DeleteObjectSetting = self.__class__.DeleteObjectSetting(service, rules, "DeleteObjectSetting", path)
1171
- super().__init__(service, rules, path)
1172
-
1173
- class Children(PyTextual):
1174
- """
1175
- Parameter Children of value type list[str].
1176
- """
1177
- pass
1178
-
1179
- class Name(PyTextual):
1180
- """
1181
- Parameter Name of value type str.
1182
- """
1183
- pass
1184
-
1185
- class CreateObjectSetting(PyCommand):
1186
- """
1187
- Command CreateObjectSetting.
1188
-
1189
- Parameters
1190
- ----------
1191
- Paths : list[str]
1192
-
1193
- Returns
1194
- -------
1195
- bool
1196
- """
1197
- class _CreateObjectSettingCommandArguments(PyCommandArguments):
1198
- def __init__(self, service, rules, command, path, id):
1199
- super().__init__(service, rules, command, path, id)
1200
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1201
-
1202
- class _Paths(PyTextualCommandArgumentsSubItem):
1203
- """
1204
- Argument Paths.
1205
- """
1206
-
1207
- def create_instance(self) -> _CreateObjectSettingCommandArguments:
1208
- args = self._get_create_instance_args()
1209
- if args is not None:
1210
- return self._CreateObjectSettingCommandArguments(*args)
1211
-
1212
- class DeleteAllObjectSetting(PyCommand):
1213
- """
1214
- Command DeleteAllObjectSetting.
1215
-
1216
-
1217
- Returns
1218
- -------
1219
- bool
1220
- """
1221
- class _DeleteAllObjectSettingCommandArguments(PyCommandArguments):
1222
- def __init__(self, service, rules, command, path, id):
1223
- super().__init__(service, rules, command, path, id)
1224
-
1225
- def create_instance(self) -> _DeleteAllObjectSettingCommandArguments:
1226
- args = self._get_create_instance_args()
1227
- if args is not None:
1228
- return self._DeleteAllObjectSettingCommandArguments(*args)
1229
-
1230
- class DeleteObjectSetting(PyCommand):
1231
- """
1232
- Command DeleteObjectSetting.
1233
-
1234
- Parameters
1235
- ----------
1236
- Paths : list[str]
1237
-
1238
- Returns
1239
- -------
1240
- bool
1241
- """
1242
- class _DeleteObjectSettingCommandArguments(PyCommandArguments):
1243
- def __init__(self, service, rules, command, path, id):
1244
- super().__init__(service, rules, command, path, id)
1245
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1246
-
1247
- class _Paths(PyTextualCommandArgumentsSubItem):
1248
- """
1249
- Argument Paths.
1250
- """
1251
-
1252
- def create_instance(self) -> _DeleteObjectSettingCommandArguments:
1253
- args = self._get_create_instance_args()
1254
- if args is not None:
1255
- return self._DeleteObjectSettingCommandArguments(*args)
1256
-
1257
- class RefacetingOperations(PyMenu):
1258
- """
1259
- Singleton RefacetingOperations.
1260
- """
1261
- def __init__(self, service, rules, path):
1262
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
1263
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
1264
- self.CreateRefacet = self.__class__.CreateRefacet(service, rules, "CreateRefacet", path)
1265
- self.DeleteAllRefacets = self.__class__.DeleteAllRefacets(service, rules, "DeleteAllRefacets", path)
1266
- self.DeleteRefacet = self.__class__.DeleteRefacet(service, rules, "DeleteRefacet", path)
1267
- self.UpdateAllRefacets = self.__class__.UpdateAllRefacets(service, rules, "UpdateAllRefacets", path)
1268
- super().__init__(service, rules, path)
1269
-
1270
- class Children(PyTextual):
1271
- """
1272
- Parameter Children of value type list[str].
1273
- """
1274
- pass
1275
-
1276
- class Name(PyTextual):
1277
- """
1278
- Parameter Name of value type str.
1279
- """
1280
- pass
1281
-
1282
- class CreateRefacet(PyCommand):
1283
- """
1284
- Command CreateRefacet.
1285
-
1286
- Parameters
1287
- ----------
1288
- Paths : list[str]
1289
-
1290
- Returns
1291
- -------
1292
- bool
1293
- """
1294
- class _CreateRefacetCommandArguments(PyCommandArguments):
1295
- def __init__(self, service, rules, command, path, id):
1296
- super().__init__(service, rules, command, path, id)
1297
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1298
-
1299
- class _Paths(PyTextualCommandArgumentsSubItem):
1300
- """
1301
- Argument Paths.
1302
- """
1303
-
1304
- def create_instance(self) -> _CreateRefacetCommandArguments:
1305
- args = self._get_create_instance_args()
1306
- if args is not None:
1307
- return self._CreateRefacetCommandArguments(*args)
1308
-
1309
- class DeleteAllRefacets(PyCommand):
1310
- """
1311
- Command DeleteAllRefacets.
1312
-
1313
-
1314
- Returns
1315
- -------
1316
- bool
1317
- """
1318
- class _DeleteAllRefacetsCommandArguments(PyCommandArguments):
1319
- def __init__(self, service, rules, command, path, id):
1320
- super().__init__(service, rules, command, path, id)
1321
-
1322
- def create_instance(self) -> _DeleteAllRefacetsCommandArguments:
1323
- args = self._get_create_instance_args()
1324
- if args is not None:
1325
- return self._DeleteAllRefacetsCommandArguments(*args)
1326
-
1327
- class DeleteRefacet(PyCommand):
1328
- """
1329
- Command DeleteRefacet.
1330
-
1331
- Parameters
1332
- ----------
1333
- Paths : list[str]
1334
-
1335
- Returns
1336
- -------
1337
- bool
1338
- """
1339
- class _DeleteRefacetCommandArguments(PyCommandArguments):
1340
- def __init__(self, service, rules, command, path, id):
1341
- super().__init__(service, rules, command, path, id)
1342
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1343
-
1344
- class _Paths(PyTextualCommandArgumentsSubItem):
1345
- """
1346
- Argument Paths.
1347
- """
1348
-
1349
- def create_instance(self) -> _DeleteRefacetCommandArguments:
1350
- args = self._get_create_instance_args()
1351
- if args is not None:
1352
- return self._DeleteRefacetCommandArguments(*args)
1353
-
1354
- class UpdateAllRefacets(PyCommand):
1355
- """
1356
- Command UpdateAllRefacets.
1357
-
1358
-
1359
- Returns
1360
- -------
1361
- bool
1362
- """
1363
- class _UpdateAllRefacetsCommandArguments(PyCommandArguments):
1364
- def __init__(self, service, rules, command, path, id):
1365
- super().__init__(service, rules, command, path, id)
1366
-
1367
- def create_instance(self) -> _UpdateAllRefacetsCommandArguments:
1368
- args = self._get_create_instance_args()
1369
- if args is not None:
1370
- return self._UpdateAllRefacetsCommandArguments(*args)
1371
-
1372
- class TransformOperations(PyMenu):
1373
- """
1374
- Singleton TransformOperations.
1375
- """
1376
- def __init__(self, service, rules, path):
1377
- self.Children = self.__class__.Children(service, rules, path + [("Children", "")])
1378
- self.Name = self.__class__.Name(service, rules, path + [("Name", "")])
1379
- self.CreateTransform = self.__class__.CreateTransform(service, rules, "CreateTransform", path)
1380
- self.DeleteAllTransforms = self.__class__.DeleteAllTransforms(service, rules, "DeleteAllTransforms", path)
1381
- self.DeleteTransform = self.__class__.DeleteTransform(service, rules, "DeleteTransform", path)
1382
- self.UpdateAllTransforms = self.__class__.UpdateAllTransforms(service, rules, "UpdateAllTransforms", path)
1383
- super().__init__(service, rules, path)
1384
-
1385
- class Children(PyTextual):
1386
- """
1387
- Parameter Children of value type list[str].
1388
- """
1389
- pass
1390
-
1391
- class Name(PyTextual):
1392
- """
1393
- Parameter Name of value type str.
1394
- """
1395
- pass
1396
-
1397
- class CreateTransform(PyCommand):
1398
- """
1399
- Command CreateTransform.
1400
-
1401
- Parameters
1402
- ----------
1403
- Paths : list[str]
1404
-
1405
- Returns
1406
- -------
1407
- bool
1408
- """
1409
- class _CreateTransformCommandArguments(PyCommandArguments):
1410
- def __init__(self, service, rules, command, path, id):
1411
- super().__init__(service, rules, command, path, id)
1412
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1413
-
1414
- class _Paths(PyTextualCommandArgumentsSubItem):
1415
- """
1416
- Argument Paths.
1417
- """
1418
-
1419
- def create_instance(self) -> _CreateTransformCommandArguments:
1420
- args = self._get_create_instance_args()
1421
- if args is not None:
1422
- return self._CreateTransformCommandArguments(*args)
1423
-
1424
- class DeleteAllTransforms(PyCommand):
1425
- """
1426
- Command DeleteAllTransforms.
1427
-
1428
-
1429
- Returns
1430
- -------
1431
- bool
1432
- """
1433
- class _DeleteAllTransformsCommandArguments(PyCommandArguments):
1434
- def __init__(self, service, rules, command, path, id):
1435
- super().__init__(service, rules, command, path, id)
1436
-
1437
- def create_instance(self) -> _DeleteAllTransformsCommandArguments:
1438
- args = self._get_create_instance_args()
1439
- if args is not None:
1440
- return self._DeleteAllTransformsCommandArguments(*args)
1441
-
1442
- class DeleteTransform(PyCommand):
1443
- """
1444
- Command DeleteTransform.
1445
-
1446
- Parameters
1447
- ----------
1448
- Paths : list[str]
1449
-
1450
- Returns
1451
- -------
1452
- bool
1453
- """
1454
- class _DeleteTransformCommandArguments(PyCommandArguments):
1455
- def __init__(self, service, rules, command, path, id):
1456
- super().__init__(service, rules, command, path, id)
1457
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1458
-
1459
- class _Paths(PyTextualCommandArgumentsSubItem):
1460
- """
1461
- Argument Paths.
1462
- """
1463
-
1464
- def create_instance(self) -> _DeleteTransformCommandArguments:
1465
- args = self._get_create_instance_args()
1466
- if args is not None:
1467
- return self._DeleteTransformCommandArguments(*args)
1468
-
1469
- class UpdateAllTransforms(PyCommand):
1470
- """
1471
- Command UpdateAllTransforms.
1472
-
1473
-
1474
- Returns
1475
- -------
1476
- bool
1477
- """
1478
- class _UpdateAllTransformsCommandArguments(PyCommandArguments):
1479
- def __init__(self, service, rules, command, path, id):
1480
- super().__init__(service, rules, command, path, id)
1481
-
1482
- def create_instance(self) -> _UpdateAllTransformsCommandArguments:
1483
- args = self._get_create_instance_args()
1484
- if args is not None:
1485
- return self._UpdateAllTransformsCommandArguments(*args)
1486
-
1487
- class AppendFmdFiles(PyCommand):
1488
- """
1489
- Command AppendFmdFiles.
1490
-
1491
- Parameters
1492
- ----------
1493
- FilePath : list[str]
1494
- AssemblyParentNode : int
1495
- FileUnit : str
1496
- Route : str
1497
- JtLOD : str
1498
- PartPerBody : bool
1499
- IgnoreSolidNamesAppend : bool
1500
- Options : dict[str, Any]
1501
-
1502
- Returns
1503
- -------
1504
- bool
1505
- """
1506
- class _AppendFmdFilesCommandArguments(PyCommandArguments):
1507
- def __init__(self, service, rules, command, path, id):
1508
- super().__init__(service, rules, command, path, id)
1509
- self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
1510
- self.AssemblyParentNode = self._AssemblyParentNode(self, "AssemblyParentNode", service, rules, path)
1511
- self.FileUnit = self._FileUnit(self, "FileUnit", service, rules, path)
1512
- self.Route = self._Route(self, "Route", service, rules, path)
1513
- self.JtLOD = self._JtLOD(self, "JtLOD", service, rules, path)
1514
- self.PartPerBody = self._PartPerBody(self, "PartPerBody", service, rules, path)
1515
- self.IgnoreSolidNamesAppend = self._IgnoreSolidNamesAppend(self, "IgnoreSolidNamesAppend", service, rules, path)
1516
- self.Options = self._Options(self, "Options", service, rules, path)
1517
-
1518
- class _FilePath(PyTextualCommandArgumentsSubItem):
1519
- """
1520
- Argument FilePath.
1521
- """
1522
-
1523
- class _AssemblyParentNode(PyNumericalCommandArgumentsSubItem):
1524
- """
1525
- Argument AssemblyParentNode.
1526
- """
1527
-
1528
- class _FileUnit(PyTextualCommandArgumentsSubItem):
1529
- """
1530
- Argument FileUnit.
1531
- """
1532
-
1533
- class _Route(PyTextualCommandArgumentsSubItem):
1534
- """
1535
- Argument Route.
1536
- """
1537
-
1538
- class _JtLOD(PyTextualCommandArgumentsSubItem):
1539
- """
1540
- Argument JtLOD.
1541
- """
1542
-
1543
- class _PartPerBody(PyParameterCommandArgumentsSubItem):
1544
- """
1545
- Argument PartPerBody.
1546
- """
1547
-
1548
- class _IgnoreSolidNamesAppend(PyParameterCommandArgumentsSubItem):
1549
- """
1550
- Argument IgnoreSolidNamesAppend.
1551
- """
1552
-
1553
- class _Options(PySingletonCommandArgumentsSubItem):
1554
- """
1555
- Argument Options.
1556
- """
1557
-
1558
- def __init__(self, parent, attr, service, rules, path):
1559
- super().__init__(parent, attr, service, rules, path)
1560
- def create_instance(self) -> _AppendFmdFilesCommandArguments:
1561
- args = self._get_create_instance_args()
1562
- if args is not None:
1563
- return self._AppendFmdFilesCommandArguments(*args)
1564
-
1565
- class ChangeFileLengthUnit(PyCommand):
1566
- """
1567
- Command ChangeFileLengthUnit.
1568
-
1569
- Parameters
1570
- ----------
1571
- LengthUnit : str
1572
-
1573
- Returns
1574
- -------
1575
- bool
1576
- """
1577
- class _ChangeFileLengthUnitCommandArguments(PyCommandArguments):
1578
- def __init__(self, service, rules, command, path, id):
1579
- super().__init__(service, rules, command, path, id)
1580
- self.LengthUnit = self._LengthUnit(self, "LengthUnit", service, rules, path)
1581
-
1582
- class _LengthUnit(PyTextualCommandArgumentsSubItem):
1583
- """
1584
- Argument LengthUnit.
1585
- """
1586
-
1587
- def create_instance(self) -> _ChangeFileLengthUnitCommandArguments:
1588
- args = self._get_create_instance_args()
1589
- if args is not None:
1590
- return self._ChangeFileLengthUnitCommandArguments(*args)
1591
-
1592
- class ChangeLengthUnit(PyCommand):
1593
- """
1594
- Command ChangeLengthUnit.
1595
-
1596
- Parameters
1597
- ----------
1598
- LengthUnit : str
1599
-
1600
- Returns
1601
- -------
1602
- bool
1603
- """
1604
- class _ChangeLengthUnitCommandArguments(PyCommandArguments):
1605
- def __init__(self, service, rules, command, path, id):
1606
- super().__init__(service, rules, command, path, id)
1607
- self.LengthUnit = self._LengthUnit(self, "LengthUnit", service, rules, path)
1608
-
1609
- class _LengthUnit(PyTextualCommandArgumentsSubItem):
1610
- """
1611
- Argument LengthUnit.
1612
- """
1613
-
1614
- def create_instance(self) -> _ChangeLengthUnitCommandArguments:
1615
- args = self._get_create_instance_args()
1616
- if args is not None:
1617
- return self._ChangeLengthUnitCommandArguments(*args)
1618
-
1619
- class CreateObjForEachPart(PyCommand):
1620
- """
1621
- Command CreateObjForEachPart.
1622
-
1623
- Parameters
1624
- ----------
1625
- Paths : list[str]
1626
-
1627
- Returns
1628
- -------
1629
- bool
1630
- """
1631
- class _CreateObjForEachPartCommandArguments(PyCommandArguments):
1632
- def __init__(self, service, rules, command, path, id):
1633
- super().__init__(service, rules, command, path, id)
1634
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1635
-
1636
- class _Paths(PyTextualCommandArgumentsSubItem):
1637
- """
1638
- Argument Paths.
1639
- """
1640
-
1641
- def create_instance(self) -> _CreateObjForEachPartCommandArguments:
1642
- args = self._get_create_instance_args()
1643
- if args is not None:
1644
- return self._CreateObjForEachPartCommandArguments(*args)
1645
-
1646
- class CreateObjects(PyCommand):
1647
- """
1648
- Command CreateObjects.
1649
-
1650
-
1651
- Returns
1652
- -------
1653
- bool
1654
- """
1655
- class _CreateObjectsCommandArguments(PyCommandArguments):
1656
- def __init__(self, service, rules, command, path, id):
1657
- super().__init__(service, rules, command, path, id)
1658
-
1659
- def create_instance(self) -> _CreateObjectsCommandArguments:
1660
- args = self._get_create_instance_args()
1661
- if args is not None:
1662
- return self._CreateObjectsCommandArguments(*args)
1663
-
1664
- class Delete(PyCommand):
1665
- """
1666
- Command Delete.
1667
-
1668
- Parameters
1669
- ----------
1670
- Path : str
1671
-
1672
- Returns
1673
- -------
1674
- bool
1675
- """
1676
- class _DeleteCommandArguments(PyCommandArguments):
1677
- def __init__(self, service, rules, command, path, id):
1678
- super().__init__(service, rules, command, path, id)
1679
- self.Path = self._Path(self, "Path", service, rules, path)
1680
-
1681
- class _Path(PyTextualCommandArgumentsSubItem):
1682
- """
1683
- Argument Path.
1684
- """
1685
-
1686
- def create_instance(self) -> _DeleteCommandArguments:
1687
- args = self._get_create_instance_args()
1688
- if args is not None:
1689
- return self._DeleteCommandArguments(*args)
1690
-
1691
- class DeletePaths(PyCommand):
1692
- """
1693
- Command DeletePaths.
1694
-
1695
- Parameters
1696
- ----------
1697
- Paths : list[str]
1698
-
1699
- Returns
1700
- -------
1701
- bool
1702
- """
1703
- class _DeletePathsCommandArguments(PyCommandArguments):
1704
- def __init__(self, service, rules, command, path, id):
1705
- super().__init__(service, rules, command, path, id)
1706
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1707
-
1708
- class _Paths(PyTextualCommandArgumentsSubItem):
1709
- """
1710
- Argument Paths.
1711
- """
1712
-
1713
- def create_instance(self) -> _DeletePathsCommandArguments:
1714
- args = self._get_create_instance_args()
1715
- if args is not None:
1716
- return self._DeletePathsCommandArguments(*args)
1717
-
1718
- class InitializeTemplate(PyCommand):
1719
- """
1720
- Command InitializeTemplate.
1721
-
1722
- Parameters
1723
- ----------
1724
- templateType : str
1725
-
1726
- Returns
1727
- -------
1728
- bool
1729
- """
1730
- class _InitializeTemplateCommandArguments(PyCommandArguments):
1731
- def __init__(self, service, rules, command, path, id):
1732
- super().__init__(service, rules, command, path, id)
1733
- self.templateType = self._templateType(self, "templateType", service, rules, path)
1734
-
1735
- class _templateType(PyTextualCommandArgumentsSubItem):
1736
- """
1737
- Argument templateType.
1738
- """
1739
-
1740
- def create_instance(self) -> _InitializeTemplateCommandArguments:
1741
- args = self._get_create_instance_args()
1742
- if args is not None:
1743
- return self._InitializeTemplateCommandArguments(*args)
1744
-
1745
- class InputFileChanged(PyCommand):
1746
- """
1747
- Command InputFileChanged.
1748
-
1749
- Parameters
1750
- ----------
1751
- FilePath : str
1752
- PartPerBody : bool
1753
- IgnoreSolidNames : bool
1754
-
1755
- Returns
1756
- -------
1757
- bool
1758
- """
1759
- class _InputFileChangedCommandArguments(PyCommandArguments):
1760
- def __init__(self, service, rules, command, path, id):
1761
- super().__init__(service, rules, command, path, id)
1762
- self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
1763
- self.PartPerBody = self._PartPerBody(self, "PartPerBody", service, rules, path)
1764
- self.IgnoreSolidNames = self._IgnoreSolidNames(self, "IgnoreSolidNames", service, rules, path)
1765
-
1766
- class _FilePath(PyTextualCommandArgumentsSubItem):
1767
- """
1768
- Argument FilePath.
1769
- """
1770
-
1771
- class _PartPerBody(PyParameterCommandArgumentsSubItem):
1772
- """
1773
- Argument PartPerBody.
1774
- """
1775
-
1776
- class _IgnoreSolidNames(PyParameterCommandArgumentsSubItem):
1777
- """
1778
- Argument IgnoreSolidNames.
1779
- """
1780
-
1781
- def create_instance(self) -> _InputFileChangedCommandArguments:
1782
- args = self._get_create_instance_args()
1783
- if args is not None:
1784
- return self._InputFileChangedCommandArguments(*args)
1785
-
1786
- class ListMeshingOperations(PyCommand):
1787
- """
1788
- Command ListMeshingOperations.
1789
-
1790
- Parameters
1791
- ----------
1792
- Path : str
1793
-
1794
- Returns
1795
- -------
1796
- bool
1797
- """
1798
- class _ListMeshingOperationsCommandArguments(PyCommandArguments):
1799
- def __init__(self, service, rules, command, path, id):
1800
- super().__init__(service, rules, command, path, id)
1801
- self.Path = self._Path(self, "Path", service, rules, path)
1802
-
1803
- class _Path(PyTextualCommandArgumentsSubItem):
1804
- """
1805
- Argument Path.
1806
- """
1807
-
1808
- def create_instance(self) -> _ListMeshingOperationsCommandArguments:
1809
- args = self._get_create_instance_args()
1810
- if args is not None:
1811
- return self._ListMeshingOperationsCommandArguments(*args)
1812
-
1813
- class LoadFmdFile(PyCommand):
1814
- """
1815
- Command LoadFmdFile.
1816
-
1817
- Parameters
1818
- ----------
1819
- FilePath : str
1820
- FileUnit : str
1821
- Route : str
1822
- JtLOD : str
1823
- PartPerBody : bool
1824
- IgnoreSolidNames : bool
1825
- Options : dict[str, Any]
1826
-
1827
- Returns
1828
- -------
1829
- bool
1830
- """
1831
- class _LoadFmdFileCommandArguments(PyCommandArguments):
1832
- def __init__(self, service, rules, command, path, id):
1833
- super().__init__(service, rules, command, path, id)
1834
- self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
1835
- self.FileUnit = self._FileUnit(self, "FileUnit", service, rules, path)
1836
- self.Route = self._Route(self, "Route", service, rules, path)
1837
- self.JtLOD = self._JtLOD(self, "JtLOD", service, rules, path)
1838
- self.PartPerBody = self._PartPerBody(self, "PartPerBody", service, rules, path)
1839
- self.IgnoreSolidNames = self._IgnoreSolidNames(self, "IgnoreSolidNames", service, rules, path)
1840
- self.Options = self._Options(self, "Options", service, rules, path)
1841
-
1842
- class _FilePath(PyTextualCommandArgumentsSubItem):
1843
- """
1844
- Argument FilePath.
1845
- """
1846
-
1847
- class _FileUnit(PyTextualCommandArgumentsSubItem):
1848
- """
1849
- Argument FileUnit.
1850
- """
1851
-
1852
- class _Route(PyTextualCommandArgumentsSubItem):
1853
- """
1854
- Argument Route.
1855
- """
1856
-
1857
- class _JtLOD(PyTextualCommandArgumentsSubItem):
1858
- """
1859
- Argument JtLOD.
1860
- """
1861
-
1862
- class _PartPerBody(PyParameterCommandArgumentsSubItem):
1863
- """
1864
- Argument PartPerBody.
1865
- """
1866
-
1867
- class _IgnoreSolidNames(PyParameterCommandArgumentsSubItem):
1868
- """
1869
- Argument IgnoreSolidNames.
1870
- """
1871
-
1872
- class _Options(PySingletonCommandArgumentsSubItem):
1873
- """
1874
- Argument Options.
1875
- """
1876
-
1877
- def __init__(self, parent, attr, service, rules, path):
1878
- super().__init__(parent, attr, service, rules, path)
1879
- def create_instance(self) -> _LoadFmdFileCommandArguments:
1880
- args = self._get_create_instance_args()
1881
- if args is not None:
1882
- return self._LoadFmdFileCommandArguments(*args)
1883
-
1884
- class LoadTemplate(PyCommand):
1885
- """
1886
- Command LoadTemplate.
1887
-
1888
- Parameters
1889
- ----------
1890
- FilePath : str
1891
-
1892
- Returns
1893
- -------
1894
- bool
1895
- """
1896
- class _LoadTemplateCommandArguments(PyCommandArguments):
1897
- def __init__(self, service, rules, command, path, id):
1898
- super().__init__(service, rules, command, path, id)
1899
- self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
1900
-
1901
- class _FilePath(PyTextualCommandArgumentsSubItem):
1902
- """
1903
- Argument FilePath.
1904
- """
1905
-
1906
- def create_instance(self) -> _LoadTemplateCommandArguments:
1907
- args = self._get_create_instance_args()
1908
- if args is not None:
1909
- return self._LoadTemplateCommandArguments(*args)
1910
-
1911
- class MoveCADComponentsToNewObject(PyCommand):
1912
- """
1913
- Command MoveCADComponentsToNewObject.
1914
-
1915
- Parameters
1916
- ----------
1917
- Paths : list[str]
1918
-
1919
- Returns
1920
- -------
1921
- bool
1922
- """
1923
- class _MoveCADComponentsToNewObjectCommandArguments(PyCommandArguments):
1924
- def __init__(self, service, rules, command, path, id):
1925
- super().__init__(service, rules, command, path, id)
1926
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1927
-
1928
- class _Paths(PyTextualCommandArgumentsSubItem):
1929
- """
1930
- Argument Paths.
1931
- """
1932
-
1933
- def create_instance(self) -> _MoveCADComponentsToNewObjectCommandArguments:
1934
- args = self._get_create_instance_args()
1935
- if args is not None:
1936
- return self._MoveCADComponentsToNewObjectCommandArguments(*args)
1937
-
1938
- class MoveToObject(PyCommand):
1939
- """
1940
- Command MoveToObject.
1941
-
1942
- Parameters
1943
- ----------
1944
- Paths : list[str]
1945
-
1946
- Returns
1947
- -------
1948
- bool
1949
- """
1950
- class _MoveToObjectCommandArguments(PyCommandArguments):
1951
- def __init__(self, service, rules, command, path, id):
1952
- super().__init__(service, rules, command, path, id)
1953
- self.Paths = self._Paths(self, "Paths", service, rules, path)
1954
-
1955
- class _Paths(PyTextualCommandArgumentsSubItem):
1956
- """
1957
- Argument Paths.
1958
- """
1959
-
1960
- def create_instance(self) -> _MoveToObjectCommandArguments:
1961
- args = self._get_create_instance_args()
1962
- if args is not None:
1963
- return self._MoveToObjectCommandArguments(*args)
1964
-
1965
- class RedoAllTransforms(PyCommand):
1966
- """
1967
- Command RedoAllTransforms.
1968
-
1969
-
1970
- Returns
1971
- -------
1972
- bool
1973
- """
1974
- class _RedoAllTransformsCommandArguments(PyCommandArguments):
1975
- def __init__(self, service, rules, command, path, id):
1976
- super().__init__(service, rules, command, path, id)
1977
-
1978
- def create_instance(self) -> _RedoAllTransformsCommandArguments:
1979
- args = self._get_create_instance_args()
1980
- if args is not None:
1981
- return self._RedoAllTransformsCommandArguments(*args)
1982
-
1983
- class ResetTemplate(PyCommand):
1984
- """
1985
- Command ResetTemplate.
1986
-
1987
-
1988
- Returns
1989
- -------
1990
- bool
1991
- """
1992
- class _ResetTemplateCommandArguments(PyCommandArguments):
1993
- def __init__(self, service, rules, command, path, id):
1994
- super().__init__(service, rules, command, path, id)
1995
-
1996
- def create_instance(self) -> _ResetTemplateCommandArguments:
1997
- args = self._get_create_instance_args()
1998
- if args is not None:
1999
- return self._ResetTemplateCommandArguments(*args)
2000
-
2001
- class SaveFmdFile(PyCommand):
2002
- """
2003
- Command SaveFmdFile.
2004
-
2005
- Parameters
2006
- ----------
2007
- FilePath : str
2008
-
2009
- Returns
2010
- -------
2011
- bool
2012
- """
2013
- class _SaveFmdFileCommandArguments(PyCommandArguments):
2014
- def __init__(self, service, rules, command, path, id):
2015
- super().__init__(service, rules, command, path, id)
2016
- self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
2017
-
2018
- class _FilePath(PyTextualCommandArgumentsSubItem):
2019
- """
2020
- Argument FilePath.
2021
- """
2022
-
2023
- def create_instance(self) -> _SaveFmdFileCommandArguments:
2024
- args = self._get_create_instance_args()
2025
- if args is not None:
2026
- return self._SaveFmdFileCommandArguments(*args)
2027
-
2028
- class SaveTemplate(PyCommand):
2029
- """
2030
- Command SaveTemplate.
2031
-
2032
- Parameters
2033
- ----------
2034
- FilePath : str
2035
-
2036
- Returns
2037
- -------
2038
- bool
2039
- """
2040
- class _SaveTemplateCommandArguments(PyCommandArguments):
2041
- def __init__(self, service, rules, command, path, id):
2042
- super().__init__(service, rules, command, path, id)
2043
- self.FilePath = self._FilePath(self, "FilePath", service, rules, path)
2044
-
2045
- class _FilePath(PyTextualCommandArgumentsSubItem):
2046
- """
2047
- Argument FilePath.
2048
- """
2049
-
2050
- def create_instance(self) -> _SaveTemplateCommandArguments:
2051
- args = self._get_create_instance_args()
2052
- if args is not None:
2053
- return self._SaveTemplateCommandArguments(*args)
2054
-
2055
- class UndoAllTransforms(PyCommand):
2056
- """
2057
- Command UndoAllTransforms.
2058
-
2059
-
2060
- Returns
2061
- -------
2062
- bool
2063
- """
2064
- class _UndoAllTransformsCommandArguments(PyCommandArguments):
2065
- def __init__(self, service, rules, command, path, id):
2066
- super().__init__(service, rules, command, path, id)
2067
-
2068
- def create_instance(self) -> _UndoAllTransformsCommandArguments:
2069
- args = self._get_create_instance_args()
2070
- if args is not None:
2071
- return self._UndoAllTransformsCommandArguments(*args)
2072
-