user: How do I use References in Blender? Include parameters, examples, warnings and best practices.

assistant: |  |  |
| --- | --- |
| - [`bpy.context.material`](bpy.context.html#bpy.context.material "bpy.context.material") - [`BlendData.materials`](bpy.types.BlendData.html#bpy.types.BlendData.materials "bpy.types.BlendData.materials") - [`BlendDataMaterials.create_gpencil_data`](bpy.types.BlendDataMaterials.html#bpy.types.BlendDataMaterials.create_gpencil_data "bpy.types.BlendDataMaterials.create_gpencil_data") - [`BlendDataMaterials.new`](bpy.types.BlendDataMaterials.html#bpy.types.BlendDataMaterials.new "bpy.types.BlendDataMaterials.new") - [`BlendDataMaterials.remove`](bpy.types.BlendDataMaterials.html#bpy.types.BlendDataMaterials.remove "bpy.types.BlendDataMaterials.remove") - [`BlendDataMaterials.remove_gpencil_data`](bpy.types.BlendDataMaterials.html#bpy.types.BlendDataMaterials.remove_gpencil_data "bpy.types.BlendDataMaterials.remove_gpencil_data") - [`BrushGpencilSettings.material`](bpy.types.BrushGpencilSettings.html#bpy.types.BrushGpencilSettings.material "bpy.types.BrushGpencilSettings.material") - [`BrushGpencilSettings.material_alt`](bpy.types.BrushGpencilSettings.html#bpy.types.BrushGpencilSettings.material_alt "bpy.types.BrushGpencilSettings.material_alt") - [`Curve.materials`](bpy.types.Curve.html#bpy.types.Curve.materials "bpy.types.Curve.materials") - [`Curves.materials`](bpy.types.Curves.html#bpy.types.Curves.materials "bpy.types.Curves.materials") - [`GeometryNodeInputMaterial.material`](bpy.types.GeometryNodeInputMaterial.html#bpy.types.GeometryNodeInputMaterial.material "bpy.types.GeometryNodeInputMaterial.material") - [`GreasePencil.materials`](bpy.types.GreasePencil.html#bpy.types.GreasePencil.materials "bpy.types.GreasePencil.materials") - [`GreasePencilArrayModifier.material_filter`](bpy.types.GreasePencilArrayModifier.html#bpy.types.GreasePencilArrayModifier.material_filter "bpy.types.GreasePencilArrayModifier.material_filter") - [`GreasePencilBuildModifier.material_filter`](bpy.types.GreasePencilBuildModifier.html#bpy.types.GreasePencilBuildModifier.material_filter "bpy.types.GreasePencilBuildModifier.material_filter") - [`GreasePencilColorModifier.material_filter`](bpy.types.GreasePencilColorModifier.html#bpy.types.GreasePencilColorModifier.material_filter "bpy.types.GreasePencilColorModifier.material_filter") - [`GreasePencilDashModifierData.material_filter`](bpy.types.GreasePencilDashModifierData.html#bpy.types.GreasePencilDashModifierData.material_filter "bpy.types.GreasePencilDashModifierData.material_filter") - [`GreasePencilEnvelopeModifier.material_filter`](bpy.types.GreasePencilEnvelopeModifier.html#bpy.types.GreasePencilEnvelopeModifier.material_filter "bpy.types.GreasePencilEnvelopeModifier.material_filter") - [`GreasePencilHookModifier.material_filter`](bpy.types.GreasePencilHookModifier.html#bpy.types.GreasePencilHookModifier.material_filter "bpy.types.GreasePencilHookModifier.material_filter") - [`GreasePencilLatticeModifier.material_filter`](bpy.types.GreasePencilLatticeModifier.html#bpy.types.GreasePencilLatticeModifier.material_filter "bpy.types.GreasePencilLatticeModifier.material_filter") - [`GreasePencilLengthModifier.material_filter`](bpy.types.GreasePencilLengthModifier.html#bpy.types.GreasePencilLengthModifier.material_filter "bpy.types.GreasePencilLengthModifier.material_filter") - [`GreasePencilLineartModifier.target_material`](bpy.types.GreasePencilLineartModifier.html#bpy.types.GreasePencilLineartModifier.target_material "bpy.types.GreasePencilLineartModifier.target_material") - [`GreasePencilMirrorModifier.material_filter`](bpy.types.GreasePencilMirrorModifier.html#bpy.types.GreasePencilMirrorModifier.material_filter "bpy.types.GreasePencilMirrorModifier.material_filter") - [`GreasePencilMultiplyModifier.material_filter`](bpy.types.GreasePencilMultiplyModifier.html#bpy.types.GreasePencilMultiplyModifier.material_filter "bpy.types.GreasePencilMultiplyModifier.material_filter") - [`GreasePencilNoiseModifier.material_filter`](bpy.types.GreasePencilNoiseModifier.html#bpy.types.GreasePencilNoiseModifier.material_filter "bpy.types.GreasePencilNoiseModifier.material_filter") | - [`GreasePencilOffsetModifier.material_filter`](bpy.types.GreasePencilOffsetModifier.html#bpy.types.GreasePencilOffsetModifier.material_filter "bpy.types.GreasePencilOffsetModifier.material_filter") - [`GreasePencilOpacityModifier.material_filter`](bpy.types.GreasePencilOpacityModifier.html#bpy.types.GreasePencilOpacityModifier.material_filter "bpy.types.GreasePencilOpacityModifier.material_filter") - [`GreasePencilOutlineModifier.material_filter`](bpy.types.GreasePencilOutlineModifier.html#bpy.types.GreasePencilOutlineModifier.material_filter "bpy.types.GreasePencilOutlineModifier.material_filter") - [`GreasePencilOutlineModifier.outline_material`](bpy.types.GreasePencilOutlineModifier.html#bpy.types.GreasePencilOutlineModifier.outline_material "bpy.types.GreasePencilOutlineModifier.outline_material") - [`GreasePencilShrinkwrapModifier.material_filter`](bpy.types.GreasePencilShrinkwrapModifier.html#bpy.types.GreasePencilShrinkwrapModifier.material_filter "bpy.types.GreasePencilShrinkwrapModifier.material_filter") - [`GreasePencilSimplifyModifier.material_filter`](bpy.types.GreasePencilSimplifyModifier.html#bpy.types.GreasePencilSimplifyModifier.material_filter "bpy.types.GreasePencilSimplifyModifier.material_filter") - [`GreasePencilSmoothModifier.material_filter`](bpy.types.GreasePencilSmoothModifier.html#bpy.types.GreasePencilSmoothModifier.material_filter "bpy.types.GreasePencilSmoothModifier.material_filter") - [`GreasePencilSubdivModifier.material_filter`](bpy.types.GreasePencilSubdivModifier.html#bpy.types.GreasePencilSubdivModifier.material_filter "bpy.types.GreasePencilSubdivModifier.material_filter") - [`GreasePencilTextureModifier.material_filter`](bpy.types.GreasePencilTextureModifier.html#bpy.types.GreasePencilTextureModifier.material_filter "bpy.types.GreasePencilTextureModifier.material_filter") - [`GreasePencilThickModifierData.material_filter`](bpy.types.GreasePencilThickModifierData.html#bpy.types.GreasePencilThickModifierData.material_filter "bpy.types.GreasePencilThickModifierData.material_filter") - [`GreasePencilTintModifier.material_filter`](bpy.types.GreasePencilTintModifier.html#bpy.types.GreasePencilTintModifier.material_filter "bpy.types.GreasePencilTintModifier.material_filter") - [`GreasePencilWeightAngleModifier.material_filter`](bpy.types.GreasePencilWeightAngleModifier.html#bpy.types.GreasePencilWeightAngleModifier.material_filter "bpy.types.GreasePencilWeightAngleModifier.material_filter") - [`GreasePencilWeightProximityModifier.material_filter`](bpy.types.GreasePencilWeightProximityModifier.html#bpy.types.GreasePencilWeightProximityModifier.material_filter "bpy.types.GreasePencilWeightProximityModifier.material_filter") - [`IDMaterials.append`](bpy.types.IDMaterials.html#bpy.types.IDMaterials.append "bpy.types.IDMaterials.append") - [`IDMaterials.pop`](bpy.types.IDMaterials.html#bpy.types.IDMaterials.pop "bpy.types.IDMaterials.pop") - [`MaterialSlot.material`](bpy.types.MaterialSlot.html#bpy.types.MaterialSlot.material "bpy.types.MaterialSlot.material") - [`Mesh.materials`](bpy.types.Mesh.html#bpy.types.Mesh.materials "bpy.types.Mesh.materials") - [`MetaBall.materials`](bpy.types.MetaBall.html#bpy.types.MetaBall.materials "bpy.types.MetaBall.materials") - [`NodeSocketMaterial.default_value`](bpy.types.NodeSocketMaterial.html#bpy.types.NodeSocketMaterial.default_value "bpy.types.NodeSocketMaterial.default_value") - [`NodeTreeInterfaceSocketMaterial.default_value`](bpy.types.NodeTreeInterfaceSocketMaterial.html#bpy.types.NodeTreeInterfaceSocketMaterial.default_value "bpy.types.NodeTreeInterfaceSocketMaterial.default_value") - [`Object.active_material`](bpy.types.Object.html#bpy.types.Object.active_material "bpy.types.Object.active_material") - [`PointCloud.materials`](bpy.types.PointCloud.html#bpy.types.PointCloud.materials "bpy.types.PointCloud.materials") - [`ViewLayer.material_override`](bpy.types.ViewLayer.html#bpy.types.ViewLayer.material_override "bpy.types.ViewLayer.material_override") - [`Volume.materials`](bpy.types.Volume.html#bpy.types.Volume.materials "bpy.types.Volume.materials") |