Deleting suppressed parts and assemblies

Deleting suppressed parts and assemblies

JorisSteurs1246
Advocate Advocate
1,155 Views
4 Replies
Message 1 of 5

Deleting suppressed parts and assemblies

JorisSteurs1246
Advocate
Advocate

Does anyone has a some working Ilogic code or Vb to remove ,from an assembly and preferably sub assemblies, everything that is suppressed?

 

0 Likes
Accepted solutions (1)
1,156 Views
4 Replies
Replies (4)
Message 2 of 5

VinodBalasubramanian
Autodesk Support
Autodesk Support

Hi,

 

Can you check the following thread and see whether it answers your query,

 

http://forums.autodesk.com/t5/inventor-general-discussion/how-to-delete-suppressed-components-by-ilo...

 

Hope it helps.



Vinod Balasubramanian
AutoCAD Industry Support & Escalation Lead

0 Likes
Message 3 of 5

JorisSteurs1246
Advocate
Advocate

Thanks , yes it works , on the top assy but gives an error when there are elements in a pattern suppressed. Besides that , it is definitly a timesaver.

0 Likes
Message 4 of 5

VinodBalasubramanian
Autodesk Support
Autodesk Support
Accepted solution

Thanks. You could try this article on deleting a pattern through ilogic.

 

http://forums.autodesk.com/t5/inventor-customization/ilogic-delete-a-suppressed-component-pattern/td...



Vinod Balasubramanian
AutoCAD Industry Support & Escalation Lead

Message 5 of 5

JorisSteurs1246
Advocate
Advocate

This is VBA code, I tried to run it as it is in Ilogic but it doesn't work. 

I can't find any info about running VBA code from within an Ilogic rule.

Is that even posible or does the VBA code needs to be modyfied so that it can run as a rule?

0 Likes