fake-bpy-module 20240126__py3-none-any.whl → 20240128__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bpy/types/__init__.pyi CHANGED
@@ -2,94 +2,94 @@ import sys
2
2
  import typing
3
3
  import mathutils
4
4
  import bpy
5
- import bl_ui.properties_freestyle
6
- import bl_ui.properties_data_grease_pencil
7
- import bl_ui.space_outliner
8
- import bl_ui.properties_material
9
- import bl_operators.constraint
10
- import bl_ui.properties_data_camera
11
- import bl_ui.space_toolsystem_common
12
- import bl_ui.node_add_menu_geometry
13
5
  import bl_ui.properties_constraint
14
6
  import bl_ui.properties_data_lattice
15
- import bl_ui.generic_ui_list
16
- import bl_ui.properties_physics_fluid
17
- import bl_ui.space_graph
18
- import bl_ui.properties_collection
19
- import bl_ui.properties_data_light
20
- import bl_operators.anim
21
- import bl_ui.properties_physics_softbody
22
- import bl_ui.properties_texture
23
- import bl_ui.properties_data_pointcloud
24
- import bl_operators.object
25
- import bl_ui.properties_physics_cloth
26
- import bl_ui.properties_data_shaderfx
27
- import bl_ui.properties_physics_rigidbody_constraint
28
- import bl_ui.properties_material_gpencil
29
- import bl_ui.space_view3d
30
- import bl_ui.properties_scene
31
- import bl_ui.space_clip
32
- import bl_ui.properties_data_armature
7
+ import bl_ui.space_userpref
8
+ import bl_ui.properties_physics_field
33
9
  import bl_ui.space_statusbar
34
- import bl_ui.properties_data_gpencil
35
- import bl_ui.properties_data_curves
36
- import bl_ui.properties_physics_geometry_nodes
37
- import bl_ui.properties_data_volume
38
- import bl_ui.anim
39
- import bl_ui.properties_physics_rigidbody
40
- import bl_ui.node_add_menu
41
- import bl_operators.spreadsheet
42
10
  import bl_ui.properties_workspace
43
- import bl_ui.properties_data_metaball
44
- import bl_ui.space_console
45
- import bl_ui.space_node
46
- import bl_ui.space_image
47
- import bl_ui
11
+ import bl_ui.space_text
48
12
  import bl_ui.space_filebrowser
49
- import bl_ui.properties_mask_common
13
+ import bl_ui.anim
14
+ import bl_ui.properties_physics_dynamicpaint
15
+ import bl_ui.properties_physics_softbody
16
+ import bl_ui.space_view3d
17
+ import bl_ui.space_clip
18
+ import bl_ui.space_spreadsheet
19
+ import bl_ui.space_toolsystem_toolbar
20
+ import bl_ui.space_graph
21
+ import bl_ui.properties_physics_fluid
50
22
  import bl_operators.clip
51
- import bl_ui.properties_data_empty
52
- import bl_operators.file
23
+ import bl_ui.generic_ui_list
24
+ import bl_ui.space_outliner
25
+ import bl_ui.properties_mask_common
26
+ import bl_ui.properties_data_grease_pencil
27
+ import bl_ui.properties_data_armature
53
28
  import bl_operators.node
54
- import bl_ui.properties_data_speaker
55
- import bl_ui.space_text
29
+ import bl_ui.space_properties
30
+ import bl_ui.space_console
31
+ import bl_ui.properties_physics_common
32
+ import bl_operators.anim
33
+ import bl_operators.assets
34
+ import bl_ui.properties_physics_rigidbody
35
+ import bl_ui.properties_data_pointcloud
36
+ import bl_ui.properties_data_curve
56
37
  import bl_ui.node_add_menu_compositor
57
- import bl_ui.properties_render
58
38
  import bl_ui.properties_view_layer
39
+ import bl_ui.asset_shelf
40
+ import bl_ui.properties_data_metaball
41
+ import bl_ui.properties_data_camera
42
+ import bl_ui
59
43
  import bl_operators.userpref
60
- import bl_ui.space_userpref
61
- import bl_ui.space_dopesheet
62
- import bl_operators.view3d
63
- import bl_ui.space_time
64
- import bl_ui.properties_particle
65
- import bl_ui.space_info
66
- import bl_operators.assets
67
- import bl_ui.properties_physics_dynamicpaint
68
- import bl_ui.properties_paint_common
69
- import bl_ui.space_sequencer
70
44
  import bl_ui.properties_world
71
- import bl_ui.space_spreadsheet
72
- import bl_ui.properties_data_curve
73
- import bl_operators.freestyle
74
- import bl_ui.asset_shelf
75
- import bl_ui.space_nla
76
- import bl_ui.properties_physics_field
77
- import bl_ui.properties_data_bone
78
- import bl_operators.presets
79
- import bl_ui.properties_output
80
- import bl_operators.wm
81
- import bl_ui.properties_object
45
+ import bl_ui.node_add_menu_geometry
46
+ import bl_ui.properties_data_shaderfx
82
47
  import bl_ui.space_topbar
