ドキュメント

アプリケーションモジュール

Operators

Types

Application Data

Extra Utilities (bpy_extras)

Math Types & Utilities (mathutils)

参考:

Blender Python API Documentation [Official]

bpy.context

コンテキストに応じたデータや UI、操作を提供するインスタンス。

Global Context

  • area
  • blend_data
  • collection
  • engine
  • gizmo_group
  • layer_collection
  • mode
  • preferences
  • region
  • region_data
  • scene
  • screen
  • space_data
  • tool_settings
  • view_layer
  • window
  • window_manager
  • workspace

Screen Context

  • scene
  • view_layer
  • visible_objects
  • selectable_objects
  • selected_objects
  • editable_objects
  • selected_editable_objects
  • objects_in_mode
  • objects_in_mode_unique_data
  • visible_bones
  • editable_bones
  • selected_bones
  • selected_editable_bones
  • visible_pose_bones
  • selected_pose_bones
  • selected_pose_bones_from_active_object
  • active_bone
  • active_pose_bone
  • active_object
  • object
  • edit_object
  • sculpt_object
  • vertex_paint_object
  • weight_paint_object
  • image_paint_object
  • particle_edit_object
  • pose_object
  • sequences
  • selected_sequences
  • selected_editable_sequences
  • gpencil_data
  • gpencil_data_owner
  • annotation_data
  • annotation_data_owner
  • visible_gpencil_layers
  • editable_gpencil_layers
  • editable_gpencil_strokes
  • active_gpencil_layer
  • active_gpencil_frame
  • active_annotation_layer
  • active_operator
  • visible_fcurves
  • editable_fcurves
  • selected_visible_fcurves
  • selected_editable_fcurves
  • active_editable_fcurves

View3D Contet

  • active_base
  • active_object

Buttons Context

  • texture_slot
  • scene
  • world
  • object
  • mesh
  • armature
  • lattice
  • curve
  • meta_ball
  • light
  • speaker
  • lightprobe
  • camera
  • material
  • material_slot
  • texture
  • texture_user
  • texture_user_property
  • bone
  • edit_bone
  • pose_bone
  • particle_system
  • particle_system_editable
  • particle_settings
  • cloth
  • soft_body
  • fluid
  • collision
  • brush
  • dynamic_paint
  • line_style
  • collection
  • gpencil

Image Context

  • edit_image
  • edit_mask

Node Context

  • selected_nodes
  • active_node
  • light
  • material
  • world

Text Context

  • edit_text

Clip Context

  • edit_movieclip
  • edit_mask

Sequencer Context

  • edit_mask

参考:

Context Access (bpy.context) | Blender Python API [Official]

タグ:

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です