Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Quadrant coordinates on Polyline

3 REPLIES 3
Reply
Message 1 of 4
jason.shak
231 Views, 3 Replies

Quadrant coordinates on Polyline

Hi all, I need to calculate bounding extents of a polyline (length x width) currently I am extracting all the points and establishing the max and min in the X and Y to calculate them. My problem is if the polyline has an arc I will only pick up the start and end points of the arc.

I am currently using:

vlax-curve-getstartpoint and vlax-curve-getpointat param

Any ideas to have the quadrant point values included in my list?

Or is there some function that would give me the extents of a polyline that I am unaware of?

Thanks in advance,

Jason
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: jason.shak

vla-getboundingbox?

wrote in message news:4944385@discussion.autodesk.com...
Hi all, I need to calculate bounding extents of a polyline (length x width)
currently I am extracting all the points and establishing the max and min in
the X and Y to calculate them. My problem is if the polyline has an arc I
will only pick up the start and end points of the arc.

I am currently using:

vlax-curve-getstartpoint and vlax-curve-getpointat param

Any ideas to have the quadrant point values included in my list?

Or is there some function that would give me the extents of a polyline that
I am unaware of?

Thanks in advance,

Jason
Message 3 of 4
jason.shak
in reply to: jason.shak

(blush)

I had a hunch I should hold off on programming the rest of my code.

Greatly appreciated!

Jason
Message 4 of 4
Anonymous
in reply to: jason.shak

Heh, been there... done that.... 🙂

Glad I could help!

Jeff

wrote in message news:4944431@discussion.autodesk.com...
(blush)

I had a hunch I should hold off on programming the rest of my code.

Greatly appreciated!

Jason

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost