can i creat a new entity or is there user entities?
Well, just draw a line. Voila! New entity. You probably mean from a lisp routine. Yes, but you need to get real familiar with dxf codes. All entities are lists of attributes. All you have to do is make your own list and use (entmake). Here's a little toy for you. Load it, type SHO and pick something. The entity list will come up for you to study. (defun c:sho () (princ (entget (car (entsel))))(textscr)(princ)) rs
i know your "toy",and i usually use it--same function but write by myself. but now, i just want to creat a new kind of entity. for example: two pline means a road in it's entity list, there is one list,such as (5.23) the "23" means the width of the road
I believe it is possible but I have no clue how to do it. Perhaps you have to go to Visual Basic or even C++. I suppose if it were easy Autodesk would have done it already. I know a lot of people would like to have MLINE extended to include arcs. rs