Re-Create an Element

Re-Create an Element

Maxim-CADman77
Advisor Advisor
932 Views
16 Replies
Message 1 of 17

Re-Create an Element

Maxim-CADman77
Advisor
Advisor

AFAIK  most crashes of Inventor are provokated with so called Bad Bodies (issues in 3D topology that could be revealed with non-documrnted build-in utility BSCT,  called by Ctrl+F7 )

The most notorious is that those bad bodies can be any where even in templates of some standard (produced by Autodesk itself) families of Content Center (ex DIN 1587 nut).

But even worse is the fact that to fix the bad body issue (except those imported) the element should be deleted and created (with all the same parameter set). Taking to account that in our Vault there are hundreds of "bad" IPTs. it is 

definitely not human task to recreate elements.

I wonder is there already some add-on or macro that being run on particular elemnet recreates it with as less as possible difference from initial (desirably such that wont breake dimensions on IDW etc)?

Thanks in advance.

 

For the topic of Bad Bodies see also:
https://forums.autodesk.com/t5/inventor-forum/bad-body-error-edge-intended-convexity-disagrees-with-...

https://forums.autodesk.com/t5/inventor-forum/bad-body-error-edge-goes-through-the-pole-of-a-surface...

 

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
933 Views
16 Replies
Replies (16)
Message 2 of 17

bradeneuropeArthur
Mentor
Mentor
What version of inventor are you using?
Are these files (With error) correctly migrated, with all neccesary steps?

personally I don't have any error in the DIN 1587 - M24 x 3 that you have provided!
actually the file is not available anymore in the CC of Inventor 2018!


Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 17

Maxim-CADman77
Advisor
Advisor

Seems you have not read cross-referenced threads carefully enough.

No matter which Inventor version is used. The issue is actual for 2014 and for  2018* (i don't have time for testing but i'm pretty sure the were no much changes in-between regarding bad bodies**)

* I don't know why you think the DIN 1587 nut model is not from Inventor's native 2018 Content Center. (which suppose no need for user to do any migration before using it within 2018) 
Anyway the man from Autodesk accepted THERE IS bad body in it and provided recommendation to delete one of revolution features and re-create it using the same sketch.

** Undocumented status of BSCT makes me think so.

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 4 of 17

bradeneuropeArthur
Mentor
Mentor

Maybe I don't understand correctly, but for me nothing is wrong with the uploaded file DIN 1587.
There haven been issues with the CC since 2016 release, and that is the only thing I try to point out for you.
Since files definitely need to be "migrated" from earlier releases in the vault they have some errores if they are not configured correctly in the earlier releases.
Could be that there is still something wrong on your side.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 17

Maxim-CADman77
Advisor
Advisor

I doubt the Bad Body problem roots from wrong actions of user (the exception is imported ones).

...And we go far from  initial task ...

Yet

What migration procedure (all necessary steps) would you recommend?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 6 of 17

bradeneuropeArthur
Mentor
Mentor
By every new release you need to migrate the Cc libraries to the new release. I don't talk about the files themselves, but only the databases with the library files. Because of these changes the files became some errors since the 2016 release of inventor. Ie some files have been change and were having errors with the existing files in vault...

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 7 of 17

Maxim-CADman77
Advisor
Advisor

Does anybody have ideas regarding possible ways of  automatization of feature re-creation?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 8 of 17

bradeneuropeArthur
Mentor
Mentor

Do you have the CC libraries available that were not showing the errors?

I mean do you have the CC libraries for 2012 or earlier?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 9 of 17

YuhanZhang
Autodesk
Autodesk

As for the bad body issue in the sheet metal, I think the reason is that users created them in a very old Inventor, in one of the thread you provided a data you can see it was created in Inventor 10, and the problem should be caused by the Flange feature creation method, in that data you can see the resulted side face is like below:

FlangeOld.png

 

but in a later Inventor the Flange feature creation is enhanced, so the result is like below:

 

FlangeNew.png

 

I posted a workaround in below thread if users don't want to re-create the features manually, paste it here if other users want to find it from here:

https://forums.autodesk.com/t5/inventor-forum/bad-body-error-edge-intended-convexity-disagrees-with-...

 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 10 of 17

Maxim-CADman77
Advisor
Advisor

Sorry for the delay in answers. (seems like forum notifications doesn't work nowadays).

Thank for tyou answer i'll check the code on several SM parts here and then will report back.

But don't you know why  Inventor does not correctly convert old bodies during format migration? Are there any chances to get it fixed in current or next release?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 11 of 17

chandra.shekar.g
Autodesk Support
Autodesk Support

@Maxim-CADman77,

 

The feature creation methods had been changed from old Inventor(the user's data was created in Inventor 10).

 

Now, if the feature is re-created in Inventor 2014 or later Inventor versions. Then, there will be no problem.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 12 of 17

Maxim-CADman77
Advisor
Advisor

Our problem - there are hundreds (may be thousands, batch check is in progress and expected to finish in couple  weeks) "bad-body" IPT-models in our Vault and  it hard to explain their authors why they got spoiled and why they need to re-work them now (me - CAD manager won't do neither manual nor automatic feature re-working).

Only authors can do re-working but I have no arguments to force them doing this manually and having no guaratees that this issue wont repeat on some new Inventor release.

...To make things worse thousands IAMs and IDWs should also be updated afterwards.... 

The latest migration  (to 2014*) was last made personally by me (using Task Sheduler) following all the recommendations that were actual for that moment. And now it looks like I (Cad Manager) did some mistake that spoiled the work of hundred designers (good actions never stay unpunished). 

 

Such a faulty migration is a "huge pig" from Autodesk's side.

(without automatic solution for this issue it seems easier to change the CAD/PDM vendor...)

 

* We don't see the easonable reason to update the release.

Necessity of mass migration (especially Configuration Factories/Members) and updating all and everything afterwards overwaight  pros of several new features added in 2015-2019.

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 13 of 17

bradeneuropeArthur
Mentor
Mentor

Could you send me a file as example with the bad body.

Maybe I have an idea to program something for this issue.

Please let me know if this is possible.

We have also migrated from 2012 to 2018 and we have no problem with bad bodies at all!

Regards,

Autodesk Software: Inventor Professional 2018 | Vault Professional 2018 | Autocad Mechanical 2018
Programming Skills: Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Dimension Component! | Partlist Export! | Derive I-properties! | Vault Prompts Via API! | Vault Handbook/Manual!
Drawing Toggle Sheets! | Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 15 of 17

bradeneuropeArthur
Mentor
Mentor

Hi,

This is because of my curiosity.

Question from my side:

Is this generally lead into problems for you?

And what are the problems regarding this?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 16 of 17

Maxim-CADman77
Advisor
Advisor

Inventor crashing

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 17 of 17

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi,

 

To improve appearance of feature, enhancement of feature is also inevitable sometimes. It is very unfortunate that migration from older version to newer version producing bad bodies.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes