0
$\begingroup$

I would like to make the transparent box selected all time, but I am having trouble locating the python script to rewrite it.

Does anyone one know how to do this?? Thank you so :) enter image description here

enter image description here

$\endgroup$

1 Answer 1

1
$\begingroup$

To find the source that displays a property, RMB RMB on it and choose edit source. If blender has a visible text editor it will show the script with the cursor on the relevant line, if no text editor is visible you will get a notice at the top of the window to see the script in the text editor.

edit source option

Note that the UI scripts you will get only display existing values, if you alter the UI script to always turn the value on you will never be able to turn it off.

I would suggest making an addon that creates new objects and new materials with settings the way you want. This answer shows an example of injecting a button into an existing panel.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .