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
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,
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: