Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
shubham.pawar.external
224 Views, 3 Replies

ILogic for autoupdate Bearing Size and Bearing Generator

Hello all,

 

I have a query for autoupdating the bearing sizes through i logic.

being specifically, I have done a assembly of a shaft and bearing, but whenever i update the shaft diameter, i have to go for bearing generator to update the bearing size.

And adding one more thing that, i have to autoupdate other components based on the bearing size parameters, unfortunatly whenever I update the bearing, its component name also get changed and iLogic gives an error(component not found).

 

 

to prevent getting the "component not found" Error, rename you bearing in the Inventor browser. use this new name in you code. after changing this name it will not change anymore if that part gets replaced by an other part, so you code should keep on working

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


Hello,

As you said, i have tried it, but when we update the bearing, bearing name will also get updated as per size.

and will cause the issue. Please share your review on it.

shubhampawarexternal_1-1670586488846.png

 

And, thanks for the response.

I see, does the name of the assembly "Bearing_01" stay the same? if so could you take this and look at the "allreferencedcomponents" to get a reference to the bearing itself?... this way you would be independent of the name of the bearing.

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan