in python inputs/outputs of created node group not accessable by their names #36584
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#36584
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
%%%--- Operating System, Graphics card ---
Windows 7 64bit,
current (or all) versions with issue
when i create a 'ShaderNodeGroup' (+'NodeGroupOutput'+'NodeGroupInput') via script, i can not access its outputs and inputs by its names, even their names are unique, and visible when i iterate them by script.
i alwasy have to use the indices to get them.
node.inputs['blablabla'] -> fails
node.inputs- [x] -> works
(even when node.inputs- [x].name -> 'blablabla', or node.inputs- [x].identifier is set)
accessing by index
1.1. open the attached blend file
1.2. run script
1.3. it works
accessing by name (.outputs[key] or .outputs.get(key))
2.1. open the attached blend file
2.2. uncomment the test_case item 'BY_KEY' or 'BY_GET'
2.3. run script
2.4. it fails
%%%
Changed status to: 'Open'
%%%Your reported issue has been fixed in SVN. Thanks for taking the
time to report!.%%%
Changed status from 'Open' to: 'Resolved'
%%%thank you for the fix. :)%%%