Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
pball
in reply to: frederic.vandenplas

That seems to find the external rule whether or not the part in the drawing is using it or not. So that will not work for what I'm doing.

 

I need to explicitly check if the part inside a drawing has an active external rule, not if an external rule exists.

 

The only method I know will work would be to have a one line internal rule that calls an external rule. That way I can use some code that lists internal rules in a component to see if it exists in a part. The reason I'm reluctant to do that is all the parts created with the external rule already won't be updated properly.

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style