48
+ import bl_ui.properties_particle
49
+ import bl_ui.space_image
50
+ import bl_ui.properties_data_curves
83
51
  import bl_ui.node_add_menu_shader
84
- import bl_ui.properties_grease_pencil_common
52
+ import bl_ui.properties_object
53
+ import bl_ui.properties_material
85
54
  import bl_ui.properties_data_modifier
86
- import bl_ui.space_view3d_toolbar
55
+ import bl_operators.presets
56
+ import bl_ui.properties_paint_common
57
+ import bl_ui.properties_physics_cloth
58
+ import bl_ui.properties_render
59
+ import bl_ui.node_add_menu
60
+ import bl_operators.wm
61
+ import bl_ui.properties_collection
62
+ import bl_ui.properties_scene
63
+ import bl_ui.properties_material_gpencil
64
+ import bl_operators.constraint
65
+ import bl_operators.freestyle
66
+ import bl_ui.properties_data_gpencil
87
67
  import bl_ui.node_add_menu_texture
88
- import bl_ui.properties_physics_common
89
- import bl_ui.space_toolsystem_toolbar
90
- import bl_ui.space_properties
91
68
  import bl_ui.properties_data_mesh
69
+ import bl_ui.properties_freestyle
70
+ import bl_operators.view3d
71
+ import bl_ui.properties_physics_rigidbody_constraint
72
+ import bl_ui.properties_data_empty
73
+ import bl_ui.space_node
74
+ import bl_ui.space_nla
75
+ import bl_ui.space_sequencer
76
+ import bl_ui.space_info
77
+ import bl_ui.properties_grease_pencil_common
92
78
  import bl_ui.properties_data_lightprobe
79
+ import bl_ui.space_view3d_toolbar
80
+ import bl_ui.space_time
81
+ import bl_ui.properties_data_volume
82
+ import bl_operators.object
83
+ import bl_operators.spreadsheet
84
+ import bl_ui.properties_data_light
85
+ import bl_ui.properties_data_speaker
86
+ import bl_operators.file
87
+ import bl_ui.properties_texture
88
+ import bl_ui.space_toolsystem_common
89
+ import bl_ui.properties_physics_geometry_nodes
90
+ import bl_ui.properties_output
91
+ import bl_ui.space_dopesheet
92
+ import bl_ui.properties_data_bone
93
93
 
94
94
  GenericType = typing.TypeVar("GenericType")
95
95
 
@@ -3097,6 +3097,12 @@ class BoneCollection(bpy_struct):
3097
3097
  :type: typing.Union[bool, typing.Any]
3098
3098
  """
3099
3099
 
3100
+ is_solo: bool
3101
+ """ Show only this bone collection, and others also marked as 'solo'
3102
+
3103
+ :type: bool
3104
+ """
3105
+
3100
3106
  is_visible: bool
3101
3107
  """ Bones in this collection will be visible in pose/object mode
3102
3108
 
@@ -3110,7 +3116,7 @@ class BoneCollection(bpy_struct):
3110
3116
  """
3111
3117
 
3112
3118
  is_visible_effectively: typing.Union[bool, typing.Any]
3113
- """ Whether this bone collection is effectively visible in the viewport. This is True when this bone collection and all of its ancestors are visible
3119
+ """ Whether this bone collection is effectively visible in the viewport. This is True when this bone collection and all of its ancestors are visible, or when it is marked as 'solo'
3114
3120
 
3115
3121
  :type: typing.Union[bool, typing.Any]
3116
3122
  """
@@ -3195,6 +3201,12 @@ class BoneCollections(bpy_struct):
3195
3201
  :type: typing.Union[str, typing.Any]
3196
3202
  """
3197
3203
 
3204
+ is_solo_active: typing.Union[bool, typing.Any]
3205
+ """ Read-ony flag that indicates there is at least one bone collection marked as 'solo'
3206
+
3207
+ :type: typing.Union[bool, typing.Any]
3208
+ """
3209
+
3198
3210
  def new(
3199
3211
  self,
3200
3212
  name: typing.Union[str, typing.Any],
@@ -6833,10 +6845,10 @@ class Context(bpy_struct):
6833
6845
  :type: 'UIList'
6834
6846
  """
6835
6847
 
6836
- property: typing.Union[int, str, "AnyType"]
6848
+ property: typing.Union[str, int, "AnyType"]
6837
6849
  """ Get the property associated with a hovered button. Returns a tuple of the data-block, data path to the property, and array index.
6838
6850
 
6839
- :type: typing.Union[int, str, 'AnyType']
6851
+ :type: typing.Union[str, int, 'AnyType']
6840
6852
  """
6841
6853
 
6842
6854
  edit_text: "Text"
