Road Marking

Road Marking

Anonymous
Not applicable
3,863 Views
13 Replies
Message 1 of 14

Road Marking

Anonymous
Not applicable

I want a lisp to draw Road Marking with specific length and Gap. Like the line of Paint should be 3 Meter with 6 meter Gap.Road Marking.PNG

 

0 Likes
Accepted solutions (1)
3,864 Views
13 Replies
Replies (13)
Message 2 of 14

hak_vz
Advisor
Advisor

Use array path  (ARRAYPATH) command

 

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2020/ENU/AutoC... 

https://grabcad.com/tutorials/path-array-in-autocad 

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 3 of 14

Kent1Cooper
Consultant
Consultant

A linetype could easily be defined, and used in a Polyline with width, which will be able to follow curves appropriately [which ARRAYPATH won't].  Is your drawing unit a meter, or a millimeter?   There are difficulties you will encounter at the ends of things drawn with noncontinuous linetypes,  but there are ways to compensate.

Kent Cooper, AIA
0 Likes
Message 4 of 14

Kent1Cooper
Consultant
Consultant

@Kent1Cooper wrote:

A linetype could easily be defined, and used in a Polyline with width, which will be able to follow curves appropriately ....


It's the most basic of linetype definitions [one pen-down dash, one pen-up gap]:

 

*3on6off,- - - - - - -
A,3,-6

 

which in a Polyline with a width of 1 drawing unit does this:

Kent1Cooper_0-1608644321303.png

 

Kent Cooper, AIA
0 Likes
Message 5 of 14

Anonymous
Not applicable

That’s awesome...Can  you please help me with this or explain how to you did that ?. 
I will be very grateful to you.

0 Likes
Message 6 of 14

ВeekeeCZ
Consultant
Consultant

Why, you don't use HELP? It takes about 5 sec to find how to use a custom linetype. HERE 

0 Likes
Message 7 of 14

Kent1Cooper
Consultant
Consultant
Accepted solution

If the Help article @ВeekeeCZ posted a link to, and the Related Topics there, don't explain it well enough for you, come back with questions, and we can probably answer them.

Kent Cooper, AIA
0 Likes
Message 8 of 14

john.uhden
Mentor
Mentor

I think we've been through this before.

Since I doubt that there's any paint truck that can read an AutoCAD drawing and is tied to a geodetic grid to know the coordinates of the ends of any paint stripe, your job is to simply represent the impression of dashed lines.  Use a linetype and ltscale that suits the impression you want to create, include a detail if necessary of the stripe length and gap, and know that the traffic marking subcontractor will make it come out good.  Also, take your paycheck for a job done well and efficiently and go home with some presents for your wife and kids, or whomever is dear to you.

John F. Uhden

0 Likes
Message 9 of 14

Sea-Haven
Mentor
Mentor

Agree with John the contractor will fix any subtle errors.

 

Some line types, for roads and general.

 

*EQUAL1000,_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
A,0.30,-0.30
*LANE1000,____        _____        ____
A,3.00,-9.00
*CONTINUITY1000,______            ______
A,1.00,-2.00
*STATCON1000,__  __  __  __  __  __
A,0.60,-0.60
;;  These linetype definitions use LTYPESHP.SHX.
;;
*FENCE,Fence ----------/----------/----------/----------
A,20,-1.5,["/",STANDARD,S=1.8,R=0.0,X=-.9,Y=-.9],-1
*EXISTING_FENCE,Existing Fence - - - -/- - - -/- - - -/- - - -
A,5.08,-5.08,5.08,-5.08,5.08,-5.08,["/",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-.9],-3
*FENCELINE1,Fenceline circle ----0-----0-----0-----0-----0-----0--
A,6.35,-2.54,[CIRC1,ltypeshp.shx,x=-2.54,s=2.54],-2.54,25.4
*FENCELINE2,Fenceline square ----[]-----[]-----[]-----[]-----[]---
A,6.35,-2.54,[BOX,ltypeshp.shx,x=-2.54,s=2.54],-2.54,25.4
*TRACKS,Tracks -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-
A,3.81,[TRACK1,ltypeshp.shx,s=6.35],3.81
*BATTING,Batting SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
A,.00254,-2.54,[BAT,ltypeshp.shx,x=-2.54,s=2.54],-5.08,[BAT,ltypeshp.shx,r=180,x=2.54,s=2.54],-2.54
*HOT_WATER_SUPPLY,Hot water supply ---- HW ---- HW ---- HW ----
A,12.7,-5.08,["HW",STANDARD,S=2.54,R=0.0,X=-2.54,Y=-1.27],-5.08
*HOUSE_DRAIN,HOUSE DRAIN ---- H ---- H ---- H ----
A,12,-3,["H",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-2.5],-3
*EXISTING_GAS_MAIN,Existing Gas main - - -G- - -G- - -G- - -G- - -
A,5.08,-5.08,5.08,-5.08,["G",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-.9],-3

 

0 Likes
Message 10 of 14

Anonymous
Not applicable
Thanks for your kind reply John...
0 Likes
Message 11 of 14

Anonymous
Not applicable

tried but doesn't work.... Thanks for your reply

0 Likes
Message 12 of 14

Anonymous
Not applicable

Hope.. you find all your solutions related cad with "HELP". 

0 Likes
Message 13 of 14

Anonymous
Not applicable

Thank you Mr. John

0 Likes
Message 14 of 14

Sea-Haven
Mentor
Mentor

Did you try the linetypes you save as a .lin file like custom.lin then just do Linetype Load and pick the linetype file you can load 1 or all, save to your template dwg so there always their.

 

A freebie for you lots of linetypes.

 

0 Likes