Skip to content

Commit 75ce23a

Browse files
update generated code (#2191)
Co-authored-by: PProfizi <[email protected]>
1 parent 6727ae5 commit 75ce23a

File tree

10 files changed

+54
-37
lines changed

10 files changed

+54
-37
lines changed

doc/source/_static/dpf_operators.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

src/ansys/dpf/core/operators/utility/html_doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class html_doc(Operator):
5151
"""
5252

5353
def __init__(self, output_path=None, exposure_level=None, config=None, server=None):
54-
super().__init__(name="html_doc", config=config, server=server)
54+
super().__init__(name="html_doc_old", config=config, server=server)
5555
self._inputs = InputsHtmlDoc(self)
5656
self._outputs = OutputsHtmlDoc(self)
5757
if output_path is not None:
@@ -102,7 +102,7 @@ def default_config(server: AnyServerType = None) -> Config:
102102
config:
103103
A new Config instance equivalent to the default config for this operator.
104104
"""
105-
return Operator.default_config(name="html_doc", server=server)
105+
return Operator.default_config(name="html_doc_old", server=server)
106106

107107
@property
108108
def inputs(self) -> InputsHtmlDoc:

src/ansys/dpf/gate/generated/capi.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,6 +3094,10 @@ def load_api(path):
30943094
dll.Operator_specification_IsPinEllipsis.argtypes = (ctypes.c_void_p, ctypes.c_bool, ctypes.c_int32, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
30953095
dll.Operator_specification_IsPinEllipsis.restype = ctypes.c_bool
30963096

3097+
if hasattr(dll, "Operator_specification_IsPinInPlace"):
3098+
dll.Operator_specification_IsPinInPlace.argtypes = (ctypes.c_void_p, ctypes.c_bool, ctypes.c_int32, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
3099+
dll.Operator_specification_IsPinInPlace.restype = ctypes.c_bool
3100+
30973101
if hasattr(dll, "Operator_specification_GetProperties"):
30983102
dll.Operator_specification_GetProperties.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
30993103
dll.Operator_specification_GetProperties.restype = ctypes.POINTER(ctypes.c_char)

src/ansys/dpf/gate/generated/operator_specification_abstract_api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ def operator_specification_get_pin_document(specification, binput, numPin):
6767
def operator_specification_is_pin_ellipsis(specification, binput, numPin):
6868
raise NotImplementedError
6969

70+
@staticmethod
71+
def operator_specification_is_pin_in_place(specification, binput, numPin):
72+
raise NotImplementedError
73+
7074
@staticmethod
7175
def operator_specification_get_properties(specification, prop):
7276
raise NotImplementedError

src/ansys/dpf/gate/generated/operator_specification_capi.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,15 @@ def operator_specification_is_pin_ellipsis(specification, binput, numPin):
143143
raise errors.DPFServerException(sError.value)
144144
return res
145145

146+
@staticmethod
147+
def operator_specification_is_pin_in_place(specification, binput, numPin):
148+
errorSize = ctypes.c_int(0)
149+
sError = ctypes.c_wchar_p()
150+
res = capi.dll.Operator_specification_IsPinInPlace(specification._internal_obj if specification is not None else None, binput, utils.to_int32(numPin), ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError))
151+
if errorSize.value != 0:
152+
raise errors.DPFServerException(sError.value)
153+
return res
154+
146155
@staticmethod
147156
def operator_specification_get_properties(specification, prop):
148157
errorSize = ctypes.c_int(0)
2 KB
Binary file not shown.
1 KB
Binary file not shown.
760 Bytes
Binary file not shown.
64 Bytes
Binary file not shown.

src/ansys/grpc/dpf/operator_pb2.py

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)