Anuncios

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

linetypes

swilliamsDPY2U
Participant

linetypes

swilliamsDPY2U
Participant
Participant

I cannot figure out how to make this linetype  - anyone know the code or have the linetype I can add to my .lin file

swilliamsDPY2U_0-1595529384616.png

 

0 Me gusta
Responder
390 Vistas
7 Respuestas
Respuestas (7)

Kent1Cooper
Consultant
Consultant

If you've attempted  to figure it out, post what you tried, and maybe we can suggest corrections.

Kent Cooper, AIA

pendean
Community Legend
Community Legend
Is that screenshot from a DWG file you have open? If yes, you can "steal" it with this lisp https://forums.autodesk.com/t5/autocad-forum/export-linetpyes-from-a-dwg-to-a-lin-file-aotucad-2015-...

0 Me gusta

swilliamsDPY2U
Participant
Participant

THANK YOU

*PG_FLOW-2,__...__...__...__...__...__...__...__...__...__...__...__...__...
A,.25,-.125,0,[">",STANDARD,S=.1,R=0.0,X=-0.0,Y=-.035],-.125,0,-.125,0,-.125,-.125,0,-.125

0 Me gusta

swilliamsDPY2U
Participant
Participant

thank you

0 Me gusta

swilliamsDPY2U
Participant
Participant

thank you - that worked perfectly

Kent1Cooper
Consultant
Consultant

@swilliamsDPY2U wrote:

...

A,.25,-.125,0,[">",STANDARD,S=.1,R=0.0,X=-0.0,Y=-.035],-.125,0,-.125,0,-.125,-.125,0,-.125



You have a dot right where the text character should go in, in a way that isn't in your image.  And you have two pen-up entries in a row that just make for a double-length gap.  You want to backset the text character with a negative X value, to get its arrowhead "point" at the end of that first pen-down segment.

 

Assuming the Arial Truetype font that is currently the default font assigned to the Standard Style, I adjusted those and tweaked the size & offset values to look a little more like your image, and got this:
A,.25,[">",STANDARD,S=.2,R=0,X=-.135,Y=-.097],-.125,.25,-.125,0,-.125,0,-.125,0,-.125

which looks like this when drawn from left to right:

Linetype1.PNG

 

BUT  a lot of older linetypes, perhaps including whatever one you may have used as a starting point to edit if that's what you did, are from the days when the default font assigned to the Standard Style was TXT.shx.  I think that makes a better look for this kind of thing, but it requires you to either assign TXT to that Style or, if you want Standard to use Arial for other usages, define a Style that uses TXT and call for that in the linetype definition.  It also needs tweaks to the position/scale parts of the definition:

A,.25,[">",LtypeTXT,S=.2,R=0,X=-.1,Y=-.1],-.125,.25,-.125,0,-.125,0,-.125,0,-.125

Linetype2.PNG

 

If you have a Style defined specifically for text elements in linetype definitions, such as the LtypeTXT Style I made for this [to which I assigned TXT.shx for the font], then yes, you need to send that to others to use the linetype, but it has advantages:
1)  The appearance of the linetype will not be made incorrect by someone's having a different font assigned to the Standard Style [it could be anything] than you had in mind for the linetype definition; and

2)  If you use any .shx font of single-stroke characters [TXT, ROMANS, SIMPLEX], rather than a Truetype font, the lineweight of the arrowhead arms will always match that of the linework's dashes.  With a Truetype font such as Arial, the "look" of the  >  character will always be the same  [relative to its size], no matter what you do with the lineweight of the linework or the plotting weight of the color used.  If you go for emphasis [and for the dots to show well] with a heavier lineweight, the  >  characters may look too wimpy, or if you want a light lineweight, they may look too heavy [as they do in my first image] -- they will not go along with what you choose for the dash/dot parts.

Kent Cooper, AIA

swilliamsDPY2U
Participant
Participant
Awesome - thank you
0 Me gusta