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

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

liminma8458
Collaborator Collaborator
499 Views
2 Replies
Message 1 of 3

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

liminma8458
Collaborator
Collaborator

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 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit

Download iCable in App Store to Create Cables Easily

0 Likes
Accepted solutions (1)
500 Views
2 Replies
Replies (2)
Message 2 of 3

Vladimir.Ananyev
Alumni
Alumni

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

0 Likes
Message 3 of 3

liminma8458
Collaborator
Collaborator
Accepted solution

Great! thank you so much!

Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit

Download iCable in App Store to Create Cables Easily

0 Likes