2012年3月2日 星期五

MAXscript : Display Layer

Interface: LayerManager

.count
Get the number of layers in the scene
.current
Returns a LayerProperties MixinInterface to the current layer.

getLayerFromName #name
Returns a LayerProperties MixinInterface to the layer with the given name.

選取Layer中的物件
layer = layerManager.getLayerFromName #name
--Returns true on success, and an array of all nodes on the layer in the by-reference Out parameter.
layer.nodes &theNodes
select theNodes

沒有留言:

張貼留言