PDA

View Full Version : Tracking a Perimeter of a Closed Shape?



robert.harper48660
2004-09-22, 04:30 PM
Has anyone ever gotten any good code for tracking the perimeter of a closed shape from a selected entity. Not Polylines but a collection of lines, arcs, circles and Polylines that make up a closed shape in a drawing. I am looking for the capability of doing this in hopes of creating an offset shape without going through the Polyline command.

kennet.sjoberg
2004-09-22, 10:28 PM
hmm, I do not know if I understand Your needs, but i do love the spell checker : )

maybe a hint :
-bhatch d1 A R Y Enter Enter
Erase last
Offset

: ) Happy Computing !

kennet

RobertB
2004-09-23, 02:42 AM
Robert,

Give this a try: (setq myBoundary (bpoly (getpoint "\nSelect internal point: ")))

kennet.sjoberg
2004-09-23, 05:46 AM
Great Robert, I can not find any documentation about bpoly in "AutoCAD 2002 Help",
where do You find it ?

: ) Happy Computing !

kennet

RobertB
2004-09-25, 02:49 PM
There isn't any documentation.It is an exposed function to the arx for the boundary command.