|
Hi guys,
I searched for this topic in the mb python help but I didn’t get any useable results. That’s why I like to ask you. ;)
My thing is not really a problem:
I’d like to hide some models via python by selecting them and using “Hide Selection” from the context menu, instead of turning off the visibility in the models properties. I already did the last option and it worked out well but how does it work with the “Hide Selection” command?
Is it somehow accesable with python?
The difference is that you have a visible feedback in the schematic view in contrary to the visibility property.
Thx for your help.
Chris
|
|
|
|
The difference is that “Hide Selection” set’s the “Show” property (found under Viewer Options) to False.
lModel = FBFindModelByName(r'Marker')
lModel.Show = False
|
|
|
|
Wow,
thanks Steve!
It’s so obvious that it’s a shame I didn’t recognize this way. ;)
Cheers,
Chris
|
|
|