Open Rohits28 opened 2 years ago
Hi @Rohits28, please could you share with me the NX file (.prt). Perhaps via onedrive.
@Rohits28 This works for me from PyFluent as follows:
import ansys.fluent.core as f
session = f.launch_fluent(meshing_mode=True)
session.meshing.tui.file.import_.cad("yes", "P30_combustor_boi.prt", "yes", 40.0, "yes", "mm")
I also tried to use session.scheme_eval.exec
with ti-menu-load-string
, but I could not get it to work. Perhaps others can comment on that, although we should use the API itself as above. I can also provide the NX file for @mkundu1 @ajain-work.
The issue appears only when Fluent is launched from PyFluent and CAD is configured to use plug-in mode for NX file import.
Hi @seanpearsonuk ,
Yes it seems issue is with plug-in import. I have shared file with @mkundu1. Hope this will help to resolve the issue. Let me know if you need further information
Hi,
I have performed CAD configuration for NX and I am able to import NX file (.prt) in fluentmeshing session (regular way), but if I launch FluentMeshing session with PyFluent it throws CAD import error