On 05/07/2014 at 03:50, xxxxxxxx wrote:
Hi, I am new to Python and am creating a rig. When the user clicks a userdata checkbox, I need a specific object deleted. Here is what I have that doesn't work.
def delete() :
# find "MAT and Surface Thumbs"
mat_thumbs = doc.SearchObject('MAT and Surface Thumbs')
if obj.mat_thumbs:
obj.Remove('MAT and Surface Thumbs')
Can anyone help? Thanks.