Jump to content
balimela

craeating line type : Inclined

Recommended Posts

balimela

Dear All!

 

I wanted to crated a custom line typr for rock line excavation (Type 1 and 2), attached for example. what will be the command if I write the code in the notepad.

Thanks in advance.

 

Raj

 

Attached: Rockline.dwg

Rockline.dwg

Share this post


Link to post
Share on other sites
BIGAL

You can do complex polylines that repeat but they are just that polylines and once you introduce arcs gets more complicated.

 

Its well known that complex linetypes are difficult autocad linetypes are a left to right affair basicly no up down backwards you could do it by creating a shape and inserting in your linetype this would be the bit in the middle. You only need one line type just rotate 180 to display the other way.

 

It is disappointing that my other civil software supports what ever you draw as a linetype and has done so way to many years to remember.

Share this post


Link to post
Share on other sites
balimela

For a single type (not the mirror one) can it be a written code inserted in the .lin file. The complex line is combination of some pline line with some angle in between.

Thanks for your reply.

Share this post


Link to post
Share on other sites
YZ

I do not know a way to write this in .lin file. I have always wanted to build some cool linetypes like that one, but have never worked it out using notepad. I think you may need a shape .shx file. Hopefully someone else will know better than me, I would like to see the solution.

Share this post


Link to post
Share on other sites
NBC

See the attached zip file. It contains a .lin file for the 2 linetypes you wanted. It also contains shape files, which are used within the linetpye definitions.

All the files will need to be extracted from the zip, and loaded into a folder which is part of your AutoCAD Support Search Path

Rockline.zip

Share this post


Link to post
Share on other sites
eldon

Or you could go for a linetype using existing characters "\" and "/".

 

The following is set up for Txt font, but all offsets could be adjusted for different fonts.

 

 

*ROCK_FACE_1, Rock face 1 --\/--\/--
A,.5,["/",STANDARD,S=.1,R=180,X=0.133,Y=0],-.067,["\",STANDARD,S=.2,R=180,X=0.067,Y=0],-.067,.5,["/",STANDARD,S=.2,R=180,X=0.133,Y=0],-.067,["\",STANDARD,S=.1,R=180,X=0,Y=0],-0.067,.5
*ROCK_FACE_2, Rock face 2 ___/\___/\___
A,.5,["/",STANDARD,S=.2,R=0,X=0,Y=0],-.067,["\",STANDARD,S=.1,R=0,X=0,Y=0],-.067,.5,["/",STANDARD,S=.1,R=0,X=0,Y=0],-.067,["\",STANDARD,S=.2,R=0,X=-0.067,Y=0],-0.067,.5

RockFaceLinetype.jpg

Edited by eldon
code tags added

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...