@@ -21842,35 +21854,25 @@ class Node(bpy_struct):
21842
21854
  """
21843
21855
  ...
21844
21856
 
21845
- class NodeGeometryBakeItem(bpy_struct):
21846
- attribute_domain: typing.Union[str, int]
21847
- """ Attribute domain where the attribute is stored in the baked data
21848
-
21849
- :type: typing.Union[str, int]
21850
- """
21851
-
21852
- color: bpy_prop_array[float]
21853
- """ Color of the corresponding socket type in the node editor
21854
-
21855
- :type: bpy_prop_array[float]
21856
- """
21857
+ class NodeEnumDefinition(bpy_struct):
21858
+ """Definition of an enumeration for nodes"""
21857
21859
 
21858
- is_attribute: bool
21859
- """ Bake item is an attribute stored on a geometry
21860
+ active_index: int
21861
+ """ Index of the active item
21860
21862
 
21861
- :type: bool
21863
+ :type: int
21862
21864
  """
21863
21865
 
21864
- name: typing.Union[str, typing.Any]
21865
- """
21866
+ active_item: "NodeEnumItem"
21867
+ """ Active item
21866
21868
 
21867
- :type: typing.Union[str, typing.Any]
21869
+ :type: 'NodeEnumItem'
21868
21870
  """
21869
21871
 
21870
- socket_type: typing.Union[str, int]
21872
+ enum_items: "NodeEnumDefinitionItems"
21871
21873
  """
21872
21874
 
21873
- :type: typing.Union[str, int]
21875
+ :type: 'NodeEnumDefinitionItems'
21874
21876
  """
21875
21877
 
21876
21878
  @classmethod
@@ -21897,54 +21899,19 @@ class NodeGeometryBakeItem(bpy_struct):
21897
21899
  """
21898
21900
  ...
21899
21901
 
21900
- class NodeInstanceHash(bpy_struct):
21901
- """Hash table containing node instance data"""
21902
-
21903
- @classmethod
21904
- def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
21905
- """
21906
-
21907
- :param id: The RNA type identifier.
21908
- :type id: typing.Optional[str]
21909
- :rtype: 'Struct'
21910
- :return: The RNA type or default when not found.
21911
- """
21912
- ...
21913
-
21914
- @classmethod
21915
- def bl_rna_get_subclass_py(
21916
- cls, id: typing.Optional[str], default=None
21917
- ) -> typing.Any:
21918
- """
21919
-
21920
- :param id: The RNA type identifier.
21921
- :type id: typing.Optional[str]
21922
- :rtype: typing.Any
21923
- :return: The class or default when not found.
21924
- """
21925
- ...
21926
-
21927
- class NodeInternalSocketTemplate(bpy_struct):
21928
- """Type and default value of a node socket"""
21929
-
21930
- identifier: typing.Union[str, typing.Any]
21931
- """ Identifier of the socket
21902
+ class NodeEnumItem(bpy_struct):
21903
+ description: typing.Union[str, typing.Any]
21904
+ """
21932
21905
 
21933
21906
  :type: typing.Union[str, typing.Any]
21934
21907
  """
21935
21908
 
21936
21909
  name: typing.Union[str, typing.Any]
21937
- """ Name of the socket
21910
+ """
21938
21911
 
21939
21912
  :type: typing.Union[str, typing.Any]
21940
21913
  """
21941
21914
 
21942
- type: typing.Union[str, int]
21943
- """ Data type of the socket
21944
-
21945
- :type: typing.Union[str, int]
21946
- """
21947
-
21948
21915
  @classmethod
21949
21916
  def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
21950
21917
  """
@@ -21969,49 +21936,176 @@ class NodeInternalSocketTemplate(bpy_struct):
21969
21936
  """
21970
21937
  ...
21971
21938
 
21972
- class NodeLink(bpy_struct):
21973
- """Link between nodes in a node tree"""
21974
-
21975
- from_node: "Node"
21976
- """
21977
-
21978
- :type: 'Node'
21979
- """
21980
-
21981
- from_socket: "NodeSocket"
21982
- """
21983
-
21984
- :type: 'NodeSocket'
21985
- """
21986
-
21987
- is_hidden: typing.Union[bool, typing.Any]
21988
- """ Link is hidden due to invisible sockets
21939
+ class NodeGeometryBakeItem(bpy_struct):
21940
+ attribute_domain: typing.Union[str, int]
21941
+ """ Attribute domain where the attribute is stored in the baked data
21989
21942
 
21990
- :type: typing.Union[bool, typing.Any]
21943
+ :type: typing.Union[str, int]
21991
21944
  """
21992
21945
 
21993
- is_muted: bool
21994
- """ Link is muted and can be ignored
21946
+ color: bpy_prop_array[float]
21947
+ """ Color of the corresponding socket type in the node editor
21995
21948
 
21996
- :type: bool
21949
+ :type: bpy_prop_array[float]
21997
21950
  """
21998
21951
 
21999
- is_valid: bool
22000
- """ Link is valid
21952
+ is_attribute: bool
21953
+ """ Bake item is an attribute stored on a geometry
22001
21954
 
22002
21955
  :type: bool
22003
21956
  """
22004
21957
 
22005
- to_node: "Node"
21958
+ name: typing.Union[str, typing.Any]
22006
21959
  """
22007
21960
 
