Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

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

Centre of Polyline + Scale 1

Status
Not open for further replies.

aesoton

Marine/Ocean
Joined
Sep 25, 2002
Messages
42
Location
GB
Is it possible to draw a polyline then find out its centre. The polylines will mainly make up 2D boxes but they could be any shape. What I want to do is draw the line and scale it using its centre point.
It would also be great if I could do this in a lisp so that I can do it over again quickly.
Is this possible?
Thanks
Andrew
 
If I remember: if the polyline is closed, type in REGION, make it a region and then do a MASSPROP on the region. It should spit out the info.

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Thanks for that - It gives me excatly what I want. Have a star! I now need to work out how to get this into a macro.
Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top