Blender: Custom Properties | Scripting for Artists

Custom Properties | Scripting for Artists
Custom Properties allow you to attach your own data to things in Blender. In this episode of Scripting for Artists Sybren shows how to create an importer that loads all OBJ files in a directory, and then allows reloading OBJ files with the click of a button.

– Different kind of properties: 00:24
– Starting a new add-on with empty panel: 01:14
– Adding a property to the scene: 03:36
– Setting property subtypes: 06:35
– Drawing the property in a panel: 08:03
– Creating mass-importing operator: 08:51
– Adding a property to all objects: 10:09
– Importing OBJ files: 11:54
– Re-importing OBJ files: 15:22
– Deleting objects from the scene: 17:15
– Moving code into a function: 19:!2

More Scripting for Artists: https://cloud.blender.org/p/scripting-for-artists/

Support core Blender development – https://fund.blender.org

View on YouTube

Join the Discussion

Share your thoughts, ask a question, or tell us what you learned. Your first comment is reviewed before it appears. Once approved, future comments using the same name and email can appear directly, subject to spam checks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fix the Blender logo

Drag the loose piece into the missing part. A close fit is enough.

Loading verification…

Keyboard: arrows to move, Shift for fine adjustment, Enter to check. Verification only; movement is not stored. Logo: Blender.