22008
- :type: 'Node'
21961
+ :type: typing.Union[str, typing.Any]
22009
21962
  """
22010
21963
 
22011
- to_socket: "NodeSocket"
21964
+ socket_type: typing.Union[str, int]
22012
21965
  """
22013
21966
 
22014
- :type: 'NodeSocket'
21967
+ :type: typing.Union[str, int]
21968
+ """
21969
+
21970
+ @classmethod
21971
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
21972
+ """
21973
+
21974
+ :param id: The RNA type identifier.
21975
+ :type id: typing.Optional[str]
21976
+ :rtype: 'Struct'
21977
+ :return: The RNA type or default when not found.
21978
+ """
21979
+ ...
21980
+
21981
+ @classmethod
21982
+ def bl_rna_get_subclass_py(
21983
+ cls, id: typing.Optional[str], default=None
21984
+ ) -> typing.Any:
21985
+ """
21986
+
21987
+ :param id: The RNA type identifier.
21988
+ :type id: typing.Optional[str]
21989
+ :rtype: typing.Any
21990
+ :return: The class or default when not found.
21991
+ """
21992
+ ...
21993
+
21994
+ class NodeInstanceHash(bpy_struct):
21995
+ """Hash table containing node instance data"""
21996
+
21997
+ @classmethod
21998
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
21999
+ """
22000
+
22001
+ :param id: The RNA type identifier.
22002
+ :type id: typing.Optional[str]
22003
+ :rtype: 'Struct'
22004
+ :return: The RNA type or default when not found.
22005
+ """
22006
+ ...
22007
+
22008
+ @classmethod
22009
+ def bl_rna_get_subclass_py(
22010
+ cls, id: typing.Optional[str], default=None
22011
+ ) -> typing.Any:
22012
+ """
22013
+
22014
+ :param id: The RNA type identifier.
22015
+ :type id: typing.Optional[str]
22016
+ :rtype: typing.Any
22017
+ :return: The class or default when not found.
22018
+ """
22019
+ ...
22020
+
22021
+ class NodeInternalSocketTemplate(bpy_struct):
22022
+ """Type and default value of a node socket"""
22023
+
22024
+ identifier: typing.Union[str, typing.Any]
22025
+ """ Identifier of the socket
22026
+
22027
+ :type: typing.Union[str, typing.Any]
22028
+ """
22029
+
22030
+ name: typing.Union[str, typing.Any]
22031
+ """ Name of the socket
22032
+
22033
+ :type: typing.Union[str, typing.Any]
22034
+ """
22035
+
22036
+ type: typing.Union[str, int]
22037
+ """ Data type of the socket
22038
+
22039
+ :type: typing.Union[str, int]
22040
+ """
22041
+
22042
+ @classmethod
22043
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
22044
+ """
22045
+
22046
+ :param id: The RNA type identifier.
22047
+ :type id: typing.Optional[str]
22048
+ :rtype: 'Struct'
22049
+ :return: The RNA type or default when not found.
22050
+ """
22051
+ ...
22052
+
22053
+ @classmethod
22054
+ def bl_rna_get_subclass_py(
22055
+ cls, id: typing.Optional[str], default=None
22056
+ ) -> typing.Any:
22057
+ """
22058
+
22059
+ :param id: The RNA type identifier.
22060
+ :type id: typing.Optional[str]
22061
+ :rtype: typing.Any
22062
+ :return: The class or default when not found.
22063
+ """
22064
+ ...
22065
+
22066
+ class NodeLink(bpy_struct):
22067
+ """Link between nodes in a node tree"""
22068
+
22069
+ from_node: "Node"
22070
+ """
22071
+
22072
+ :type: 'Node'
22073
+ """
22074
+
22075
+ from_socket: "NodeSocket"
22076
+ """
22077
+
22078
+ :type: 'NodeSocket'
22079
+ """
22080
+
22081
+ is_hidden: typing.Union[bool, typing.Any]
22082
+ """ Link is hidden due to invisible sockets
22083
+
22084
+ :type: typing.Union[bool, typing.Any]
22085
+ """
22086
+
22087
+ is_muted: bool
22088
+ """ Link is muted and can be ignored
22089
+
22090
+ :type: bool
22091
+ """
22092
+
22093
+ is_valid: bool
22094
+ """ Link is valid
22095
+
22096
+ :type: bool
22097
+ """
22098
+
22099
+ to_node: "Node"
22100
+ """
22101
+
22102
+ :type: 'Node'
22103
+ """
22104
+
22105
+ to_socket: "NodeSocket"
22106
+ """
22107
+
22108
+ :type: 'NodeSocket'
22015
22109
  """
22016
22110
 
22017
22111
  @classmethod
@@ -32591,7 +32685,7 @@ class SequenceTransform(bpy_struct):
32591
32685
  """Transform parameters for a sequence strip"""
32592
32686
 
32593
32687
  filter: typing.Union[str, int]
32594
- """ Type of filter to use for image transformation * ``NEAREST`` Nearest. * ``BILINEAR`` Bilinear. * ``BICUBIC`` Bicubic. * ``SUBSAMPLING_3x3`` Subsampling (3×3) -- Use nearest with 3×3 subsamples during rendering.
32688
+ """ Type of filter to use for image transformation * ``NEAREST`` Nearest -- Use nearest sample. * ``BILINEAR`` Bilinear -- Interpolate between 2×2 samples. * ``CUBIC_MITCHELL`` Cubic Mitchell -- Cubic Mitchell filter on 4×4 samples. * ``CUBIC_BSPLINE`` Cubic B-Spline -- Cubic B-Spline filter (blurry but no ringing) on 4×4 samples. * ``SUBSAMPLING_3x3`` Subsampling (3×3) -- Use nearest with 3×3 subsamples.
32595
32689
 
32596
32690
  :type: typing.Union[str, int]
32597
32691
  """
