(iLogic) Delete Ordinate Dimension Set Member

(iLogic) Delete Ordinate Dimension Set Member

JoãoASilva
Advocate Advocate
2,086 Views
25 Replies
Message 1 of 26

(iLogic) Delete Ordinate Dimension Set Member

JoãoASilva
Advocate
Advocate

Hello all,

 

I'm trying to delete an Ordinate Dimension Set member with iLogic.

I can delete the whole Dimension Set if there is a "sick" dimension, but that would give me even more work 😄

JoãoASilva_0-1612866591008.png

I tried deleting unattached center marks first, but it doesn't solve anything.

 

Any tips?

João Silva

Mechanical Engineer

 

0 Likes
Accepted solutions (1)
2,087 Views
25 Replies
Replies (25)
Message 21 of 26

MjDeck
Autodesk
Autodesk

@JoãoASilva , there was a change in Inventor 2021. To fix a problem (internal number INVGEN-34263), we changed it so that if any member dimension  shows Attached = False then they all do.
If you happen to delete all the members that are truly detached, then the set as a whole will be attached. At that time, the remaining members will show up as attached.

 

This makes it very hard to find the members that are truly detached. It looks like we should restore the behavior of Inventor 2020 and earlier.

 

For now, you can work around the problem with the attached rule. This is based on @dutt.thakar's rule. Instead of looking at the Attached property, it looks at other properties of the dimension to see if it's valid or not. In some cases it needs to know the positions of detached centermarks. 
This rule might need to be generalized to handle other cases.


Mike Deck
Software Developer
Autodesk, Inc.

Message 22 of 26

matt_jlt
Collaborator
Collaborator

Thanks Mike, the new behavior is definitely going to be a pain for this situation and a few other pieces of code I have written.

 

Can you please submit it as an issue? Because it doesn't make sense that there is no way to check that a member is attached.

 

Thanks, Matt.

0 Likes
Message 23 of 26

MjDeck
Autodesk
Autodesk
Accepted solution

I created issue INVGEN-50619 to track this.

Also, I made a small improvement to the rule I posted above. Please use this new version instead. It adds a check to see if the Attached property of the dimension is False before diving in and looking at other properties in detail.


Mike Deck
Software Developer
Autodesk, Inc.

Message 24 of 26

JoãoASilva
Advocate
Advocate

Sorry for the delayed answer, I had to take a few days off because of some personal problems.

 

@matt_jlt , @dutt.thakar 

 

Thank you guys for your help!

 

 

@MjDeck 

 

Thank you for giving a clear answer to what is going on.

I was getting a little frustrated that I couldn't get it to work like matt_jlt and dutt.thakar...

I'll try your rule, and make changes as needed.

 

Also, is there a way, for us, to track that issue and see when it's solved?

João Silva

Mechanical Engineer

 

0 Likes
Message 25 of 26

DanioZhu
Autodesk
Autodesk

@JoãoASilva, the fix has been submitted which will be available in Inventor 2021.3 and 2022.1

Message 26 of 26

JoãoASilva
Advocate
Advocate

@MjDeck 

The rule is working correctly, thank you again!

 

@DanioZhu 

Got it! I'm happy I found something to help improve Inventor 😁

João Silva

Mechanical Engineer