iMateDefinition IsConsumed is showing "False" when it should be "True"

iMateDefinition IsConsumed is showing "False" when it should be "True"

Anonymous
Not applicable
525 Views
2 Replies
Message 1 of 3

iMateDefinition IsConsumed is showing "False" when it should be "True"

Anonymous
Not applicable

See attached images. I have iMatedefinitions that show the IsConsumed boolean as False when it should be True. Can someone explain to me why this is happening. As you can see from my test with the (2) bolts in the Model Browser or Model Tree (whatever the name is) the (2) iMate insert constraints are there (see images). So in my code they should show as IsConsumed = True, but they are not. IsConsumed = False (see image with the line in blue). Again, any help would be great.

 

Thanks,

Mike

Inventor Pro 2018

0 Likes
526 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor

So, it looks like you're using VBA.  Is it possible that you were stepping through the code when this image was taken, and it was not Consumed yet at that specific point within the code?

Can you post a non-confidential sample Inventor file & code that is acting like this, so we can test it.

It might possibly be a bug.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

Anonymous
Not applicable

Let me gather some parts together, and I will send my code and all for you to check out.

 

Thanks,

 

Mike Munson

0 Likes