@@ -40852,50 +40946,24 @@ class UILayout(bpy_struct):
40852
40946
  def panel(
40853
40947
  self,
40854
40948
  idname: typing.Union[str, typing.Any],
40855
- text: typing.Optional[typing.Union[str, typing.Any]] = "",
40856
- text_ctxt: typing.Optional[typing.Union[str, typing.Any]] = "",
40857
- translate: typing.Optional[typing.Union[bool, typing.Any]] = True,
40858
40949
  default_closed: typing.Optional[typing.Union[bool, typing.Any]] = False,
40859
- ) -> "UILayout":
40950
+ ):
40860
40951
  """Creates a collapsable panel. Whether it is open or closed is stored in the region using the given idname
40861
40952
 
40862
40953
  :param idname: Identifier of the panel
40863
40954
  :type idname: typing.Union[str, typing.Any]
40864
- :param text: Override automatic text of the item
40865
- :type text: typing.Optional[typing.Union[str, typing.Any]]
40866
- :param text_ctxt: Override automatic translation context of the given text
40867
- :type text_ctxt: typing.Optional[typing.Union[str, typing.Any]]
40868
- :param translate: Translate the given text, when UI translation is enabled
40869
- :type translate: typing.Optional[typing.Union[bool, typing.Any]]
40870
40955
  :param default_closed: Open by Default, When true, the panel will be open the first time it is shown
40871
40956
  :type default_closed: typing.Optional[typing.Union[bool, typing.Any]]
40872
- :rtype: 'UILayout'
40873
- :return: Sub-layout to put items in. Will be none is the panel is collapsed
40874
40957
  """
40875
40958
  ...
40876
40959
 
40877
- def panel_prop(
40878
- self,
40879
- data: typing.Any,
40880
- property: typing.Union[str, typing.Any],
40881
- text: typing.Optional[typing.Union[str, typing.Any]] = "",
40882
- text_ctxt: typing.Optional[typing.Union[str, typing.Any]] = "",
40883
- translate: typing.Optional[typing.Union[bool, typing.Any]] = True,
40884
- ) -> "UILayout":
40960
+ def panel_prop(self, data: typing.Any, property: typing.Union[str, typing.Any]):
40885
40961
  """Similar to `.panel(...)` but instead of storing whether it is open or closed in the region, it is stored in the provided boolean property. This should be used when multiple instances of the same panel can exist. For example one for every item in a collection property or list
40886
40962
 
40887
40963
  :param data: Data from which to take the open-state property
40888
40964
  :type data: typing.Any
40889
40965
  :param property: Identifier of the boolean property that determines whether the panel is open or closed
40890
40966
  :type property: typing.Union[str, typing.Any]
40891
- :param text: Override automatic text of the item
40892
- :type text: typing.Optional[typing.Union[str, typing.Any]]
40893
- :param text_ctxt: Override automatic translation context of the given text
40894
- :type text_ctxt: typing.Optional[typing.Union[str, typing.Any]]
40895
- :param translate: Translate the given text, when UI translation is enabled
40896
- :type translate: typing.Optional[typing.Union[bool, typing.Any]]
40897
- :rtype: 'UILayout'
40898
- :return: Sub-layout to put items in. Will be none is the panel is collapsed
40899
40967
  """
40900
40968
  ...
40901
40969
 
@@ -65148,6 +65216,10 @@ class WindowManager(ID, bpy_struct):
65148
65216
  cls,
65149
65217
  operator: typing.Optional["Operator"],
65150
65218
  width: typing.Optional[typing.Any] = 300,
65219
+ title: typing.Union[str, typing.Any] = "",
65220
+ confirm_text: typing.Union[str, typing.Any] = "",
65221
+ text_ctxt: typing.Optional[typing.Union[str, typing.Any]] = "",
65222
+ translate: typing.Optional[typing.Union[bool, typing.Any]] = True,
65151
65223
  ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65152
