×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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!
  • Students Click Here

*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

Jobs

table of results

table of results

table of results

(OP)
Hi everyone !

I would like to create a table in a journal that contain all the displacement and stresses of each elements of my part.
I have managed to create a table with the displacement but when I when to put stresses like Xx or Von Mises the program fail.

there is my code join


Thanks for your help

Regards
Ben

RE: table of results

How does the program fail? What is the error message? stress result missing?

RE: table of results

(OP)
It respond :

It is not a Nodal result
( the same with element " this is not an element result " )

RE: table of results

displacement = nodal value
stress = elemental value

Starter for 10 from the NX examples

Dim nNodes As Integer = results.AskNumNodes()

Dim comps(0) As NXOpen.CAE.Result.Component
resultAccess.AskResultComponents(comps)
Dim nComps As Integer = comps.Length
Dim iComp As Integer
Dim iNode As Integer = 1

Do Until (iNode = nNodes + 1)
Dim iNodeLabel As Integer = results.AskNodeLabel(iNode)
Dim iNodes(0) As Integer
iNodes(0) = iNode

Dim values(0) As Double
resultAccess.AskNodalResultAllComponents(iNode, values)
Loop

RE: table of results

(OP)
I have finish my program

thanks for your help

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!


Resources