Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Member
mmkkmmv
Posts: 8
Registered: ‎06-10-2012
Message 1 of 3 (539 Views)

how to create linetype with double lines

539 Views, 2 Replies
08-12-2012 08:12 AM
I want to know how to create linetype with double lines one rectangle empty and other with solid in autocad(i am using autocad 2004)I tried by express tools with command mkshape (and then makelinetype command) but it is coming without solid, is it possible in autocad by using Autolisp, if yes how, can anyone help me, see attached dwg, name is linetype_ds
*Expert Elite*
Kent1Cooper
Posts: 5,513
Registered: ‎09-13-2004
Message 2 of 3 (527 Views)

Re: how to create linetype with double lines

08-12-2012 03:07 PM in reply to: mmkkmmv

mmkkmmv wrote:
I want to know how to create linetype with double lines one rectangle empty and other with solid in autocad(i am using autocad 2004)I tried by express tools with command mkshape (and then makelinetype command) but it is coming without solid, is it possible in autocad by using Autolisp, if yes how, can anyone help me, see attached dwg, name is linetype_ds

Since the drawing didn't get attached, I'm guessing, but....  You could do it with an embedded shape, which would need to be a closely-spaced-lines infill.  Or you could do it with embedded text, using some solid square character from a font like Wingdings, perhaps several in a row.  Neither of those would do curves smoothly, but you could improve on that with multiple short rectangles.

Kent Cooper
Valued Contributor
Rtogores
Posts: 84
Registered: ‎02-07-2001
Message 3 of 3 (511 Views)

Re: how to create linetype with double lines

08-13-2012 12:08 AM in reply to: mmkkmmv

I'm afraid shapes with closely spaced lines might bee rather weighty on computer resources. Maybe you could try a different approach like associative arrays along a path. In this case you could define a block with a solid hatch to use as the array's element.

Another approach would be using a single stroke linetype on a special layer to which you could assign a 2 mm Lineweight, that is if 2mm is enough for you.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.