Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using iLogic to Suppress Detached Centerlines

3 REPLIES 3
Reply
Message 1 of 4
jdrwv5
577 Views, 3 Replies

Using iLogic to Suppress Detached Centerlines

I am currently running Inventor 2011. Is it possible to program iLogic to select and suppress all dimensions/notes that become detached when I change my iPart member within my drawing and to reattach them when I switch back to the original view?

3 REPLIES 3
Message 2 of 4
Curtis_Waguespack
in reply to: jdrwv5

Hi jdrwv5,

 

Have a look at this thread, and you'll find some ilogic examples that do some of what you're after:

http://forums.autodesk.com/t5/Inventor-General/Hide-un-attached-dimensions/m-p/5031502#M508499

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

Message 3 of 4
jdrwv5
in reply to: Curtis_Waguespack

Curtis, thanks for the reply. That is a good piece of code. However, it would appear that it is actually the centerlines that are becoming detached when I suppress certain features. Is it possible to modify the code to suppress the orphaned centerlines as well as their associated dimensions? 

Message 4 of 4
Curtis_Waguespack
in reply to: jdrwv5

Hi jdrwv5,

 

I added an example to the previous thread that will delete centerlines and centermarks.

http://forums.autodesk.com/t5/Inventor-General/Hide-un-attached-dimensions/m-p/5076982#M511120

 

Note that the example deletes the detached annotations rather than suppressing them. I don't know of a way to suppress them, but you could turn the visibility of them off. However, doing so would not quiet the errors caused by unattached annotations.

 

To turn off the visibility use this:

oCenterLine.Visible = False rather than oCenterLine.Delete

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report