Many built-in properties, such as Object.parent, reference scene data. In the UI, they are represented with pretty menu widgets and in certain cases also with a picker tool:

Object Parent Scene Properties

Is it possible to create these 'reference properties' from Python? For example, to create a custom property Object.step_parent.

To some extent, it can be emulated by a props.StringProperty -- but the real reference does not break when objects are renamed, and provides a better user experience in general.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.