Notifications
Clear all
[Closed] Render Elements delete by index
Dec 17, 2009 7:55 pm
Could render elements be deleted by index?
How to delete specific re by name?(I use a loop for checking the name)
Like this:Interface: INodeBakePropertiesremoveBakeElementByIndex removeBakeElementByIndex Index
Removes the indexed Bake Element.
so the re equivalent should be something like that
removeRenderElementByIndex
[left]
[/left]
2 Replies
Dec 17, 2009 7:55 pm
You should just be able to just get the element using GetRenderElement <integer>index, and then delete that using RemoveRenderElement <maxObject>element.
re = maxOps.GetCurRenderElementMgr()
delId = re.GetRenderElement 3
re.RemoveRenderElement delId
-Eric