Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to use API to check whether component is invisible (hiden) in drawing view?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
liminma8458
398 Views, 2 Replies

how to use API to check whether component is invisible (hiden) in drawing view?

Hi,

 

I am working on a project to assign balloons to components in drawing view automatically. Of course, I don't want to assign a balloon to a component which is invisible (hidden) in this drawing view.

 

So, is there any API function to check whether the component in the drawing view is invisible or hidden?

 

Thank you for your help.

 

Limin

Thanks
Limin
Inventor pro 2023 64 bit update 2.1; Windows 10 pro 64 bit version 21H2; Office 2013 32 bit
2 REPLIES 2
Message 2 of 3

Philippe just answered your question here:

http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Components-in-Section-Drawing-View/td-...

You may use DrawingView.DrawingCurves(occurrence) method.

Cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 3

Great! thank you so much!

Thanks
Limin
Inventor pro 2023 64 bit update 2.1; Windows 10 pro 64 bit version 21H2; Office 2013 32 bit

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

Post to forums  

Autodesk Design & Make Report