Importing STEP file, part name "Document"

Importing STEP file, part name "Document"

cizart_
Participant Participant
1,131 Views
24 Replies
Message 1 of 25

Importing STEP file, part name "Document"

cizart_
Participant
Participant

Hi,

 

2023 version has a problem that while importing step file , Part number allways comes with name "Document".

Previous version named files by file name.

Be pavadinimo.png

 

0 Likes
1,132 Views
24 Replies
Replies (24)
Message 2 of 25

blandb
Mentor
Mentor

I just checked this with 2023 and I do not see this. I get what the file name is by default. Do you happen to have a sample step file to post to see if it is reproducible?

Autodesk Certified Professional
0 Likes
Message 3 of 25

blandb
Mentor
Mentor

Also, are all updates installed as well?

Autodesk Certified Professional
0 Likes
Message 4 of 25

cizart_
Participant
Participant

Installing update has no affect. The problem is still the same.

0 Likes
Message 5 of 25

cizart_
Participant
Participant

This is the sample file.

Updare has no affect.

 

Be pavadinimo.png

0 Likes
Message 6 of 25

blandb
Mentor
Mentor

I got it on this part...

 

Do are these files being downloaded from a website, sent to you by your supplier, or how are you getting these files?

Autodesk Certified Professional
0 Likes
Message 7 of 25

cizart_
Participant
Participant

I get these files from client. These files was and are the same kind.

Just a weird thing that on 2023 version I imported all files in to assembly and the bom shows all files as "Document".

You see it from the BOM,  that all 3 files is called "Document".

 

Any adea why? 

 

123.png

0 Likes
Message 8 of 25

Lucas.dolinarVFXZU
Collaborator
Collaborator

The part number is set to the Filename upon saving, not on import (no filename generated yet).

on the import window, in 2022 there is a property mapping option.
whats displayed there? is it defaulted to something wrong?

0 Likes
Message 9 of 25

emanuel.c
Collaborator
Collaborator

Could it be that your "roundbar" part was originally drawn in Inventor and had the "Document" Part Name?

I export an Inventor drawn part as .stp with a different Part Name than what it originally was.

When I import it back into Inventor the Part Name is what it was originally and not what it was as .stp file.

 

0 Likes
Message 10 of 25

cizart_
Participant
Participant

These files are already saved as .ipt and imported in a new assembly. Thats why at thr row "File name" shows *Varies*.

But can't fin that it should make the Part Number by the file name. 🤔

 

cizart__0-1661236044533.png

 

0 Likes
Message 11 of 25

cizart_
Participant
Participant
No. It is made in Rhino.
0 Likes
Message 12 of 25

johnsonshiue
Community Manager
Community Manager

Hi! Is it possible the Part Number was already specified in the Standard.ipt template file in your \Templates\ folder?

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 13 of 25

cizart_
Participant
Participant

No.

cizart__0-1661323860320.png

 

0 Likes
Message 14 of 25

johnsonshiue
Community Manager
Community Manager

Hi! Are you using Vault or another PDM system to manage the files?

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 15 of 25

cizart_
Participant
Participant

Hi,

 

No I dont.

Same story with other computer, that was a "clean" install.

0 Likes
Message 16 of 25

johnsonshiue
Community Manager
Community Manager

Hi! I am sorry I did not see that there was a file attached to the thread. I took a quick look at the STEP file. I can reproduce it on my machine. But, I believe it is working correctly. Here is what I find.

STEP file is text-based. You can edit it in Notepad. Look for #135. This is what was exported by Rhino. The Part Number is indeed "Document." Inventor simply imports it as such. Do you know how to change Part Number in Rhino? Maybe you want to change it and export it from Rhino again.

 

#135=PRODUCT('Document','Document','Rhino converted to STEP',(#134));

 

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 17 of 25

cizart_
Participant
Participant

Hi,

I don't use Rhino. I geting these files from a customer. Customer says that nothing changes.

He export files as usual.

 

I see that I can edit text, but I don't want to do that everytime.

Maby there is a file of import configuration for step files that has 2021 settings? (I didn't tried 2022 version).

0 Likes
Message 18 of 25

Lucas.dolinarVFXZU
Collaborator
Collaborator

if it's because of what jonson said you should be able to delete the property mapping, but then it will be left empty on import.

also, if it's always just "document", u could write some code to delete/replace that

0 Likes
Message 19 of 25

cizart_
Participant
Participant

Hi,

 

The problem, that it should be work by default. Part name should be the same as file name.

 

I also tried to put =<File name> instead of part name in BOM but that didn't worked.

0 Likes
Message 20 of 25

CGBenner
Community Manager
Community Manager

@cizart_ wrote:

Hi,

 

The problem, that it should be work by default. Part name should be the same as file name.

 


I think that what @johnsonshiue is saying is that it IS working as intended.  Inventor is pulling in the Part Name from the step file you are being supplied with.  The file you are given contains data that sets Part Name to "Document".  Inventor is simply reading that and putting it into the iProperty.  

You probably could edit the step file with something like Notepad, and change line #135 to be whatever you want it to be.

Did you find a post helpful? Then feel free to give likes to these posts!
Did your question get successfully answered? Then just click on the 'Accept solution' button.  Thanks and Enjoy!



Chris Benner

Community Manager - NAMER / D&M

0 Likes