Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Apr 4, 2009
Messages
1
Location
GB
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
 
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

Back
Top