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

@Maxim-CADman77 , looks like I was wrong. The body is not recomputed every time. Something is done to it the first time, but I'm not sure what. In any case it looks like a defect.
It seems like creating the first feature initializes something in the body (or associated data). After that initialization, you have to get the body and faces again. After you get them again, it will succeed.

And the first feature does not have to remain in the part. I found that this works:

  • open your 10-hole part
  • Run a version of the rule with no error handling and no refresh of the faces collection. It will create one thread feature and then error out.
  • Manually delete the new thread feature.
  • Run the rule again. This time it will succeed and create features on all holes.

Here's a version of the rule that refreshes the faces collection only once: after it has created the first feature. This works.
I will look at this in more detail and probably create a bug for it. Please let me know if you find other cases like this.



Mike Deck
Software Developer
Autodesk, Inc.