line type with soild arrow

line type with soild arrow

muhamed_ragab92
Enthusiast Enthusiast
14,974 Views
14 Replies
Message 1 of 15

line type with soild arrow

muhamed_ragab92
Enthusiast
Enthusiast

i want to make line type contain with soild arrow as attached photo 

can i control on the length of soild arrow or direction of it?
testd.JPG

 

0 Likes
14,975 Views
14 Replies
Replies (14)
Message 3 of 15

DRW_CAD
Collaborator
Collaborator

You can also make a linetype using text & Wingding is a standard windows font & is all symbols and has arrow heads. 

 

These are some erosion & sediment control linetypes I created. You can tweak the contents to get different arrow heads. Copy & paste into notepad & name with a .lin extensions and create the WINGDING & WINGDING3 text styles they reference in your drawing and map them to the TT fonts of the same name. 

 

*R-SUB-SURF-DRAIN,Right Sub-Surface drain arrow
A,.5,-.2,["à",WINGDING,S=.15,R=0.0,X=-0.1,Y=-.07],-.2

*L-SUB-SURF-DRAIN,Left Sub-Surface drain arrow
A,.5,-.2,["ß",WINGDING,S=.15,R=0.0,X=-0.1,Y=-.07],-.2

*R-SUB-SURF-DRAIN2,Right Sub-Surface drain arrow
A,.25,-.01,["à",WINGDING,S=.15,R=0.0,X=0,Y=-.066],-.2

*L-SUB-SURF-DRAIN2,Left Sub-Surface drain arrow
A,.25,-.01,["ß",WINGDING,S=.15,R=0.0,X=0.01,Y=-.066],-.2

*R-DIVERSION,Right Diversion Flow
A,1,.001,["†",WINGDING3,S=.2,R=0.0,X=-0.1,Y=-.1],0

*L-DIVERSION,Left Diversion Flow
A,1,.001,["…",WINGDING3,S=.2,R=0.0,X=-0.1,Y=-.1],0

Message 4 of 15

DRW_CAD
Collaborator
Collaborator

Here is what they look like in dwg:

DRW_CAD_0-1648228350811.png

 

Message 5 of 15

muhamed_ragab92
Enthusiast
Enthusiast
I don't get what you mean about the winding & winding3 text style 
Can you explain it for me or show me tutorial for it
Thanks
0 Likes
Message 6 of 15

Sea-Haven
Mentor
Mentor

The windows built in fonts include Winding which is like lots of little symbols. Type A and get A

 

ASDFGHIJKLZXCVBNM

You need to understand how to get at extended fonts some times. In windows fonts can look at the characters so for say Arial

SeaHaven_0-1648349556970.png

 

► --- ► --- ►

 

 

 

 

 

0 Likes
Message 7 of 15

muhamed_ragab92
Enthusiast
Enthusiast

muhamed_ragab92_0-1648380151647.png

that's the result from notepad @DRW_CAD @Sea-Haven 

0 Likes
Message 8 of 15

DRW_CAD
Collaborator
Collaborator

to avoid that error, you need the text styles. AutoCAD doesn't reference fonts dir. type ST create a style named exactly as they are in the lineype definition and map them to the associated TT font. My example is confusing because I used the same name for the AutoCAD style as the font itself. But where my line type has winding in it, it's looking for an AutoCAD text style of that name.

0 Likes
Message 9 of 15

muhamed_ragab92
Enthusiast
Enthusiast
Can you send me a autocad plan for that line type ?
0 Likes
Message 10 of 15

Sea-Haven
Mentor
Mentor

Make a textstyle Windings

 

SeaHaven_1-1648427260255.png

 

 

0 Likes
Message 11 of 15

Kent1Cooper
Consultant
Consultant

@Sea-Haven wrote:

The windows built in fonts include Winding which is like lots of little symbols. ....


Careful of the spelling -- the name of the font is WINGDINGS [and there are some others with number suffixes added], but in various Messages here it has been spelled in various incorrect ways.  But it doesn't really matter what you call the Style to which you assign a font [you can call it MickeyMouse if you want], as long as you use the same spelling of the Style name in the linetype definition, and as long as the Style called for in the linetype definition exists in the drawing.

Kent Cooper, AIA
0 Likes
Message 13 of 15

TomBeauford
Advisor
Advisor

I have a collection of linetype files including wingdings.lin saved in the Roamable Support Folder:

*LINE_dia,LINE_dia ---\_/---\_/---
A,3,-1,["t",WINGDINGS,S=1,Y=-0.45],-1.75
*Line_Arrow,Line Arrow ---  --->  ----  --->  --
A,3,-1,["\U+00E8",WINGDINGS,S=1,X=-0.3,Y=-0.45],-2
;A,3,-1,["è",WINGDINGS,S=1,X=-0.3,Y=-0.45],-2
*Big_Dot,Big Dots --- O --- O ---- O --- O --
A,3,-1,["l",WINGDINGS,S=1,Y=-0.45],-2
*Big_D-Dot,Big Dash Dot --- O --- O ---- O --- O --
S,.001,["_",Arial,S=2,X=0.09,Y=0.46],-2.2,["l",WINGDINGS,S=1,Y=-0.45],-3.2,["_",Arial,S=2,X=-1.55,Y=0.46]
*Four_Square,Four_Square --- <> ---  <>  ----
A,3,-1,["v",WINGDINGS,S=1,Y=-0.45],-2
*Hedge,Hedge
A,.01,-1,["|",WINGDINGS,S=1,Y=-0.45],-.2
*Square,Square --- [] ---  []  ----
A,3,-1,["n",WINGDINGS,S=1,Y=-0.45],-2
*Danger, --- DANGER ---  DANGER  ----
A,.3,["N",WINGDINGS,S=.05,Y=-.025],-.05,["DANGER",Swiss Light,S=.05,Y=-.025],-.29,["N",WINGDINGS,S=.05,Y=-.025],-.05,.1

By saving them in the same folder as my default Acad.lin file they're easily accessible from the load lintypes dialog box.

You have to make sure the WINGDINGS text style is defined in the drawing for them to work.

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
0 Likes
Message 14 of 15

Amriya_Exe
Advocate
Advocate

Shows bad definition. 

Amriya_Exe_0-1753349151744.png

 

0 Likes
Message 15 of 15

Kent1Cooper
Consultant
Consultant

@Amriya_Exe wrote:

Shows bad definition.


That usually means there is no Text Style name in the drawing with the same name as the Style called for in the linetype definition.  See Message 11.

Kent Cooper, AIA
0 Likes