Skip to content

Commit ed2c19e

Browse files
committed
add generic options
add generic options (waiting for proto sync)
1 parent 7621fba commit ed2c19e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ansys/geometry/core/modeler.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ def _upload_file(
306306
file_name=file_name,
307307
open=open_file,
308308
import_options=import_options_dict,
309+
import_options_definitions=import_options_definitions_dict
309310
)
310311
)
311312
return response.file_path
@@ -364,7 +365,10 @@ def open_file(
364365
else:
365366
import_options_dict, import_options_definitions_dict = import_options.to_dict()
366367
DesignsStub(self.client.channel).Open(
367-
OpenRequest(filepath=file_path, import_options=import_options_dict)
368+
OpenRequest(filepath=file_path,
369+
import_options=import_options_dict,
370+
import_options_definitions=import_options_definitions_dict
371+
)
368372
)
369373

370374
return self.read_existing_design()

0 commit comments

Comments
 (0)