Anuncios

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

Anonymous
1254 Vistas, 2 Respuestas

Linetype with character and filled arrow left and right

Hello AutoCAD users,

 

Please would anybody be able to point me in the direction of obtaining a simple linetype with filled arrow left or right for defining a pipework direction? We have AutoCAD LT and I don't believe you can create linetypes with SHX function. When I try to use a unicode arrow in a linetype and use it, I end up with a lot of question marks, which makes me think it needs to be in an SHX file somewhere.

 

Any help would be greatly appreciated

 

Thank you,

 

Kind regards,

 

Phillip Wolstenholme

Kent1Cooper
en respuesta a: Anonymous

Depending on how particular you are about the shape of the arrowhead, you may be able to use an ordinary text character.  For example:

 

*ARROWS,--------> --------> --------> --------
A,4.0,[">",ROMANS,S=1.0,R=0.0,X=-0.95237,Y=-.4285657],-1.0

 

That requires a Text Style in the drawing called ROMANS, with the ROMANS.shx font and without a fixed height.  The X and Y values are specific to positioning that > character in that font in relation to the line, so they would need to be different for other fonts.  You can play with the 4.0 pen-down distance and the -1.0 pen-up distance to get the spacing and gap [if any] you prefer.

Kent Cooper, AIA
dbroad
en respuesta a: Anonymous

What matters is that the style in the drawing that the linetype refers to is assigned to a font that supports unicode.  This works for me, where annotative is assigned to the "arial.ttf" font. 

 

*RIGHTARROW,--->---
A,.51,-.054786,["\U+25BA",Annotative,y=-.04801,s=.101562,u=0],-.185214,.51

 

You can also create a shape, filled with horizontal hatch lines.  Explode the hatch and use mkshape to create the shape. Place the shape and use it to create the linetype.

Caveat:  You should send the support files to whomever you work with (shp, shx, lin).

Here are some example looks. Top one uses unicode. Bottom uses a special shape.

2021-08-03_8-53-55.png

 

Architect, Registered NC, VA, SC, & GA.