GradUNH
Structural
- Mar 19, 2010
- 5
Hello!
I've been trying to change the properties of an existing linear link in SAP2000 using the API and MATLAB
I'm trying this in MATLAB:
DOF=logical(zeros(6,1));
Fixed=logical(zeros(6,1));
Ke=[1e8; 1e8; 1e8; 1e8; 1e8; 1e8];
Ce=(zeros(6,1));
ret = SapModel.PropLink.SetLinear('BaPartialAction', DOF, Fixed, Ke, Ce,0,0)
But it doesn't work! I get ret =1, meaning that there is something wrong with the input arguments in SapModel.PropLink.SetLinear.
Does anyone have a suggestion?
Thanks very much.
I've been trying to change the properties of an existing linear link in SAP2000 using the API and MATLAB
I'm trying this in MATLAB:
DOF=logical(zeros(6,1));
Fixed=logical(zeros(6,1));
Ke=[1e8; 1e8; 1e8; 1e8; 1e8; 1e8];
Ce=(zeros(6,1));
ret = SapModel.PropLink.SetLinear('BaPartialAction', DOF, Fixed, Ke, Ce,0,0)
But it doesn't work! I get ret =1, meaning that there is something wrong with the input arguments in SapModel.PropLink.SetLinear.
Does anyone have a suggestion?
Thanks very much.