Does anyone have a Macro which will Fix All Components and Sub Assemblies (and their sub components) in an Assembly?
For instance, you import a huge STEP file with 10K components within 1K sub assemblies and they are All Floating and you want them All to be Fixed?
Thanks.
Re: Fix All Mate Macro
Posted: Sat Dec 04, 2021 4:02 pm
by Hansjoerg
Fastest way is to save the assembly as a parasolidfile. Reimport this file an all parts and sub parts are fixed.
This way is much faster then do this job with an macro
I am using 2021 SP5 and the macro to suppress all mates and fix top level parts does not seem to work. Any idea why?
Re: Fix All Mate Macro
Posted: Fri Dec 17, 2021 5:58 am
by gupta9665
kawuser wrote: ↑Tue Dec 14, 2021 9:56 am
I am using 2021 SP5 and the macro to suppress all mates and fix top level parts does not seem to work. Any idea why?
Which particular macro you are trying to use from the both? Are you getting any error? Can you post the macro you are using?
Re: Fix All Mate Macro
Posted: Fri Dec 17, 2021 8:51 am
by kawuser
gupta9665 wrote: ↑Fri Dec 17, 2021 5:58 am
Which particular macro you are trying to use from the both? Are you getting any error? Can you post the macro you are using?
I tried both and when I run them I get nothing. No error message or function of the macro.
Macro2, there were some codes issue which I've fixed. Try the attached maco. You may have to update the macro references to 2021 version, refer this video
Re: Fix All Mate Macro
Posted: Mon Dec 20, 2021 7:57 am
by kawuser
gupta9665 wrote: ↑Fri Dec 17, 2021 11:52 pm
Macro1 doesn't have anything.
Macro2, there were some codes issue which I've fixed. Try the attached maco. You may have to update the macro references to 2021 version, refer this video
It worked great. Thank you for your help. Your the man