Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Properties don't update when making nodes in script

New Here ,
Sep 05, 2025 Sep 05, 2025

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.

 

 

TOPICS
Scripting
34
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation