Copy link to clipboard
Copied
Hi,
When making a new node via script and setting the identifier like this:
output_node = graph.newNode("sbs::compositing::output")
output_node.setPosition(sd.api.sdbasetypes.float2(48, 48))
output_node.setAnnotationPropertyValueFromId("identifier", sd.api.sdvaluestring.SDValueString.sNew("N"))
output_node.setAnnotationPropertyValueFromId("description", sd.api.sdvaluestring.SDValueString.sNew("Normal"))
The node doesn't update in the UI, it just has the default 'output' name and doesn't show the description in the tooltip.
I have to click each node for it to refresh and show the correct name and tooltip.
Given there doesn't seem to be a SelectNode(node) in the API i can't do this in the script either.
I would have there might have been a node.Redaw() or graph.Redaw() but can't find anything along those lines in the API either.
Am i missing something here or is this a bug?
Thanks.
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now