user: Show practical ways to work with P in a Blender add-on or script – include code.

assistant: |  |  |
| --- | --- |
| - [pack() (bpy.types.Image method)](bpy.types.Image.html#bpy.types.Image.pack)   - [(bpy.types.Sound method)](bpy.types.Sound.html#bpy.types.Sound.pack)   - [(bpy.types.VectorFont method)](bpy.types.VectorFont.html#bpy.types.VectorFont.pack)   - [(in module bpy.ops.image)](bpy.ops.image.html#bpy.ops.image.pack)   - [(in module bpy.ops.sound)](bpy.ops.sound.html#bpy.ops.sound.pack) - [pack_all() (in module bpy.ops.file)](bpy.ops.file.html#bpy.ops.file.pack_all) - [pack_islands() (in module bpy.ops.uv)](bpy.ops.uv.html#bpy.ops.uv.pack_islands) - [pack_libraries() (in module bpy.ops.file)](bpy.ops.file.html#bpy.ops.file.pack_libraries) - [pack_linked_ids_hierarchy() (bpy.types.BlendData method)](bpy.types.BlendData.html#bpy.types.BlendData.pack_linked_ids_hierarchy) - [package_disable() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_disable) - [package_install() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_install) - [package_install_files() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_install_files) - [package_install_marked() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_install_marked) - [package_mark_clear() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_mark_clear) - [package_mark_clear_all() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_mark_clear_all) - [package_mark_set() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_mark_set) - [package_mark_set_all() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_mark_set_all) - [package_obsolete_marked() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_obsolete_marked) - [package_show_clear() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_show_clear) - [package_show_set() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_show_set) - [package_show_settings() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_show_settings) - [package_theme_disable() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_theme_disable) - [package_theme_enable() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_theme_enable) - [package_uninstall() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_uninstall) - [package_uninstall_marked() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_uninstall_marked) - [package_uninstall_system() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_uninstall_system) - [package_upgrade_all() (in module bpy.ops.extensions)](bpy.ops.extensions.html#bpy.ops.extensions.package_upgrade_all) - [PackedFile (class in bpy.types)](bpy.types.PackedFile.html#bpy.types.PackedFile) - [PackedFile.data (in module bpy.types)](bpy.types.PackedFile.html#bpy.types.PackedFile.data) - [PackedFile.size (in module bpy.types)](bpy.types.PackedFile.html#bpy.types.PackedFile.size) - [packetsize (bpy.types.FFmpegSettings attribute)](bpy.types.FFmpegSettings.html#bpy.types.FFmpegSettings.packetsize) - [Paint (class in bpy.types)](bpy.types.Paint.html#bpy.types.Paint) - [Paint.brush (in module bpy.types)](bpy.types.Paint.html#bpy.types.Paint.brush) - [Paint.brush_asset_reference (in module bpy.types)](bpy.types.Paint.html#bpy.types.Paint.brush_asset_reference) - [Paint.cavity_curve (in module bpy.types)](bpy.types.Paint.html#bpy.types.Paint.cavity_curve) - [Paint.eraser_brush_asset_reference (in module bpy.types)](bpy.types.Paint.html#bpy.types.Paint.eraser_brush_asset_reference) - [Paint.unified_paint_settings (in module bpy.types)](bpy.types.Paint.html#bpy.types.Paint.unified_paint_settings) - [paint_active_slot (bpy.types.Material attribute)](bpy.types.Material.html#bpy.types.Material.paint_active_slot) - [paint_alpha (bpy.types.DynamicPaintBrushSettings attribute)](bpy.types.DynamicPaintBrushSettings.html#bpy.types.DynamicPaintBrushSettings.paint_alpha) - [paint_clone_slot (bpy.types.Material attribute)](bpy.types.Material.html#bpy.types.Material.paint_clone_slot) - [paint_color (bpy.types.DynamicPaintBrushSettings attribute)](bpy.types.DynamicPaintBrushSettings.html#bpy.types.DynamicPaintBrushSettings.paint_color) - [paint_curve (bpy.types.Brush attribute)](bpy.types.Brush.html#bpy.types.Brush.paint_curve) - [paint_distance (bpy.types.DynamicPaintBrushSettings attribute)](bpy.types.DynamicPaintBrushSettings.html#bpy.types.DynamicPaintBrushSettings.paint_distance) - [paint_mask_extract() (in module bpy.ops.sculpt)](bpy.ops.sculpt.html#bpy.ops.sculpt.paint_mask_extract) - [paint_mask_slice() (in module bpy.ops.sculpt)](bpy.ops.sculpt.html#bpy.ops.sculpt.paint_mask_slice) - [paint_source (bpy.types.DynamicPaintBrushSettings attribute)](bpy.types.DynamicPaintBrushSettings.html#bpy.types.DynamicPaintBrushSettings.paint_source) - [paint_wetness (bpy.types.DynamicPaintBrushSettings attribute)](bpy.types.DynamicPaintBrushSettings.html#bpy.types.DynamicPaintBrushSettings.paint_wetness) - [PaintCurve (class in bpy.types)](bpy.types.PaintCurve.html#bpy.types.PaintCurve) - [paintmode_toggle() (in module bpy.ops.grease_pencil)](bpy.ops.grease_pencil.html#bpy.ops.grease_pencil.paintmode_toggle) - [PaintModeSettings (class in bpy.types)](bpy.types.PaintModeSettings.html#bpy.types.PaintModeSettings) - [pair_with_output() (bpy.types.GeometryNodeForeachGeometryElementInput method)](bpy.types.GeometryNodeForeachGeometryElementInput.html#bpy.types.GeometryNodeForeachGeometryElementInput.pair_with_output)   - [(bpy.types.GeometryNodeRepeatInput method)](bpy.types.GeometryNodeRepeatInput.html#bpy.types.GeometryNodeRepeatInput.pair_with_output)   - [(bpy.types.GeometryNodeSimulationInput method)](bpy.types.GeometryNodeSimulationInput.html#bpy.types.GeometryNodeSimulationInput.pair_with_output)   - [(bpy.types.NodeClosureInput method)](bpy.types.NodeClosureInput.html#bpy.types.NodeClosureInput.pair_with_output) - [pairwise() (in module freestyle.utils)](freestyle.utils.html#freestyle.utils.pairwise) - [palette (bpy.types.BoneColor attribute)](bpy.types.BoneColor.html#bpy.types.BoneColor.palette)   - [(bpy.types.Paint attribute)](bpy.types.Paint.html#bpy.types.Paint.palette) - [Palette (class in bpy.types)](bpy.types.Palette.html#bpy.types.Palette) - [Palette.colors (in module bpy.types)](bpy.types.Palette.html#bpy.types.Palette.colors) - [PaletteColor (class in bpy.types)](bpy.types.PaletteColor.html#bpy.types.PaletteColor) - [PaletteColors (class in bpy.types)](bpy.types.PaletteColors.html#bpy.types.PaletteColors) - [pan (bpy.types.SoundStrip attribute)](bpy.types.SoundStrip.html#bpy.types.SoundStrip.pan) - [pan() (in module bpy.ops.view2d)](bpy.ops.view2d.html#bpy.ops.view2d.pan) - [panel (bpy.types.FreestyleLineStyle attribute)](bpy.types.FreestyleLineStyle.html#bpy.types.FreestyleLineStyle.panel) - [Panel (class in bpy.types)](bpy.types.Panel.html#bpy.types.Panel) - [panel() (bpy.types.UILayout method)](bpy.types.UILayout.html#bpy.types.UILayout.panel) - [Panel.custom_data (in module bpy.types)](bpy.types.Panel.html#bpy.types.Panel.custom_data) - [Panel.is_popover (in module bpy.types)](bpy.types.Panel.html#bpy.types.Panel.is_popover) - [Panel.layout (in module bpy.types)](bpy.types.Panel.html#bpy.types.Panel.layout) - [panel_active (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_active) - [panel_back (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_back) - [panel_header (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_header) - [panel_outline (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_outline) - [panel_prop() (bpy.types.UILayout method)](bpy.types.UILayout.html#bpy.types.UILayout.panel_prop) - [panel_roundness (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_roundness) - [panel_sub_back (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_sub_back) - [panel_text (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_text) - [panel_title (bpy.types.ThemeUserInterface attribute)](bpy.types.ThemeUserInterface.html#bpy.types.ThemeUserInterface.panel_title) - [panorama_type (bpy.types.Camera attribute)](bpy.types.Camera.html#bpy.types.Camera.panorama_type) - [parallax_distance (bpy.types.LightProbeSphere attribute)](bpy.types.LightProbeSphere.html#bpy.types.LightProbeSphere.parallax_distance) - [parallax_type (bpy.types.LightProbeSphere attribute)](bpy.types.LightProbeSphere.html#bpy.types.LightProbeSphere.parallax_type) - [parametrization (bpy.types.ShaderNodeBsdfHairPrincipled attribute)](bpy.types.ShaderNodeBsdfHairPrincipled.html#bpy.types.ShaderNodeBsdfHairPrincipled.parametrization) - [parent (bpy.types.BoneCollection attribute)](bpy.types.BoneCollection.html#bpy.types.BoneCollection.parent)   - [(bpy.types.EditBone attribute)](bpy.types.EditBone.html#bpy.types.EditBone.parent)   - [(bpy.types.GreasePencilLayer attribute)](bpy.types.GreasePencilLayer.html#bpy.types.GreasePencilLayer.parent)   - [(bpy.types.MaskParent attribute)](bpy.types.MaskParent.html#bpy.types.MaskParent.parent)   - [(bpy.types.Node attribute)](bpy.types.Node.html#bpy.types.Node.parent)   - [(bpy.types.Object attribute)](bpy.types.Object.html#bpy.types.Object.parent)   - [(bpy.types.ParticleSystem attribute)](bpy.types.ParticleSystem.html#bpy.types.ParticleSystem.parent) - [parent() (in module bpy.ops.file)](bpy.ops.file.html#bpy.ops.file.parent) - [parent_bone (bpy.types.GreasePencilLayer attribute)](bpy.types.GreasePencilLayer.html#bpy.types.GreasePencilLayer.parent_bone)   - [(bpy.types.Object attribute)](bpy.types.Object.html#bpy.types.Object.parent_bone) - [parent_clear() (in module bpy.ops.armature)](bpy.ops.armature.html#bpy.ops.armature.parent_clear)   - [(in module bpy.ops.mask)](bpy.ops.mask.html#bpy.ops.mask.parent_clear)   - [(in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.parent_clear)   - [(in module bpy.ops.outliner)](bpy.ops.outliner.html#bpy.ops.outliner.parent_clear) - [parent_drop() (in module bpy.ops.outliner)](bpy.ops.outliner.html#bpy.ops.outliner.parent_drop) - [parent_index() (bpy.types.Bone method)](bpy.types.Bone.html#bpy.types.Bone.parent_index)   - [(bpy.types.EditBone method)](bpy.types.EditBone.html#bpy.types.EditBone.parent_index)   - [(bpy.types.PoseBone method)](bpy.types.PoseBone.html#bpy.types.PoseBone.parent_index) - [parent_inverse_apply() (in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.parent_inverse_apply) - [parent_meta() (bpy.types.Strip method)](bpy.types.Strip.html#bpy.types.Strip.parent_meta) - [parent_no_inverse_set() (in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.parent_no_inverse_set) - [parent_set() (in module bpy.ops.armature)](bpy.ops.armature.html#bpy.ops.armature.parent_set)   - [(in module bpy.ops.mask)](bpy.ops.mask.html#bpy.ops.mask.parent_set)   - [(in module bpy.ops.node)](bpy.ops.node.html#bpy.ops.node.parent_set)   - [(in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.parent_set) - [parent_type (bpy.types.Object attribute)](bpy.types.Object.html#bpy.types.Object.parent_type) - [parent_vertices (bpy.types.Object attribute)](bpy.types.Object.html#bpy.types.Object.parent_vertices) - [Particle (class in bpy.types)](bpy.types.Particle.html#bpy.types.Particle) - [Particle.hair_keys (in module bpy.types)](bpy.types.Particle.html#bpy.types.Particle.hair_keys) - [Particle.is_exist (in module bpy.types)](bpy.types.Particle.html#bpy.types.Particle.is_exist) - [Particle.is_visible (in module bpy.types)](bpy.types.Particle.html#bpy.types.Particle.is_visible) - [Particle.particle_keys (in module bpy.types)](bpy.types.Particle.html#bpy.types.Particle.particle_keys) - [particle_amount (bpy.types.ParticleInstanceModifier attribute)](bpy.types.ParticleInstanceModifier.html#bpy.types.ParticleInstanceModifier.particle_amount) - [particle_band_width (bpy.types.FluidDomainSettings attribute)](bpy.types.FluidDomainSettings.html#bpy.types.FluidDomainSettings.particle_band_width) - [particle_edit_object (in module bpy.context)](bpy.context.html#bpy.context.particle_edit_object) - [particle_edit_toggle() (in module bpy.ops.particle)](bpy.ops.particle.html#bpy.ops.particle.particle_edit_toggle) - [particle_factor (bpy.types.ParticleSettings attribute)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.particle_factor) - [particle_max (bpy.types.FluidDomainSettings attribute)](bpy.types.FluidDomainSettings.html#bpy.types.FluidDomainSettings.particle_max) - [particle_min (bpy.types.FluidDomainSettings attribute)](bpy.types.FluidDomainSettings.html#bpy.types.FluidDomainSettings.particle_min) - [particle_number (bpy.types.FluidDomainSettings attribute)](bpy.types.FluidDomainSettings.html#bpy.types.FluidDomainSettings.particle_number) - [particle_offset (bpy.types.ParticleInstanceModifier attribute)](bpy.types.ParticleInstanceModifier.html#bpy.types.ParticleInstanceModifier.particle_offset) - [particle_radius (bpy.types.FluidDomainSettings attribute)](bpy.types.FluidDomainSettings.html#bpy.types.FluidDomainSettings.particle_radius) - [particle_randomness (bpy.types.FluidDomainSettings attribute)](bpy.types.FluidDomainSettings.html#bpy.types.FluidDomainSettings.particle_randomness) - [particle_scale (bpy.types.FluidDomainSettings attribute)](bpy.types.FluidDomainSettings.html#bpy.types.FluidDomainSettings.particle_scale) - [particle_settings (in module bpy.context)](bpy.context.html#bpy.context.particle_settings) - [particle_size (bpy.types.FluidFlowSettings attribute)](bpy.types.FluidFlowSettings.html#bpy.types.FluidFlowSettings.particle_size)   - [(bpy.types.ParticleSettings attribute)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.particle_size) - [particle_system (bpy.types.DynamicPaintBrushSettings attribute)](bpy.types.DynamicPaintBrushSettings.html#bpy.types.DynamicPaintBrushSettings.particle_system)   - [(bpy.types.FluidFlowSettings attribute)](bpy.types.FluidFlowSettings.html#bpy.types.FluidFlowSettings.particle_system)   - [(bpy.types.ParticleInstanceModifier attribute)](bpy.types.ParticleInstanceModifier.html#bpy.types.ParticleInstanceModifier.particle_system)   - [(in module bpy.context)](bpy.context.html#bpy.context.particle_system) - [particle_system_add() (in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.particle_system_add) - [particle_system_editable (in module bpy.context)](bpy.context.html#bpy.context.particle_system_editable) - [particle_system_index (bpy.types.ParticleInstanceModifier attribute)](bpy.types.ParticleInstanceModifier.html#bpy.types.ParticleInstanceModifier.particle_system_index) - [particle_system_remove() (in module bpy.ops.object)](bpy.ops.object.html#bpy.ops.object.particle_system_remove) - [particle_system_remove_all() (in module bpy.ops.particle)](bpy.ops.particle.html#bpy.ops.particle.particle_system_remove_all) - [PARTICLE_UL_particle_systems (class in bpy.types)](bpy.types.PARTICLE_UL_particle_systems.html#bpy.types.PARTICLE_UL_particle_systems) - [particle_uv (bpy.types.ExplodeModifier attribute)](bpy.types.ExplodeModifier.html#bpy.types.ExplodeModifier.particle_uv) - [ParticleBrush (class in bpy.types)](bpy.types.ParticleBrush.html#bpy.types.ParticleBrush) - [ParticleBrush.curve (in module bpy.types)](bpy.types.ParticleBrush.html#bpy.types.ParticleBrush.curve) - [ParticleDupliWeight (class in bpy.types)](bpy.types.ParticleDupliWeight.html#bpy.types.ParticleDupliWeight) - [ParticleDupliWeight.name (in module bpy.types)](bpy.types.ParticleDupliWeight.html#bpy.types.ParticleDupliWeight.name) - [ParticleEdit (class in bpy.types)](bpy.types.ParticleEdit.html#bpy.types.ParticleEdit) - [ParticleEdit.brush (in module bpy.types)](bpy.types.ParticleEdit.html#bpy.types.ParticleEdit.brush) - [ParticleEdit.is_editable (in module bpy.types)](bpy.types.ParticleEdit.html#bpy.types.ParticleEdit.is_editable) - [ParticleEdit.is_hair (in module bpy.types)](bpy.types.ParticleEdit.html#bpy.types.ParticleEdit.is_hair) - [ParticleEdit.object (in module bpy.types)](bpy.types.ParticleEdit.html#bpy.types.ParticleEdit.object) - [ParticleHairKey (class in bpy.types)](bpy.types.ParticleHairKey.html#bpy.types.ParticleHairKey) - [ParticleInstanceModifier (class in bpy.types)](bpy.types.ParticleInstanceModifier.html#bpy.types.ParticleInstanceModifier) - [ParticleKey (class in bpy.types)](bpy.types.ParticleKey.html#bpy.types.ParticleKey) - [ParticleSettings (class in bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings) - [ParticleSettings.active_instanceweight (in module bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.active_instanceweight) - [ParticleSettings.animation_data (in module bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.animation_data) - [ParticleSettings.boids (in module bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.boids) - [ParticleSettings.clump_curve (in module bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.clump_curve) - [ParticleSettings.effector_weights (in module bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.effector_weights) - [ParticleSettings.fluid (in module bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.fluid) - [ParticleSettings.force_field_1 (in module bpy.types)](bpy.types.ParticleSettings.html#bpy.types.ParticleSettings.force_f