Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Help with Results.JointDispl

Help with Results.JointDispl

Help with Results.JointDispl

Hello everybody

I do not know how to use this function:

ret = SapModel.Results.JointDispl("ALL", GroupElm, NumberResults, Obj, Elm, LoadCase, StepType, StepNum, U1, U2, U3, R1, R2, R3)

Could somebody explain the use?

RE: Help with Results.JointDispl

It will return the displacement at the specified node for the given looadcase.

Are you getting an error when using the function?

S&T - www.re-tug.com

RE: Help with Results.JointDispl

Hello friend

I have write the code below:

public void JointDisplacement()
int numberofresult = 0;
string [] loadCases = Enumerable.Repeat("TH 01", numberofresult).ToArray();
string[] stepTypes = Enumerable.Repeat("Time", numberofresult).ToArray();
double[] stepNumbers = new double[numberofresult];
for (int i = 0; i <= numberofresult - 1 ; i++)
stepNumbers[i] = i;
string[] elementNames = Enumerable.Repeat("231", numberofresult).ToArray();
string[] objectNames = Enumerable.Repeat("231", numberofresult).ToArray();

double[] U1 = new double[numberofresult];
double[] U2 = new double[numberofresult];
double[] U3 = new double[numberofresult];
double[] R1 = new double[numberofresult];
double[] R2 = new double[numberofresult];
double[] R3 = new double[numberofresult];

ret = SapModel.Results.Setup.DeselectAllCasesAndCombosForOutput();

ret = SapModel.Results.Setup.SetCaseSelectedForOutput("TH 01");

ret = SapModel.Results.JointDispl("231",
ref numberofresult,
ref objectNames,
ref elementNames,
ref loadCases,
ref stepTypes,
ref stepNumbers,
ref U1,
ref U2,
ref U3,
ref R1,
ref R2,
ref R3);

for (int i = 0; i < numberofresult; i++)


My goal is having the plotted function in a .txt file in order of achivieng a wrote the code.

Any suggestions of how can i achieve that?

RE: Help with Results.JointDispl

I have uploaded an example to my github to retrieve time history displacements as well as the support .edb file.


I access the results through the database tables. I did my data retrieval in Python, but plotted in excel. For some reason matplotlib was plotting oddly for me.

S&T - www.re-tug.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close