65224
  """Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)
65153
65225
 
@@ -65155,6 +65227,14 @@ class WindowManager(ID, bpy_struct):
65155
65227
  :type operator: typing.Optional['Operator']
65156
65228
  :param width: Width of the popup
65157
65229
  :type width: typing.Optional[typing.Any]
65230
+ :param title: Title, Optional text to show as title of the popup
65231
+ :type title: typing.Union[str, typing.Any]
65232
+ :param confirm_text: Confirm Text, Optional text to show instead to the default "OK" confirmation button text
65233
+ :type confirm_text: typing.Union[str, typing.Any]
65234
+ :param text_ctxt: Override automatic translation context of the given text
65235
+ :type text_ctxt: typing.Optional[typing.Union[str, typing.Any]]
65236
+ :param translate: Translate the given text, when UI translation is enabled
65237
+ :type translate: typing.Optional[typing.Union[bool, typing.Any]]
65158
65238
  :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65159
65239
  :return: result
65160
65240
  """
@@ -73972,6 +74052,65 @@ class Nodes(bpy_prop_collection[Node], bpy_struct):
73972
74052
  """
73973
74053
  ...
73974
74054
 
74055
+ class NodeEnumDefinitionItems(bpy_prop_collection[NodeEnumItem], bpy_struct):
74056
+ """Collection of items that make up an enum"""
74057
+
74058
+ def new(self, name: typing.Union[str, typing.Any]) -> "NodeEnumItem":
74059
+ """Add an a new enum item
74060
+
74061
+ :param name: Name
74062
+ :type name: typing.Union[str, typing.Any]
74063
+ :rtype: 'NodeEnumItem'
74064
+ :return: Item, New item
74065
+ """
74066
+ ...
74067
+
74068
+ def remove(self, item: "NodeEnumItem"):
74069
+ """Remove an item from this enum
74070
+
74071
+ :param item: Item, The item to remove
74072
+ :type item: 'NodeEnumItem'
74073
+ """
74074
+ ...
74075
+
74076
+ def clear(self):
74077
+ """Remove all items from this enum"""
74078
+ ...
74079
+
74080
+ def move(self, from_index: typing.Optional[int], to_index: typing.Optional[int]):
74081
+ """Move an item to another position
74082
+
74083
+ :param from_index: From Index, Index of the item to move
74084
+ :type from_index: typing.Optional[int]
74085
+ :param to_index: To Index, Target index for the item
74086
+ :type to_index: typing.Optional[int]
74087
+ """
74088
+ ...
74089
+
74090
+ @classmethod
74091
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
74092
+ """
74093
+
74094
+ :param id: The RNA type identifier.
74095
+ :type id: typing.Optional[str]
74096
+ :rtype: 'Struct'
74097
+ :return: The RNA type or default when not found.
74098
+ """
74099
+ ...
74100
+
74101
+ @classmethod
74102
+ def bl_rna_get_subclass_py(
74103
+ cls, id: typing.Optional[str], default=None
74104
+ ) -> typing.Any:
74105
+ """
74106
+
74107
+ :param id: The RNA type identifier.
74108
+ :type id: typing.Optional[str]
74109
+ :rtype: typing.Any
74110
+ :return: The class or default when not found.
74111
+ """
74112
+ ...
74113
+
73975
74114
  class NodeGeometryBakeItems(bpy_prop_collection[NodeGeometryBakeItem], bpy_struct):
73976
74115
  """Collection of bake items"""
73977
74116
 
@@ -83921,6 +84060,42 @@ class NODE_UL_bake_node_items(UIList, bpy_struct):
83921
84060
  """
83922
84061
  ...
83923
84062
 
84063
+ class NODE_UL_enum_definition_items(UIList, bpy_struct):
84064
+ def draw_item(
84065
+ self,
84066
+ _context,
84067
+ layout,
84068
+ _data,
84069
+ item,
84070
+ icon,
84071
+ _active_data,
84072
+ _active_propname,
84073
+ _index,
84074
+ ): ...
84075
+ @classmethod
84076
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
84077
+ """
84078
+
84079
+ :param id: The RNA type identifier.
84080
+ :type id: typing.Optional[str]
84081
+ :rtype: 'Struct'
84082
+ :return: The RNA type or default when not found.
84083
+ """
84084
+ ...
84085
+
84086
+ @classmethod
84087
+ def bl_rna_get_subclass_py(
84088
+ cls, id: typing.Optional[str], default=None
84089
+ ) -> typing.Any:
84090
+ """
84091
+
84092
+ :param id: The RNA type identifier.
84093
+ :type id: typing.Optional[str]
84094
+ :rtype: typing.Any
84095
+ :return: The class or default when not found.
84096
+ """
84097
+ ...
84098
+
83924
84099
  class NODE_UL_repeat_zone_items(UIList, bpy_struct):
