Getting to the scene item

From The Foundry MODO SDK wiki
Jump to: navigation, search

Description:

Getting the scene as an actual item can be useful at times:

Code:

scene     = lxu.select.SceneSelection().current()
sceneItem = scene.AnyItemOfType (lx.service.Scene().ItemTypeLookup (lx.symbol.sITYPE_SCENE))