kahloucheFF
Structural
- Dec 6, 2014
- 3
Hye, plz help me, I assigned a function and intreduced a TimeHistory case, but I don't know how to get U1, U2... as a vector, function of time!!!!
when I did this code, I get U1 as a point:
ret = SapModel.Results.Setup.DeselectAllCasesAndCombosForOutput;
ret = SapModel.Results.Setup.SetCaseSelectedForOutput('accéléro');
[ret, PointName1, PointName2] = SapModel.FrameObj.GetPoints(FrameName5, PointName1, PointName2);
NumberResults = 0;
Obj = cellstr(' ');
Elm = cellstr(' ');
ACase = cellstr(' ');
StepType = cellstr(' ');
StepNum = zeros(1,1,'double');
U1 = zeros(1,1,'double');
U2 = zeros(1,1,'double');
U3 = zeros(1,1,'double');
R1 = zeros(1,1,'double');
R2 = zeros(1,1,'double');
R3 = zeros(1,1,'double');
ObjectElm = 0;
[ret, NumberResults, Obj, Elm, ACase, StepType, StepNum, U11, U21, U31, R11, R21, R31] = SapModel.Results.JointDispl(PointName2, ObjectElm, NumberResults, Obj, Elm, ACase, StepType, StepNum, U1, U2, U3, R1, R2, R3);
when I did this code, I get U1 as a point:
ret = SapModel.Results.Setup.DeselectAllCasesAndCombosForOutput;
ret = SapModel.Results.Setup.SetCaseSelectedForOutput('accéléro');
[ret, PointName1, PointName2] = SapModel.FrameObj.GetPoints(FrameName5, PointName1, PointName2);
NumberResults = 0;
Obj = cellstr(' ');
Elm = cellstr(' ');
ACase = cellstr(' ');
StepType = cellstr(' ');
StepNum = zeros(1,1,'double');
U1 = zeros(1,1,'double');
U2 = zeros(1,1,'double');
U3 = zeros(1,1,'double');
R1 = zeros(1,1,'double');
R2 = zeros(1,1,'double');
R3 = zeros(1,1,'double');
ObjectElm = 0;
[ret, NumberResults, Obj, Elm, ACase, StepType, StepNum, U11, U21, U31, R11, R21, R31] = SapModel.Results.JointDispl(PointName2, ObjectElm, NumberResults, Obj, Elm, ACase, StepType, StepNum, U1, U2, U3, R1, R2, R3);