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

entmake polyline

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
1963 Views, 2 Replies

entmake polyline

Do Anyone has a example of how to use entmake to draw a polyline. But I
would like a polyline with an arc.

Thank you
2 REPLIES 2
Message 2 of 3
BillZ
in reply to: Anonymous

(entmake (list (cons 0 "POLYLINE")(cons 8 "yourlayer")(cons 66 1)) ;start pline
(entmake (list (cons 0 "VERTEX")(cons 10 pt3)(cons 42 "yourbulge"))) ;creates new vertex, 0 is a straight segment
(entmake (list (cons 0 "SEQEND"))) ;end/complete
Message 3 of 3
Anonymous
in reply to: Anonymous

I think you should include the (cons 8 "yourlayer") in the subentities as well.

IIRC, Terry Dotson posted something awhile back about problems which can arise
if these get created on a different layer from the main entity. Sorry, don't
recall specifics.

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

Post to forums  

Autodesk Design & Make Report

”Boost