Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to make a lwpyly via lisp

0 views
Skip to first unread message

Jesús Padilla

unread,
May 3, 2003, 9:30:13 PM5/3/03
to
I'm trying to make a lwpolyline via lisp, but it doesn´t work.

(Entmake
(List
(Cons 0 "LWPolyLine")
(Cons 8 "MyLayer")
(Cons 10 (List 0 0))
(Cons 10 (List 10 10))
);List
);EntMake

What shoud I write.

Thanks

Jesús Padilla


John Uhden

unread,
May 3, 2003, 10:15:36 PM5/3/03
to
"Newer" objects, say R14+ often require more entity data than "older" objects
like lines and arcs.
Suggestion...
Draw a polyline; copy the (entget) list; discard the -1, 5, and 330 codes;
include the 100 codes; and see how you make out.
Also...
Study the DXF section in the help file acad_dev.chm. With LWPolylines it's very
important to include the 90 code for the number of vertices, the 38 code for
elevation, and to include the 10 codes as 2D, not 3D.

Generally, most (entget) lists can be used in (entmake).

--
John Uhden, Cadlantic/formerly CADvantage
http://www.cadlantic.com
Sea Girt, NJ


"Jesús Padilla" <jp_jjp...@megared.net.mx> wrote in message
news:24B7D495F872613B...@in.WebX.maYIadrTaRb...

Jesús Padilla

unread,
May 3, 2003, 11:26:59 PM5/3/03
to
Now it works.
Thanks John.


"John Uhden" <juh...@cadlantic.com> escribió en el mensaje
news:1B00A4608ECFA3B6...@in.WebX.maYIadrTaRb...

John Uhden

unread,
May 3, 2003, 10:54:19 PM5/3/03
to
Glad to hear the good news.

--
John Uhden, Cadlantic/formerly CADvantage
http://www.cadlantic.com
Sea Girt, NJ


"Jesús Padilla" <jp_jjp...@megared.net.mx> wrote in message

news:5D68FD47EDD27C38...@in.WebX.maYIadrTaRb...
> Now it works.
> ...

0 new messages