Creating an STP File in Inventor and Importing into Solidworks

Hi all

When I receive an STP file created with Inventor 2017, the name of the "shares" in the STP file is created this way.

#16958 = PRODUCT( '0852001005', '0852001005-M1', '', ( #25951 ) );

In the standard of the "STP" it means:

#16958 = PRODUCT( 'ID', 'File_Name', '', ( #25951 ) );

Solidworks uses 'ID' to create the name of the 'parts' and not 'File_Name'

Do you know how to force Solidworks to use 'File_Name' or Inventor to create the STP with 'ID' = 'File_Name'

Hello Benoit

Just a silly question, why do you want to do something complicated when you can directly export or import a file from Inventor to Solidworks and vice-versa

In addition, Step is an almost universal format at least for software comparable to Inventor Solidworks, PTC, Modo 908, etc...

Kind regards

Hello

Because when you open a large Inventor assembly in Solidworks

Solution 1:

It opens all the "parts" one by one and it's not easy and it takes time if it's a big assembly

Solution 2: 3D Interconect

I end up with ipt and iam files when I want sldprt or sldasm.

Universal for sure, but obviously not as much as that. For example, STPviewer uses 'File_Name' for its tree where Solidworks uses 'ID' 

1 Like

I don't think you can access the requested settings, it remains internal to the software.

When you export you have access to some parameters but not when you import.

And your request is very specific so very little chance.

2 Likes

Do you have to use the WWTP? Do you have the same result when switching to Parasolid?

1 Like

In Parasolid it's even worse, then you end up with "solid1" "solid2"

in Inventor there is a function called "Remane browser Nodes" which changes the display from "article code" to "file name" 

I don't understand why it doesn't have an impact on the creation of the STEP.

Why not make a macro with a software like notepad++ that modifies the step and copies the FILE_NAME instead of the ID.

And that way you'd get whatever name you want as a piece.

All you have to do is quickly modify the step before opening it with SW

 

Edit: Your macro looks for each line with = PRODUCT(

then replace  'Id' with 'file' to do this take the first separator ' then as the 2nd separator '.

On the other hand, for the macro itself, I couldn't help you.

 

just search in your macro

1 Like

After manual testing (with the replace function this works and replaces the ID name with the file name so the macro would work)

1 Like

I'll come back to parasolid, if you get "solid1", etc, I have the impression that you get a part instead of an asm. There may be an option to look for at the Inventor or SW level to keep the asm structure.

Hello

Thank you for your answers, I received a call from Visiativ this morning, it's indeed a bug in SolidWorks. In the 2015 version the STEP is built well with "File_Name'" and since the 2016 with "ID" they will correct the problem. They consider it a regression bug.

1 Like