user: What is Bpy.Types.Nodetreeinterfacesocket and how is it used in Blender Python scripting?

assistant: used as the toggle in its panel header Type : boolean, default False layer_selection_field ¶ Take Grease Pencil Layer or Layer Group as selection field Type : boolean, default False menu_expanded ¶ Draw the menu socket as an expanded drop-down menu Type : boolean, default False name ¶ Socket name Type : string, default “”, (never None) optional_label ¶ Indicate that the label of this socket is not necessary to understand its meaning. This may result in the label being skipped in some cases Type : boolean, default False socket_type ¶ Type of the socket generated by this interface item Type : enum in [ 'DEFAULT' ], default 'DEFAULT' structure_type ¶ What kind of higher order types are expected to flow through this socket Type : enum in Node Socket Structure Type Items , default 'AUTO' bl_system_properties_get ( * , do_create = False ) ¶ DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data Parameters : do_create ( boolean , ( optional ) ) – Ensure that system properties are created if they do not exist yet Returns : The system properties root container, or None if there are no system properties stored in this data yet, and its creation was not requested Return type : PropertyGroup draw ( context , layout ) ¶ Draw properties of the socket interface Parameters : layout ( UILayout , (never None)) – Layout, Layout in the UI init_socket ( node , socket , data_path ) ¶ Initialize a node socket instance Parameters : node ( Node , (never None)) – Node, Node of the socket to initialize socket ( NodeSocket , (never None)) – Socket, Socket to initialize data_path ( string , ( never None ) ) – Data Path, Path to specialized socket data from_socket ( node , socket ) ¶ Setup template parameters from an existing socket Parameters : node ( Node , (never None)) – Node, Node of the original socket socket ( NodeSocket , (never None)) – Socket, Original socket classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The RNA type or default when not found. Return type : bpy.types.Struct subclass classmethod bl_rna_get_subclass_py ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data NodeTreeInterfaceItem.item_type NodeTreeInterfaceItem.parent NodeTreeInterfaceItem.position NodeTreeInterfaceItem.index Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library bpy_struct.is_property_readonly bpy_struct.is_property_set bpy_struct.items bpy_struct.keyframe_delete bpy_struct.keyframe_insert bpy_struct.keys bpy_struct.path_from_id bpy_struct.path_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values NodeTreeInterfaceItem.bl_rna_get_subclass NodeTreeInterfaceItem.bl_rna_get_subclass_py References ¶ NodeTreeInterface.new_socket Next NodeTreeInterfaceSocketBool(NodeTreeInterfaceSocket) Previous NodeTreeInterfacePanel(NodeTreeInterfaceItem) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page NodeTreeInterfaceSocket(NodeTreeInterfaceItem) NodeTreeInterfaceSocket NodeTreeInterfaceSocket.attribute_domain NodeTreeInterfaceSocket.bl_socket_idname NodeTreeInterfaceSocket.default_attribute_name NodeTreeInterfaceSocket.default_input NodeTreeInterfaceSocket.description NodeTreeInterfaceSocket.force_non_field NodeTreeInterfaceSocket.hide_in_modifier NodeTreeInterfaceSocket.hide_value NodeTreeInterfaceSocket.identifier NodeTreeInterfaceSocket.in_out NodeTreeInterfaceSocket.is_inspect_output NodeTreeInterfaceSocket.is_panel_toggle NodeTreeInterfaceSocket.layer_selection_field NodeTreeInterfaceSocket.menu_expanded NodeTreeInterfaceSocket.name NodeTreeInterfaceSocket.optional_label NodeTreeInterfaceSocket.socket_type NodeTreeInterfaceSocket.structure_type NodeTreeInterfaceSocket.bl_system_properties_get() NodeTreeInterfaceSocket.draw() NodeTreeInterfaceSocket.init_socket() NodeTreeInterfaceSocket.from_socket() NodeTreeInterfaceSocket.bl_rna_get_subclass() NodeTreeInterfaceSocket.bl_rna_get_subclass_py() Inherited Properties Inherited Functions References