×
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

*get

*get

(OP)
Hello everyone

Is it possible to select a number of nodes, and then use *get, to obtain the respective node numbers? I have trouble finding this in the Help for *get.  I then want to use another *get to get the UY disp of each node.

Thanks
maxibonne

RE: *get

Read through the APDL section of the help.  To make a long story short you will need to use *do, nmin(), ndnext(), and *get for what you desire.  You may also consider checkout out the *vget command!

RE: *get

*get,nnn,node,0,nxth       
*dowhile,nnn
   *get,uydisp,node,nnn,u,y  
   *get,nnn,node,0,nxth          
   [...] ! do whatever you need to do with nnn and uydisp
*enddo

or without the gets:

nnn=ndnext(0)
*dowhile,nnn
   uydisp=uy(nnn)
   nnn=ndnext(nnn)
   [...] ! do whatever you need to do with nnn and uydisp
*enddo

 

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