Getting the active property value in Blender using context

To get the current active object in a Blender scene, we usually use the context and its context.object (or context.active_object) property. Similarly, when working with the interface, we can access the context to get the currently active property - the value of the field in the Blender UI over which we hover the cursor or on which we clicked with the mouse. The context.property value is used for this.




Read more: https://b3d.interplanety.org/en/getting-the-active-property-value-in-blender-using-context/

Комментарии

Популярные сообщения