Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

APDL: Measuring distances and moving lines by this value

Status
Not open for further replies.

bizio

Mechanical
Apr 4, 2009
1
Hi all,

I am writing an APDL code to model a structure, and one of the steps involves measuring the distance between two defined keypoints, and subsequently moving different lines (not attached to these keypoints) by the vertical distance measured.

I know the KDIST command displays the distance between the two keypoints, however I'd like to create a script that takes this value and then moves certain lines by this distance!

I hope this is clear... Thanks very much
 
Replies continue below

Recommended for you

yeah and then you will need the LGEN command to move the lines, inserting the parameter in the appropriate place.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor