[Bf-python] Proposal to getSelected and getAcitve

Willian Padovani Germano wgermano at ig.com.br
Sat Mar 5 03:51:45 CET 2005


Mark Potse wrote:

 >Why/when would it be unreliable to access an active but unselected object?

Because a user may call a script before selecting a mesh and have it act 
on another one by mistake.  Without selection there's no visual feedback 
to what you're working on.

BTW, quick reminder for everyone: don't forget to leave edit mode 
(Window.EditMode(0)) before working with a mesh that is in edit mode or 
both the script may not "see" the selected verts or faces and tabbing 
out of edit mode later will erase any change made by the script.

-- 
Willian




More information about the Bf-python mailing list