Cleaning up projects after the dust has settled
Posted: Fri Feb 25, 2022 8:07 am
We're kinda a custom design shop, where large scale assemblies seldom get reused. Parts, yes, large assembles, virtually never.
Compounding this is we use sub-contractors to do some design for us, whose files get included in the "big mess".
We (me...) have come across a lot of bad practices, natch, and most of them are fairly easily rectified.
The one that is challenging us (me...) at present are suppressed restraints in assemblies.
What we (I) are running into are restraints that are not used anywhere that come back to haunt you... Meaning they are suppressed but flag an error when an assembly is opened.
I've tried the "purge features" command and it kinda, sorta works, but not particularly reliably and certain doesn't parse the assembly removing the ghosts from all the parts and assemblies.
I've put this in API, because methinks this is going to have to be a macro.
I've got some routines in my pocket which will parse the assembly. This is straightforward.
Once I have a file open and activated, any idea how would I go about deleting the ghost restraints?
Thank you
Compounding this is we use sub-contractors to do some design for us, whose files get included in the "big mess".
We (me...) have come across a lot of bad practices, natch, and most of them are fairly easily rectified.
The one that is challenging us (me...) at present are suppressed restraints in assemblies.
What we (I) are running into are restraints that are not used anywhere that come back to haunt you... Meaning they are suppressed but flag an error when an assembly is opened.
I've tried the "purge features" command and it kinda, sorta works, but not particularly reliably and certain doesn't parse the assembly removing the ghosts from all the parts and assemblies.
I've put this in API, because methinks this is going to have to be a macro.
I've got some routines in my pocket which will parse the assembly. This is straightforward.
Once I have a file open and activated, any idea how would I go about deleting the ghost restraints?
Thank you