Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: waseemtarik


@waseemtarik wrote:

 

...I know there's a command to make a linetype but I couldn't make the same line I have. 

Here's a linetype definition:

*MWInsul
A,0,["|",STANDARD,S=.8,Y=-.5],-.2,["|",STANDARD,S=.8,Y=-.3],-.2

that looks like this [just the white parts]:

Kent1Cooper_0-1608750389452.png

Draw down the middle of the wall thickness, and give it an effective linetype scale the same as the wall thickness.  ["Effective" linetype scale is the product of the drawing's general linetype scale and the object's assigned scale.]

 

It requires that the STANDARD Text Style has the TXT.shx font assigned [as it is in your sample drawing, but that's not the default in newer versions], with 0 height.  If a drawing has a different font assigned to STANDARD Style, and you can't change that, make a new Style for the purpose, and replace STANDARD in the code with the new Style's name [in both places].  Then you need to be sure that Style exists in any drawing in which you want to use the linetype.  [It will work with a different font, but the "lines" in it will probably look too thick with most .ttf fonts, and the overall width won't always be the same as the linetype scale.  TXT's "pipe" character is conveniently a plain line, exactly the capital-letter height, but many fonts have pipe characters that extend above and/or below that height.  Alternatively, it would be possible to define this using the TRACK1 shape that AutoCAD's TRACKS linetype uses, instead of a text element.]

 

One advantage of a linetype over a Hatch pattern or a dynamic Block [however rare it may be that you would need this]:  curves!

Kent1Cooper_1-1608750756315.png

Kent Cooper, AIA