Blender Python API参考文档
3D场景编辑器
bpy.context
bpy.context
bpy.context.area
bpy.context.asset_file_handle
bpy.context.blend_data
bpy.context.collectio
bpy.context.engine
bpy.context.gizmo_group
bpy.context.layer_collection
bpy.context.mode
bpy.context.preferences
bpy.context.region
bpy.context.region_data
bpy.context.scene
bpy.context.screen
bpy.context.space_data
bpy.context.tool_settings
bpy.context.view_layer
bpy.context.window
bpy.context.window_manager
bpy.context.workspace
bpy.context.texture_slot
bpy.context.scene
bpy.context.world
bpy.context.object
bpy.context.mesh
bpy.context.armature
bpy.context.lattice
bpy.context.curve
bpy.context.meta_ball
bpy.context.light
bpy.context.speaker
bpy.context.lightprobe
bpy.context.camera
bpy.context.material
bpy.context.material_slot
bpy.context.texture
bpy.context.texture_user
bpy.context.texture_user_property
bpy.context.bone
bpy.context.edit_bone
bpy.context.pose_bone
bpy.context.particle_system
bpy.context.particle_system_editable
bpy.context.particle_settings
bpy.context.cloth
bpy.context.soft_body
bpy.context.fluid
bpy.context.collision
bpy.context.brush
bpy.context.dynamic_paint
bpy.context.line_style
bpy.context.collection
bpy.context.gpencil
bpy.context.curves
bpy.context.volume
bpy.context.edit_movieclip
bpy.context.edit_mask
bpy.context.active_file
bpy.context.selected_files
bpy.context.asset_library_ref
bpy.context.selected_asset_files
bpy.context.id
bpy.context.edit_image
bpy.context.edit_mask
bpy.context.selected_nodes
bpy.context.active_node
bpy.context.light
bpy.context.material
bpy.context.world
bpy.context.scene
bpy.context.view_layer
bpy.context.visible_objects
bpy.context.selectable_objects
bpy.context.selected_objects
bpy.context.editable_objects
bpy.context.selected_editable_objects
bpy.context.objects_in_mode
bpy.context.objects_in_mode_unique_data
bpy.context.visible_bones
bpy.context.editable_bones
bpy.context.selected_bones
bpy.context.selected_editable_bones
bpy.context.visible_pose_bones
bpy.context.selected_pose_bones
bpy.context.selected_pose_bones_from_active_object
bpy.context.active_bone
bpy.context.active_pose_bone
bpy.context.active_object
bpy.context.object
bpy.context.edit_object
bpy.context.sculpt_object
bpy.context.vertex_paint_object
bpy.context.weight_paint_object
bpy.context.image_paint_object
bpy.context.particle_edit_object
bpy.context.pose_object
bpy.context.active_sequence_strip
bpy.context.sequences
bpy.context.selected_sequences
bpy.context.selected_editable_sequences
bpy.context.active_nla_track
bpy.context.active_nla_strip
bpy.context.selected_nla_strips
bpy.context.selected_movieclip_tracks
bpy.context.gpencil_data
bpy.context.gpencil_data_owner
bpy.context.annotation_data
bpy.context.annotation_data_owner
bpy.context.visible_gpencil_layers
bpy.context.editable_gpencil_layers
bpy.context.editable_gpencil_strokes
bpy.context.active_gpencil_layer
bpy.context.active_gpencil_frame
bpy.context.active_annotation_layer
bpy.context.active_operator
bpy.context.active_action
bpy.context.selected_visible_actions
bpy.context.selected_editable_actions
bpy.context.visible_fcurves
bpy.context.editable_fcurves
bpy.context.selected_visible_fcurves
bpy.context.selected_editable_fcurves
bpy.context.active_editable_fcurve
bpy.context.selected_editable_keyframes
bpy.context.ui_list
bpy.context.asset_library_ref
bpy.context.edit_mask
bpy.context.edit_text
bpy.context.active_object
bpy.context.selected_ids
bpy.data
bpy.data
bpy.msgbus
bpy.msgbus
bpy.msgbus.clear_by_owner
bpy.msgbus.publish_rna
bpy.msgbus.subscribe_rna
bpy.ops
bpy.ops
bpy.ops.actions
bpy.ops.actions.clean
bpy.ops.actions.clickselect
bpy.ops.actions.copy
bpy.ops.actions.delete
bpy.ops.actions.duplicate
bpy.ops.actions.duplicate_move
bpy.ops.actions.easing_type
bpy.ops.actions.extrapolation_type
bpy.ops.actions.frame_jump
bpy.ops.actions.handle_type
bpy.ops.actions.interpolation_type
bpy.ops.actions.keyframe_insert
bpy.ops.actions.keyframe_type
bpy.ops.actions.layer_next
bpy.ops.actions.layer_prev
bpy.ops.actions.markers_make_local
bpy.ops.actions.mirror
bpy.ops.actions.new
bpy.ops.actions.paste
bpy.ops.actions.previewrange_set
bpy.ops.actions.push_down
bpy.ops.actions.sample
bpy.ops.actions.select_all
bpy.ops.actions.select_box
bpy.ops.actions.select_circle
bpy.ops.actions.select_column
bpy.ops.actions.select_lasso
bpy.ops.actions.select_leftright
bpy.ops.actions.select_less
bpy.ops.actions.select_linked
bpy.ops.actions.select_more
bpy.ops.anim
bpy.ops.anim.change_frame
bpy.ops.anim.channel_select_keys
bpy.ops.anim.channels_clean_empty
bpy.ops.anim.channels_click
bpy.ops.anim.channels_collapse
bpy.ops.anim.channels_delete
bpy.ops.anim.channels_editable_toggle
bpy.ops.anim.channels_expand
bpy.ops.anim.channels_fcurves_enable
bpy.ops.anim.channels_group
bpy.ops.anim.channels_move
bpy.ops.anim.channels_rename
bpy.ops.anim.channels_select_all
bpy.ops.anim.channels_select_box
bpy.ops.anim.channels_select_filter
bpy.ops.anim.channels_setting_disable
bpy.ops.anim.channels_setting_enable
bpy.ops.anim.channels_setting_toggle
bpy.ops.anim.channels_ungroup
bpy.ops.anim.clear_useless_actions
bpy.ops.anim.copy_driver_button
bpy.ops.anim.driver_button_add
bpy.ops.anim.driver_button_edit
bpy.ops.anim.driver_button_remove
bpy.ops.anim.end_frame_set
bpy.ops.anim.keyframe_clear_button
bpy.ops.anim.keyframe_clear_v3d
bpy.ops.anim.keyframe_delete
bpy.ops.anim.keyframe_delete_button
bpy.ops.anim.keyframe_delete_by_name
bpy.ops.anim.keyframe_delete_v3d
bpy.ops.anim.keyframe_insert
bpy.ops.anim.keyframe_insert_button
bpy.ops.anim.keyframe_insert_by_name
bpy.ops.anim.keyframe_insert_menu
bpy.ops.anim.keying_set_active_set
bpy.ops.anim.keying_set_add
bpy.ops.anim.keying_set_export
bpy.ops.anim.keying_set_path_add
bpy.ops.anim.keying_set_path_remove
bpy.ops.anim.keying_set_remove
bpy.ops.anim.keyingset_button_add
bpy.ops.anim.keyingset_button_remove
bpy.ops.anim.paste_driver_button
bpy.ops.anim.previewrange_clear
bpy.ops.anim.previewrange_set
bpy.ops.anim.start_frame_set
bpy.ops.anim.update_animated_transform_constraints
bpy.ops.anim.snap
bpy.ops.anim.stash
bpy.ops.anim.stash_and_create
bpy.ops.anim.unlink
bpy.ops.anim.view_all
bpy.ops.anim.view_frame
bpy.ops.anim.view_selected
bpy.opts.armature
bpy.ops.armature.align
bpy.ops.armature.armature_layers
bpy.ops.armature.autoside_names
bpy.ops.armature.bone_layers
bpy.ops.armature.bone_primitive_add
bpy.ops.armature.calculate_roll
bpy.ops.armature.click_extrude
bpy.ops.armature.delete
bpy.ops.armature.dissolve
bpy.ops.armature.duplicate
bpy.ops.armature.duplicate_move
bpy.ops.armature.extrude
bpy.ops.armature.extrude_forked
bpy.ops.armature.extrude_move
bpy.ops.armature.fill
bpy.ops.armature.flip_names
bpy.ops.armature.hide
bpy.ops.armature.layers_show_all
bpy.ops.armature.parent_clear
bpy.ops.armature.parent_set
bpy.ops.armature.reveal
bpy.ops.armature.roll_clear
bpy.ops.armature.select_all
bpy.ops.armature.select_hierarchy
bpy.ops.armature.select_less
bpy.ops.armature.select_linked
bpy.ops.armature.select_linked_pick
bpy.ops.armature.select_mirror
bpy.ops.armature.select_more
bpy.ops.armature.select_similar
bpy.ops.armature.separate
bpy.ops.armature.shortest_path_pick
bpy.ops.armature.split
bpy.ops.armature.subdivide
bpy.ops.armature.switch_direction
bpy.ops.armature.symmetrize
bpy.ops.asset
bpy.ops.asset.assign_action
bpy.ops.asset.bundle_install
bpy.ops.asset.catalog_delete
bpy.ops.asset.catalog_new
bpy.ops.asset.catalog_redo
bpy.ops.asset.catalog_undo
bpy.ops.asset.catalog_undo_push
bpy.ops.asset.catalogs_save
bpy.ops.asset.clear
bpy.ops.asset.library_refresh
bpy.ops.asset.mark
bpy.ops.asset.open_containing_blend_file
bpy.ops.asset.tag_add
bpy.ops.asset.tag_remove
bpy.ops.boid
bpy.ops.boid.rule_add
bpy.ops.boid.rule_del
bpy.ops.boid.rule_move_down
bpy.ops.boid.rule_move_up
bpy.ops.boid.state_add
bpy.ops.boid.state_del
bpy.ops.boid.state_move_down
bpy.ops.boid.state_move_up
bpy.ops.brush
bpy.ops.brush.add
bpy.ops.brush.add_gpencil
bpy.ops.brush.curve_preset
bpy.ops.brush.reset
bpy.ops.brush.scale_size
bpy.ops.brush.stencil_control
bpy.ops.brush.stencil_fit_image_aspect
bpy.ops.brush.stencil_reset_transform
bpy.ops.buttons
bpy.ops.buttons.clear_filter
bpy.ops.buttons.context_menu
bpy.ops.buttons.directory_browse
bpy.ops.buttons.file_browse
bpy.ops.buttons.start_filter
bpy.ops.buttons.toggle_pin
bpy.ops.cachefile
bpy.ops.cachefile.layer_add
bpy.ops.cachefile.layer_move
bpy.ops.cachefile.layer_remove
bpy.ops.cachefile.open
bpy.ops.cachefile.reload
bpy.ops.camera
bpy.ops.camera.preset_add
bpy.ops.clip
bpy.ops.clip.add_marker
bpy.ops.clip.add_marker_at_click
bpy.ops.clip.add_marker_move
bpy.ops.clip.add_marker_slide
bpy.ops.clip.apply_solution_scale
bpy.ops.clip.average_tracks
bpy.ops.clip.bundles_to_mesh
bpy.ops.clip.camera_preset_add
bpy.ops.clip.change_frame
bpy.ops.clip.clean_tracks
bpy.ops.clip.clear_solution
bpy.ops.clip.clear_track_path
bpy.ops.clip.constraint_to_fcurve
bpy.ops.clip.copy_tracks
bpy.ops.clip.create_plane_track
bpy.ops.clip.cursor_set
bpy.ops.clip.delete_marker
bpy.ops.clip.delete_proxy
bpy.ops.clip.delete_track
bpy.ops.clip.detect_features
bpy.ops.clip.disable_markers
bpy.ops.clip.dopesheet_select_channel
bpy.ops.clip.dopesheet_view_all
bpy.ops.clip.filter_tracks
bpy.ops.clip.frame_jump
bpy.ops.clip.graph_center_current_frame
bpy.ops.clip.graph_delete_curve
bpy.ops.clip.graph_delete_knot
bpy.ops.clip.graph_disable_markers
bpy.ops.clip.graph_select
bpy.ops.clip.graph_select_all_markers
bpy.ops.clip.graph_select_box
bpy.ops.clip.graph_view_all
bpy.ops.clip.hide_tracks
bpy.ops.clip.hide_tracks_clear
bpy.ops.clip.join_tracks
bpy.ops.clip.keyframe_delete
bpy.ops.clip.keyframe_insert
bpy.ops.clip.lock_selection_toggle
bpy.ops.clip.lock_tracks
bpy.ops.clip.mode_set
bpy.ops.clip.new_image_from_plane_marker
bpy.ops.clip.open
bpy.ops.clip.paste_tracks
bpy.ops.clip.prefetch
bpy.ops.clip.rebuild_proxy
bpy.ops.clip.refine_markers
bpy.ops.clip.reload
bpy.ops.clip.select
bpy.ops.clip.select_all
bpy.ops.clip.select_box
bpy.ops.clip.select_circle
bpy.ops.clip.select_grouped
bpy.ops.clip.select_lasso
bpy.ops.clip.set_active_clip
bpy.ops.clip.set_axis
bpy.ops.clip.set_center_principal
bpy.ops.clip.set_origin
bpy.ops.clip.set_plane
bpy.ops.clip.set_scale
bpy.ops.clip.set_scene_frame
bpy.ops.clip.set_solution_scale
bpy.ops.clip.set_solver_keyframe
bpy.ops.clip.set_viewport_background
bpy.ops.clip.setup_tracking_scene
bpy.ops.clip.slide_marker
bpy.ops.clip.slide_plane_marker
bpy.ops.clip.solve_camera
bpy.ops.clip.stabilize_2d_add
bpy.ops.clip.stabilize_2d_remove
bpy.ops.clip.stabilize_2d_rotation_add
bpy.ops.clip.bilize_2d_rotation_remove
bpy.ops.clip.stabilize_2d_rotation_select
bpy.ops.clip.stabilize_2d_select
bpy.ops.clip.track_color_preset_add
bpy.ops.clip.track_copy_color
bpy.ops.clip.track_markers
bpy.ops.clip.track_settings_as_default
bpy.ops.clip.track_settings_to_track
bpy.ops.clip.track_to_empty
bpy.ops.clip.tracking_object_new
bpy.ops.clip.tracking_object_remove
bpy.ops.clip.tracking_settings_preset_add
bpy.ops.clip.update_image_from_plane_marker
bpy.ops.clip.view_all
bpy.ops.clip.view_center_cursor
bpy.ops.clip.view_ndof
bpy.ops.clip.view_pan
bpy.ops.clip.view_selected
bpy.ops.clip.view_zoom
bpy.ops.clip.view_zoom_in
bpy.ops.clip.view_zoom_out
bpy.ops.clip.view_zoom_ratio
bpy.ops.cloth
bpy.ops.cloth.preset_add
bpy.ops.collection
bpy.ops.collection.create
bpy.ops.collection.objects_add_active
bpy.ops.collection.objects_remove
bpy.ops.collection.objects_remove_active
bpy.ops.collection.objects_remove_all
bpy.ops.console
bpy.ops.console.autocomplete
bpy.ops.console.banner
bpy.ops.console.clear
bpy.ops.console.clear_line
bpy.ops.console.copy
bpy.ops.console.copy_as_script
bpy.ops.console.delete
bpy.ops.console.execute
bpy.ops.console.history_append
bpy.ops.console.history_cycle
bpy.ops.console.indent
bpy.ops.console.indent_or_autocomplete
bpy.ops.console.insert
bpy.ops.console.language
bpy.ops.console.move
bpy.ops.console.paste
bpy.ops.console.scrollback_append
bpy.ops.console.select_set
bpy.ops.console.select_word
bpy.ops.console.unindent
bpy.ops.constraint
bpy.ops.constraint.add_target
bpy.ops.constraint.apply
bpy.ops.constraint.childof_clear_inverse
bpy.ops.constraint.childof_set_inverse
bpy.ops.constraint.copy
bpy.ops.constraint.copy_to_selected
bpy.ops.constraint.delete
bpy.ops.constraint.disable_keep_transform
bpy.ops.constraint.followpath_path_animate
bpy.ops.constraint.limitdistance_reset
bpy.ops.constraint.move_down
bpy.ops.constraint.move_to_index
bpy.ops.constraint.move_up
bpy.ops.constraint.normalize_target_weights
bpy.ops.constraint.objectsolver_clear_inverse
bpy.ops.constraint.objectsolver_set_inverse
bpy.ops.constraint.remove_target
bpy.ops.constraint.stretchto_reset
bpy.ops.curve
bpy.ops.curve.cyclic_toggle
bpy.ops.curve.de_select_first
bpy.ops.curve.de_select_last
bpy.ops.curve.decimate
bpy.ops.curve.delete
bpy.ops.curve.dissolve_verts
bpy.ops.curve.draw
bpy.ops.curve.duplicate
bpy.ops.curve.duplicate_move
bpy.ops.curve.extrude
bpy.ops.curve.extrude_move
bpy.ops.curve.handle_type_set
bpy.ops.curve.hide
bpy.ops.curve.make_segment
bpy.ops.curve.match_texture_space
bpy.ops.curve.normals_make_consistent
bpy.ops.curve.pen
bpy.ops.curve.primitive_bezier_circle_add
bpy.ops.curve.primitive_bezier_curve_add
bpy.ops.curve.primitive_nurbs_circle_add
bpy.ops.curve.primitive_nurbs_curve_add
bpy.ops.curve.primitive_nurbs_path_add
bpy.ops.curve.radius_set
bpy.ops.curve.reveal
bpy.ops.curve.select_all
bpy.ops.curve.select_less
bpy.ops.curve.select_linked
bpy.ops.curve.select_linked_pick
bpy.ops.curve.select_more
bpy.ops.curve.select_next
bpy.ops.curve.select_nth
bpy.ops.curve.select_previous
bpy.ops.curve.select_random
bpy.ops.curve.select_row
bpy.ops.curve.select_similar
bpy.ops.curve.separate
bpy.ops.curve.shade_flat
bpy.ops.curve.shade_smooth
bpy.ops.curve.shortest_path_pick
bpy.ops.curve.smooth
bpy.ops.curve.smooth_radius
bpy.ops.curve.smooth_tilt
bpy.ops.curve.smooth_weight
bpy.ops.curve.spin
bpy.ops.curve.spline_type_set
bpy.ops.curve.spline_weight_set
bpy.ops.curve.split
bpy.ops.curve.subdivide
bpy.ops.curve.switch_direction
bpy.ops.curve.tilt_clear
bpy.ops.curve.vertex_add
bpy.ops.curves
bpy.ops.curves.convert_from_particle_system
bpy.ops.curves.convert_to_particle_system
bpy.ops.curves.disable_selection
bpy.ops.curves.sculptmode_toggle
bpy.ops.curves.set_selection_domain
bpy.ops.curves.snap_curves_to_surface
bpy.ops.curves.surface_set
bpy.ops.cycles
bpy.ops.cycles.denoise_animation
bpy.ops.cycles.merge_images
bpy.ops.cycles.use_shading_nodes
bpy.ops.dpaint
bpy.ops.dpaint.bake
bpy.ops.dpaint.output_toggle
bpy.ops.dpaint.surface_slot_add
bpy.ops.dpaint.surface_slot_remove
bpy.ops.dpaint.type_toggle
bpy.ops.ed
bpy.ops.ed.flush_edits
bpy.ops.ed.lib_id_fake_user_toggle
bpy.ops.ed.lib_id_generate_preview
bpy.ops.ed.lib_id_generate_preview_from_object
bpy.ops.ed.lib_id_load_custom_preview
bpy.ops.ed.lib_id_override_editable_toggle
bpy.ops.ed.lib_id_unlink
bpy.ops.ed.redo
bpy.ops.ed.undo
bpy.ops.ed.undo_history
bpy.ops.ed.undo_push
bpy.ops.ed.undo_redo
bpy.ops.export_
bpy.ops.export_anim.bvh
bpy.ops.export_mesh.ply
bpy.ops.export_mesh.stl
bpy.ops.export_scene.fbx
bpy.ops.export_scene.gltf
bpy.ops.export_scene.obj
bpy.ops.export_scene.x3d
bpy.ops.file
bpy.ops.file.autopack_toggle
bpy.ops.file.bookmark_add
bpy.ops.file.bookmark_cleanup
bpy.ops.file.bookmark_delete
bpy.ops.file.bookmark_move
bpy.ops.file.cancel
bpy.ops.file.delete
bpy.ops.file.directory_new
bpy.ops.file.edit_directory_path
bpy.ops.file.execute
bpy.ops.file.filenum
bpy.ops.file.filepath_drop
bpy.ops.file.find_missing_files
bpy.ops.file.hidedot
bpy.ops.file.highlight
bpy.ops.file.make_paths_absolute
bpy.ops.file.make_paths_relative
bpy.ops.file.mouse_execute
bpy.ops.file.next
bpy.ops.file.pack_all
bpy.ops.file.pack_libraries
bpy.ops.file.parent
bpy.ops.file.previous
bpy.ops.file.refresh
bpy.ops.file.rename
bpy.ops.file.report_missing_files
bpy.ops.file.reset_recent
bpy.ops.file.select
bpy.ops.file.select_all
bpy.ops.file.select_bookmark
bpy.ops.file.select_box
bpy.ops.file.select_walk
bpy.ops.file.smoothscroll
bpy.ops.file.sort_column_ui_context
bpy.ops.file.start_filter
bpy.ops.file.unpack_all
bpy.ops.file.unpack_item
bpy.ops.file.unpack_libraries
bpy.ops.file.view_selected
bpy.ops.fluid
bpy.ops.fluid.bake_all
bpy.ops.fluid.bake_data
bpy.ops.fluid.bake_guides
bpy.ops.fluid.bake_mesh
bpy.ops.fluid.bake_noise
bpy.ops.fluid.bake_particles
bpy.ops.fluid.free_all
bpy.ops.fluid.free_data
bpy.ops.fluid.free_guides
bpy.ops.fluid.free_mesh
bpy.ops.fluid.free_noise
bpy.ops.fluid.free_particles
bpy.ops.fluid.pause_bake
bpy.ops.fluid.preset_add
bpy.ops.font
bpy.ops.font.case_set
bpy.ops.font.case_toggle
bpy.ops.font.change_character
bpy.ops.font.change_spacing
bpy.ops.font.delete
bpy.ops.font.line_break
bpy.ops.font.move
bpy.ops.font.move_select
bpy.ops.font.open
bpy.ops.font.select_all
bpy.ops.font.style_set
bpy.ops.font.style_toggle
bpy.ops.font.text_copy
bpy.ops.font.text_cut
bpy.ops.font.text_insert
bpy.ops.font.text_paste
bpy.ops.font.text_paste_from_file
bpy.ops.font.textbox_add
bpy.ops.font.textbox_remove
bpy.ops.font.unlink
bpy.ops.geometry
bpy.ops.geometry.attribute_add
bpy.ops.geometry.attribute_convert
bpy.ops.geometry.attribute_remove
bpy.ops.geometry.color_attribute_add
bpy.ops.geometry.color_attribute_duplicate
bpy.ops.geometry.color_attribute_remove
bpy.ops.geometry.color_attribute_render_set
bpy.ops.gizmogroup
bpy.ops.gizmogroup.gizmo_select
bpy.ops.gizmogroup.gizmo_tweak
bpy.ops.gpencil
bpy.ops.gpencil.active_frame_delete
bpy.ops.gpencil.active_frames_delete_all
bpy.ops.gpencil.annotate
bpy.ops.gpencil.annotation_active_frame_delete
bpy.ops.gpencil.annotation_add
bpy.ops.gpencil.bake_grease_pencil_animation
bpy.ops.gpencil.bake_mesh_animation
bpy.ops.gpencil.blank_frame_add
bpy.ops.gpencil.brush_reset
bpy.ops.gpencil.brush_reset_all
bpy.ops.gpencil.convert
bpy.ops.gpencil.convert_old_files
bpy.ops.gpencil.copy
bpy.ops.gpencil.data_unlink
bpy.ops.gpencil.delete
bpy.ops.gpencil.dissolve
bpy.ops.gpencil.draw
bpy.ops.gpencil.duplicate
bpy.ops.gpencil.duplicate_move
bpy.ops.gpencil.editmode_toggle
bpy.ops.gpencil.extract_palette_vertex
bpy.ops.gpencil.extrude
bpy.ops.gpencil.extrude_move
bpy.ops.gpencil.fill
bpy.ops.gpencil.frame_clean_duplicate
bpy.ops.gpencil.frame_clean_fill
bpy.ops.gpencil.frame_clean_loose
bpy.ops.gpencil.frame_duplicate
bpy.ops.gpencil.generate_weights
bpy.ops.gpencil.guide_rotate
bpy.ops.gpencil.hide
bpy.ops.gpencil.image_to_grease_pencil
bpy.ops.gpencil.interpolate
bpy.ops.gpencil.interpolate_reverse
bpy.ops.gpencil.interpolate_sequence
bpy.ops.gpencil.layer_active
bpy.ops.gpencil.layer_add
bpy.ops.gpencil.layer_annotation_add
bpy.ops.gpencil.layer_annotation_move
bpy.ops.gpencil.layer_annotation_remove
bpy.ops.gpencil.layer_change
bpy.ops.gpencil.layer_duplicate
bpy.ops.gpencil.layer_duplicate_object
bpy.ops.gpencil.layer_isolate
bpy.ops.gpencil.layer_mask_add
bpy.ops.gpencil.layer_mask_move
bpy.ops.gpencil.layer_mask_remove
bpy.ops.gpencil.layer_merge
bpy.ops.gpencil.layer_move
bpy.ops.gpencil.layer_remove
bpy.ops.gpencil.lock_all
bpy.ops.gpencil.lock_layer
bpy.ops.gpencil.material_hide
bpy.ops.gpencil.material_isolate
bpy.ops.gpencil.material_lock_all
bpy.ops.gpencil.material_lock_unused
bpy.ops.gpencil.material_reveal
bpy.ops.gpencil.material_select
bpy.ops.gpencil.material_set
bpy.ops.gpencil.material_to_vertex_color
bpy.ops.gpencil.material_unlock_all
bpy.ops.gpencil.materials_copy_to_object
bpy.ops.gpencil.move_to_layer
bpy.ops.gpencil.paintmode_toggle
bpy.ops.gpencil.paste
bpy.ops.gpencil.primitive_box
bpy.ops.gpencil.primitive_circle
bpy.ops.gpencil.primitive_curve
bpy.ops.gpencil.primitive_line
bpy.ops.gpencil.primitive_polyline
bpy.ops.gpencil.recalc_geometry
bpy.ops.gpencil.reproject
bpy.ops.gpencil.reset_transform_fill
bpy.ops.gpencil.reveal
bpy.ops.gpencil.sculpt_paint
bpy.ops.gpencil.sculptmode_toggle
bpy.ops.gpencil.segment_add
bpy.ops.gpencil.segment_move
bpy.ops.gpencil.segment_remove
bpy.ops.gpencil.select
bpy.ops.gpencil.select_all
bpy.ops.gpencil.select_alternate
bpy.ops.gpencil.select_box
bpy.ops.gpencil.select_circle
bpy.ops.gpencil.select_first
bpy.ops.gpencil.select_grouped
bpy.ops.gpencil.select_lasso
bpy.ops.gpencil.select_last
bpy.ops.gpencil.select_less
bpy.ops.gpencil.select_linked
bpy.ops.gpencil.select_more
bpy.ops.gpencil.select_random
bpy.ops.gpencil.select_vertex_color
bpy.ops.gpencil.selection_opacity_toggle
bpy.ops.gpencil.selectmode_toggle
bpy.ops.gpencil.set_active_material
bpy.ops.gpencil.snap_cursor_to_selected
bpy.ops.gpencil.snap_to_cursor
bpy.ops.gpencil.snap_to_grid
bpy.ops.gpencil.stroke_apply_thickness
bpy.ops.gpencil.stroke_arrange
bpy.ops.gpencil.stroke_caps_set
bpy.ops.gpencil.stroke_change_color
bpy.ops.gpencil.stroke_cutter
bpy.ops.gpencil.stroke_cyclical_set
bpy.ops.gpencil.stroke_editcurve_set_handle_type
bpy.ops.gpencil.stroke_enter_editcurve_mode
bpy.ops.gpencil.stroke_flip
bpy.ops.gpencil.stroke_join
bpy.ops.gpencil.stroke_merge
bpy.ops.gpencil.stroke_merge_by_distance
bpy.ops.gpencil.stroke_merge_material
bpy.ops.gpencil.stroke_normalize
bpy.ops.gpencil.stroke_outline
bpy.ops.gpencil.stroke_reset_vertex_color
bpy.ops.gpencil.stroke_sample
bpy.ops.gpencil.stroke_separate
bpy.ops.gpencil.stroke_simplify
bpy.ops.gpencil.stroke_simplify_fixed
bpy.ops.gpencil.stroke_smooth
bpy.ops.gpencil.stroke_split
bpy.ops.gpencil.stroke_start_set
bpy.ops.gpencil.stroke_subdivide
bpy.ops.gpencil.stroke_trim
bpy.ops.gpencil.time_segment_add
bpy.ops.gpencil.time_segment_move
bpy.ops.gpencil.time_segment_remove
bpy.ops.gpencil.tint_flip
bpy.ops.gpencil.trace_image
bpy.ops.gpencil.transform_fill
bpy.ops.gpencil.unlock_all
bpy.ops.gpencil.vertex_color_brightness_contrast
bpy.ops.gpencil.vertex_color_hsv
bpy.ops.gpencil.vertex_color_invert
bpy.ops.gpencil.vertex_color_levels
bpy.ops.gpencil.vertex_color_set
bpy.ops.gpencil.vertex_group_assign
bpy.ops.gpencil.vertex_group_deselect
bpy.ops.gpencil.vertex_group_invert
bpy.ops.gpencil.vertex_group_normalize
bpy.ops.gpencil.vertex_group_normalize_all
bpy.ops.gpencil.vertex_group_remove_from
bpy.ops.gpencil.vertex_group_select
bpy.ops.gpencil.vertex_group_smooth
bpy.ops.gpencil.vertex_paint
bpy.ops.gpencil.vertexmode_toggle
bpy.ops.gpencil.weight_paint
bpy.ops.gpencil.weightmode_toggle
选择文档
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
bpy.ops.file.select_bookmark
选择书签操作用于在Blender中选择书签。
参数
index
(可选):选择索引号对应的书签。默认值为0。
返回值
{'FINISHED'}
:操作成功完成。
示例
# 选择第一个书签
bpy.ops.file.select_bookmark(index=
0
)
注意事项
该功能需要当前文件已经有书签才会生效。如果当前文件没有任何书签,将不会有任何效果。
index
参数必须是小于书签数的整数值。如果超出了范围将会抛出异常。