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: 

part of assembly view visible = false

2 REPLIES 2
Reply
Message 1 of 3
BWMcDowell
235 Views, 2 Replies

part of assembly view visible = false

I need whatever code would turn off the visibility of a part in a view from the idw

I have multiple views of an assembly which each need different parts turned on and off

based on parameters

Thanks

 

ActiveSheet.View("VIEW7").Component.Visible("RAIL:1") = False

 

2 REPLIES 2
Message 2 of 3
J-SHould
in reply to: BWMcDowell

Hello,

the best advice I can give you is to use the Represenstations to achieve this kind of things, since it is really more viable and flexible.

However, If you really want to do this on at drawing level, it is possible with the API. You can probably do it too with iLogic I guess.

 

Best regards,

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
--------------------------------------
Jean-Sébastien Hould
Autodesk Inventor 2014
Automation
Message 3 of 3
LukeDavenport
in reply to: J-SHould

Hi bmcdowell,

You could consider using this addin on the Exchange App Store for setting visibilities of components based on iProperties (you can convert parameters to iproperties by 'Exporting' them if you need.

 

Youtube video:

https://www.youtube.com/watch?v=qem8o-R2mqQ

 

App Store: 

https://apps.exchange.autodesk.com/INVNTOR/en/Detail/Index?id=appstore.exchange.autodesk.com%3aviewr...

 

 

 

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

Post to forums  

Autodesk Design & Make Report