Problem in Constrain scripting
I try to write position constrain by script,we have a Box001 and a Point001
the script is this
ptHelper = $Point001
b.position.controller = position_list()
b.position.controller.available.controller = position_constraint()
b.position.controller.setName 2 "Constraint: Position"
b.position.controller["Constraint__Position"].appendTarget ptHelper 100
this work fine but i need, instead of (b)for example adding pick button to take
box001 then refer (b) to that value would anyone help please.