Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Contributor
mmkkmmv
Posts: 14
Registered: ‎06-10-2012
Message 1 of 3 (595 Views)

how to create linetype with double lines

595 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,871
Registered: ‎09-13-2004
Message 2 of 3 (583 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 (567 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.