Lexical error in ifc exported from Inventor

Lexical error in ifc exported from Inventor

Anonymous
Not applicable
1,317 Views
5 Replies
Message 1 of 6

Lexical error in ifc exported from Inventor

Anonymous
Not applicable

Hi,
I'm struggling with a Ifc-file created from Inventor. When trying to open it in Solibri MC I get this error message (se attachment). I'm not an Inventor user but have the right knowledge of the ifc format. So when I´m analyzing the Ifc-file in a texteditor (Notepad++) I can se where the errors occur.

#3563=IFCBUILDINGELEMENTPROXY('b77c3a9b976299e9814ee4',#4360491,
'Centrifugalpump von TAINE 1010 ',' ','Centrifugalpump von TAINE 1010 ',
#3736928,#4291,' ',.ELEMENT.);

The errors occurs in the 3rd and 5th argument wich is Name and ObjectType according to the Ifc standard. Now I do not think that's important, but the error is repeated when there is a space in the StepNumber line.

So if I replace the space with something else or just delete the space and replace it with a new space in Notepad++ and save the file Solibri goes further and stops at next Lexical error.

The strange thing is that there are only some spaces that cause the error and not all? So what is causing this error?

Can it be the character encoding from Inventor thats causing the error or what?

Anyone here that can give me a hint?

0 Likes
Accepted solutions (1)
1,318 Views
5 Replies
Replies (5)
Message 2 of 6

zengyongting
Autodesk
Autodesk

Thank you to report the issue. Would you like to share us the ifc file? It will be helpful for us to find root cause.


0 Likes
Message 3 of 6

Anonymous
Not applicable

Yes I can share the file but its over 200 MB.

I hope this Ifc is exported from Inventor, thats the information I got from the consultant 🙂

When I read the header it seems to be created by STEP Tools (se below) so perhaps it´s not your fault?

 

Header

ISO-10303-21;
HEADER;
/* Generated by software containing ST-Developer
 * from STEP Tools, Inc. (www.steptools.com)
 */
/* OPTION: strings as raw bytes, not using required /X/ escapes */

FILE_DESCRIPTION(
/* description */ ('Unknown'),
/* implementation_level */ '2;1');

FILE_NAME(
/* name */ 'N-50-V-KNVV Del 1',
/* time_stamp */ '2018-07-12T16:22:05+02:00',
/* author */ ('Unknown'),
/* organization */ ('Unknown'),
/* preprocessor_version */ 'ST-DEVELOPER v16.7',
/* originating_system */ 'Unknown',
/* authorisation */ 'OpenTools');

0 Likes
Message 4 of 6

zengyongting
Autodesk
Autodesk

Seems the file is not exported by Inventor. I need confirm with some experts.

I also attached an ifc file exported by Inventor.

 

0 Likes
Message 5 of 6

Anonymous
Not applicable

Hi, your file worked!

I will check with the consultant as soon as he is back after the holiday.
0 Likes
Message 6 of 6

Anonymous
Not applicable
Accepted solution

The ifc was created from Solid Edge so we can close this issue.

0 Likes