83925
84100
  def draw_item(
83926
84101
  self,
@@ -94279,6 +94454,42 @@ class NodeSocketMaterial(NodeSocketStandard, NodeSocket, bpy_struct):
94279
94454
  """
94280
94455
  ...
94281
94456
 
94457
+ class NodeSocketMenu(NodeSocketStandard, NodeSocket, bpy_struct):
94458
+ """Menu socket of a node"""
94459
+
94460
+ default_value: typing.Union[str, int]
94461
+ """ Input value used for unconnected socket
94462
+
94463
+ :type: typing.Union[str, int]
94464
+ """
94465
+
94466
+ links: typing.Any
94467
+ """ List of node links from or to this socket. (readonly)"""
94468
+
94469
+ @classmethod
94470
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
94471
+ """
94472
+
94473
+ :param id: The RNA type identifier.
94474
+ :type id: typing.Optional[str]
94475
+ :rtype: 'Struct'
94476
+ :return: The RNA type or default when not found.
94477
+ """
94478
+ ...
94479
+
94480
+ @classmethod
94481
+ def bl_rna_get_subclass_py(
94482
+ cls, id: typing.Optional[str], default=None
94483
+ ) -> typing.Any:
94484
+ """
94485
+
94486
+ :param id: The RNA type identifier.
94487
+ :type id: typing.Optional[str]
94488
+ :rtype: typing.Any
94489
+ :return: The class or default when not found.
94490
+ """
94491
+ ...
94492
+
94282
94493
  class NodeSocketObject(NodeSocketStandard, NodeSocket, bpy_struct):
94283
94494
  """Object socket of a node"""
94284
94495
 
@@ -96255,6 +96466,78 @@ class NodeTreeInterfaceSocketMaterial(
96255
96466
  """
96256
96467
  ...
96257
96468
 
96469
+ class NodeTreeInterfaceSocketMenu(
96470
+ NodeTreeInterfaceSocket, NodeTreeInterfaceItem, bpy_struct
96471
+ ):
96472
+ """Menu socket of a node"""
96473
+
96474
+ default_value: typing.Union[str, int]
96475
+ """ Input value used for unconnected socket
96476
+
96477
+ :type: typing.Union[str, int]
96478
+ """
96479
+
96480
+ def draw(self, context: "Context", layout: "UILayout"):
96481
+ """Draw interface socket settings
96482
+
96483
+ :param context:
96484
+ :type context: 'Context'
96485
+ :param layout: Layout, Layout in the UI
96486
+ :type layout: 'UILayout'
96487
+ """
96488
+ ...
96489
+
96490
+ def init_socket(
96491
+ self,
96492
+ node: "Node",
96493
+ socket: "NodeSocket",
96494
+ data_path: typing.Union[str, typing.Any],
96495
+ ):
96496
+ """Initialize a node socket instance
96497
+
96498
+ :param node: Node, Node of the socket to initialize
96499
+ :type node: 'Node'
96500
+ :param socket: Socket, Socket to initialize
96501
+ :type socket: 'NodeSocket'
96502
+ :param data_path: Data Path, Path to specialized socket data
96503
+ :type data_path: typing.Union[str, typing.Any]
96504
+ """
96505
+ ...
96506
+
96507
+ def from_socket(self, node: "Node", socket: "NodeSocket"):
96508
+ """Setup template parameters from an existing socket
96509
+
96510
+ :param node: Node, Node of the original socket
96511
+ :type node: 'Node'
96512
+ :param socket: Socket, Original socket
96513
+ :type socket: 'NodeSocket'
96514
+ """
96515
+ ...
96516
+
96517
+ @classmethod
96518
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
96519
+ """
96520
+
96521
+ :param id: The RNA type identifier.
96522
+ :type id: typing.Optional[str]
96523
+ :rtype: 'Struct'
96524
+ :return: The RNA type or default when not found.
96525
+ """
96526
+ ...
96527
+
96528
+ @classmethod
96529
+ def bl_rna_get_subclass_py(
96530
+ cls, id: typing.Optional[str], default=None
96531
+ ) -> typing.Any:
96532
+ """
96533
+
96534
+ :param id: The RNA type identifier.
96535
+ :type id: typing.Optional[str]
96536
+ :rtype: typing.Any
96537
+ :return: The class or default when not found.
96538
+ """
96539
+ ...
96540
+
96258
96541
  class NodeTreeInterfaceSocketObject(
96259
96542
  NodeTreeInterfaceSocket, NodeTreeInterfaceItem, bpy_struct
96260
96543
  ):
@@ -113926,6 +114209,80 @@ class GeometryNodeMaterialSelection(GeometryNode, NodeInternal, Node, bpy_struct
113926
114209
  """
113927
114210
  ...
113928
114211
 
114212
+ class GeometryNodeMenuSwitch(GeometryNode, NodeInternal, Node, bpy_struct):
114213
+ """Select from multiple inputs by name"""
114214
+
114215
+ data_type: typing.Union[str, int]
114216
+ """
114217
+
114218
+ :type: typing.Union[str, int]
114219
+ """
114220
+
114221
+ enum_definition: "NodeEnumDefinition"
114222
+ """ Definition of enum items
114223
+
114224
+ :type: 'NodeEnumDefinition'
114225
+ """
114226
+
114227
+ @classmethod
114228
+ def is_registered_node_type(cls) -> bool:
114229
+ """True if a registered node type
114230
+
114231
+ :rtype: bool
114232
+ :return: Result
114233
+ """
114234
+ ...
114235
+
114236
+ @classmethod
114237
+ def input_template(
114238
+ cls, index: typing.Optional[int]
114239
+ ) -> "NodeInternalSocketTemplate":
114240
+ """Input socket template
114241
+
114242
+ :param index: Index
114243
+ :type index: typing.Optional[int]
114244
+ :rtype: 'NodeInternalSocketTemplate'
114245
+ :return: result
114246
+ """
114247
+ ...
114248
+
114249
+ @classmethod
114250
+ def output_template(
114251
+ cls, index: typing.Optional[int]
114252
+ ) -> "NodeInternalSocketTemplate":
114253
+ """Output socket template
114254
+
114255
+ :param index: Index
114256
+ :type index: typing.Optional[int]
114257
+ :rtype: 'NodeInternalSocketTemplate'
114258
+ :return: result
114259
+ """
114260
+ ...
114261
+
114262
+ @classmethod
114263
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
114264
+ """
114265
+
114266
+ :param id: The RNA type identifier.
114267
+ :type id: typing.Optional[str]
114268
+ :rtype: 'Struct'
114269
+ :return: The RNA type or default when not found.
114270
+ """
114271
+ ...
114272
+
114273
+ @classmethod
114274
+ def bl_rna_get_subclass_py(
114275
+ cls, id: typing.Optional[str], default=None
114276
+ ) -> typing.Any:
114277
+ """
114278
+
114279
+ :param id: The RNA type identifier.
114280
+ :type id: typing.Optional[str]
114281
+ :rtype: typing.Any
114282
+ :return: The class or default when not found.
114283
+ """
114284
+ ...
114285
+
113929
114286
  class GeometryNodeMergeByDistance(GeometryNode, NodeInternal, Node, bpy_struct):
113930
114287
  """Merge vertices or points within a given distance"""
113931
114288
 
@@ -128857,7 +129214,7 @@ ARMATURE_OT_collection_remove_unused: "bl_operators.anim.ARMATURE_OT_collection_
128857
129214
 
128858
129215
  ARMATURE_OT_collection_show_all: "bl_operators.anim.ARMATURE_OT_collection_show_all"
128859
129216
 
128860
- ARMATURE_OT_collection_solo_visibility: "bl_operators.anim.ARMATURE_OT_collection_solo_visibility"
129217
+ ARMATURE_OT_collection_unsolo_all: "bl_operators.anim.ARMATURE_OT_collection_unsolo_all"
128861
129218
 
128862
129219
  ARMATURE_OT_copy_bone_color_to_selected: "bl_operators.anim.ARMATURE_OT_copy_bone_color_to_selected"
128863
129220
 
@@ -130061,6 +130418,12 @@ NODE_OT_add_simulation_zone: "bl_operators.node.NODE_OT_add_simulation_zone"
130061
130418
 
130062
130419
  NODE_OT_collapse_hide_unused_toggle: "bl_operators.node.NODE_OT_collapse_hide_unused_toggle"
130063
130420
 
130421
+ NODE_OT_enum_definition_item_add: "bl_operators.node.NODE_OT_enum_definition_item_add"
130422
+
130423
+ NODE_OT_enum_definition_item_move: "bl_operators.node.NODE_OT_enum_definition_item_move"
130424
+
130425
+ NODE_OT_enum_definition_item_remove: "bl_operators.node.NODE_OT_enum_definition_item_remove"
130426
+
130064
130427
  NODE_OT_interface_item_duplicate: "bl_operators.node.NODE_OT_interface_item_duplicate"
130065
130428
 
130066
130429
  NODE_OT_interface_item_new: "bl_operators.node.NODE_OT_interface_item_new"
@@ -130091,6 +130454,8 @@ NODE_PT_index_switch_node_items: "bl_ui.space_node.NODE_PT_index_switch_node_ite
130091
130454
 
130092
130455
  NODE_PT_material_slots: "bl_ui.space_node.NODE_PT_material_slots"
130093
130456
 
130457
+ NODE_PT_menu_switch_items: "bl_ui.space_node.NODE_PT_menu_switch_items"
130458
+
130094
130459
  NODE_PT_node_color_presets: "bl_ui.space_node.NODE_PT_node_color_presets"
130095
130460
 
130096
130461
  NODE_PT_node_tree_interface: "bl_ui.space_node.NODE_PT_node_tree_interface"
@@ -130111,6 +130476,8 @@ NODE_PT_tools_active: "bl_ui.space_toolsystem_toolbar.NODE_PT_tools_active"
130111
130476
 
130112
130477
  NODE_UL_bake_node_items: "bl_ui.space_node.NODE_UL_bake_node_items"
130113
130478
 
130479
+ NODE_UL_enum_definition_items: "bl_ui.space_node.NODE_UL_enum_definition_items"
130480
+
130114
130481
  NODE_UL_repeat_zone_items: "bl_ui.space_node.NODE_UL_repeat_zone_items"
130115
130482
 
130116
130483
  NODE_UL_simulation_zone_items: "bl_ui.space_node.NODE_UL_simulation_zone_items"