Notifications
Clear all

[Closed] Render Elements delete by index

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

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

thank you for your reply