configurablejoint struct

I created a configurablejoint within a script and I am trying to alter lowAngularXLimit. In the scripting API manual I see that the way to alter this is a struct called SoftJointLimit. So I tried this because I am not really sure how to make the struct. Please correct me and let me know what I am doing wrong.

struct softjoint {
var limit = 0;
var spring = 9;
var damper = 0;
var bouncyness = 0;
}

joint.lowAngularXLimit = softjoint

Any ideas I never worked with struct before?
I also tried
joint.lowAngularXLimit = SoftJointLimit(0,9,0,0);

You don’t need to define anything. Just do:

var cj:ConfigurableJoint = GetComponent(ConfigurableJoint);
cj.lowAngularXLimit.limit = -35.5;
cj.lowAngularXLimit.spring = 5.0;

…and whatever other settings you want to change.

Thanks I thought I tried that, but I guess not. Funny thing is I used a similar function before that and didn’t even think of trying to access the struct the same way.

Thanks for your help.