You need to append the parameter name at the end.

Eg;

ctr_dist( this_model.PointA.posx, this_model.PointB.posx )


Matt



From: [email protected] 
[mailto:[email protected]] On Behalf Of Benoit Delaunay
Sent: Wednesday, November 27, 2013 11:55 AM
To: [email protected]
Subject: this_model not working with some functions

Hi,


I am assigning expressions to some parameters and I noticed this strange 
behavior :

ctr_dist( this_model.pointA, this_model.pointB ) does not work
ctr_dist( john.pointA, john.pointB ) does work

Any 'this_model' reference outside of the distance function works as expected.
Is there any reason ?


Thanks,

Benoit Delaunay

Reply via email to