accessing constraintId for contraints added with GUI in 2.43

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
dubois
Posts: 6
Joined: Sat Dec 17, 2005 2:51 am
Location: Berkeley, CA

accessing constraintId for contraints added with GUI in 2.43

Post by dubois »

is there a way to access constraints added with the GUI from within python?
or do I need to set up those constraints 'manually' from within python in order to
get access to the constraint object?

Im trying to break a constraint set up with the GUI
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: accessing constraintId for contraints added with GUI in

Post by Erwin Coumans »

dubois wrote:is there a way to access constraints added with the GUI from within python?
or do I need to set up those constraints 'manually' from within python in order to
get access to the constraint object?

Im trying to break a constraint set up with the GUI
That is a good feature request.

We can add a 'getConstraintIdByName', the constraint names are unique.
Is that what you want?

Thanks for the feedback,
Erwin
dubois
Posts: 6
Joined: Sat Dec 17, 2005 2:51 am
Location: Berkeley, CA

Re: accessing constraintId for contraints added with GUI in

Post by dubois »

Erwin Coumans wrote:
dubois wrote:i
We can add a 'getConstraintIdByName', the constraint names are unique.
Is that what you want?
yes exactly. thanks