Making solid Bodies in a part invisible in .idw

Making solid Bodies in a part invisible in .idw

arnold.ogalo
Contributor Contributor
320 Views
4 Replies
Message 1 of 5

Making solid Bodies in a part invisible in .idw

arnold.ogalo
Contributor
Contributor

Hey Community, 

I am using inventor 2020 to create an automated drawing for a parametric model. I was wondering if it is possible to turn off visibility of Solid Bodies in the drawing view using ilogic just the same way you would manually. 

Thank you.  

0 Likes
321 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

how and when do you want to make them invisible?:

  • by selection in browser
  • by selection in view
  • by name
  • or else

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 5

arnold.ogalo
Contributor
Contributor

11.JPG

Hey Arthur,

So the picture above shows a drawing of a part. I have been able to show individual rings by creating 4 views and turning off the rings (solid Bodies) that I don't want shown in the view from the model tree. This is want I would like to replicate with ilogic. 

My intention is to input the number of rings I want shown and the rest(Solid bodies) will be made invisible.

I believe this involves making invisible by name.

0 Likes
Message 4 of 5

bradeneuropeArthur
Mentor
Mentor

you can do that even without coding, you know that?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 5

arnold.ogalo
Contributor
Contributor

So ideally I would suppress the features from the part file and hence not showing in the drawing. However, if I Unsuppressed these features from the part file they will reappear in all the views of the drawing which will require manually turning off the solid bodies from the views. 

The purpose of the code is to let the drawing know that for each view I only want 1 solid body to show. 

0 Likes