-
I got an error using proein command. I shared the code section and error message. Have a nice day Code Section: igs_file_path="C/Users/bahadirmurat/Desktop/PYANSYS/engine_block/motor_blok.igs"
mapdl.proein(name='motor_blok',extension='igs',path='igs_file_path',precomm='proe1') Error Message: MapdlCommandIgnoredError Traceback (most recent call last)
Cell In[15], line 2
1 igs_file_path="C/Users/bahadirmurat/Desktop/PYANSYS/engine_block/motor_blok.igs"
----> 2 mapdl.proein(name='motor_blok',extension='igs',path='igs_file_path',precomm='proe1')
File ~\anaconda_last\lib\site-packages\ansys\mapdl\core\_commands\conn.py:211, in Conn.proein(self, name, extension, path, proecomm, **kwargs)
178 """APDL Command: ~PROEIN
179
180 Transfers a Creo Parametric part into the ANSYS program.
(...)
208 Creo Parametric (formerly Pro/ENGINEER) in the Connection User's Guide.
209 """
210 command = f"~PROEIN,{name},{extension},{path},{proecomm}"
--> 211 return self.run(command, **kwargs)
File ~\anaconda_last\lib\site-packages\ansys\mapdl\core\mapdl.py:3004, in _MapdlCore.run(self, command, write_to_log, mute, **kwargs)
3001 return self._response
3003 if not self.ignore_errors:
-> 3004 self._raise_errors(text)
3006 # special returns for certain geometry commands
3007 short_cmd = parse_to_short_cmd(command)
File ~\anaconda_last\lib\site-packages\ansys\mapdl\core\mapdl.py:4015, in _MapdlCore._raise_errors(self, text)
4013 if "command is ignored" in flat_text:
4014 text += "\n\nIgnore these messages by setting 'ignore_errors'=True"
-> 4015 raise MapdlCommandIgnoredError(text)
4017 # flag errors
4018 if "*** ERROR ***" in flat_text:
MapdlCommandIgnoredError: ANSYS Connection for Pro/ENGINEER
Pro Part: motor_blok.igs
Path: igs_file_path
Pro/E Command: parametric1
File Type: ANF
QUERY = COMMON,,IGES_TOL,,INT,5
*** Warning: ANSYS installation directory not set
ANSYS221_SYSDIR=
*** WARNING *** CP = 0.359 TIME= 13:25:30
File motor_blok.anf does not exist.
The /INPUT command is ignored.
***** ROUTINE COMPLETED ***** CP = 0.359
*** ANSYS - ENGINEERING ANALYSIS SYSTEM RELEASE 2022 R1 22.1 ***
DISTRIBUTED Ansys Mechanical Premium
00000000 VERSION=WINDOWS x64 13:25:30 SEP 22, 2023 CP= 0.359
***** ANSYS ANALYSIS DEFINITION (PREP7) *****
Ignore these messages by setting 'ignore_errors'=True |
Beta Was this translation helpful? Give feedback.
Answered by
mikerife
Sep 22, 2023
Replies: 1 comment 1 reply
-
Hi @bahadir14 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
germa89
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @bahadir14
The 'proein' command is for importing native ProE (Creo Parametric) files of type prt or asm. Not for importing IGES files (type igs).
Mike