Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / Hide Selection instead of visibility off
  RSS 2.0 ATOM  

Hide Selection instead of visibility off
Rate this thread
 
36908
 
Permlink of this thread   Subscribe to this thread
avatar
  • Total Posts: 25
  • Joined: 01 September 2006 07:16 AM

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



Replies: 0
avatar
  • _stev_
  • Posted: 23 November 2009 05:57 AM

The difference is that “Hide Selection” set’s the “Show” property (found under Viewer Options) to False.

lModel FBFindModelByName(r'Marker')
lModel
.Show False


Replies: 0
avatar

Wow,

thanks Steve!

It’s so obvious that it’s a shame I didn’t recognize this way. ;)

Cheers,

Chris



Replies: 0




   
  Settings Choose Theme color: