Update Daz Canvas UI after change?

mikekmikek Posts: 195

In the render options I add with script a new canvas + node list which works. But the issue is while the list is added the studio UI doesn't show the change unless I force it to reload the canvases panel to reload the settings.
How do I tell the DAZ UI it has to update what it displays as the node list has changed?
 

var aoRenderElementObjects = App.getRenderMgr().getRenderElementObjects();var oIrayPropertyHolder=aoRenderElementObjects[1];//DzIrayPropertyHoldervar oCanvas = oIrayPropertyHolder.findCanvasDefinition("Canvas", true); //add a new canvasvar sDefaultNodeName="NL1";if(oIrayPropertyHolder.isNodeInNodeList(sDefaultNodeName, toAddToCanvases)==false){ 	oIrayPropertyHolder.addNodeToNodeList(sDefaultNodeName, toAddToCanvases);}//result: node list element gets added internally but isn't visible in Daz Studio until reload

 

Post edited by mikek on

Comments

Sign In or Register to comment.