Jump to content

Recommended Posts

Posted

I'm trying to create a linetpye .The line needs to be continuous with a solid(not hollow) circles at distances.This would be the same as FENCELINE1:

 

*FENCELINE1,Fenceline circle ----0-----0----0-----0----0-----0--

A,.25,-.1,[CIRC1,ltypeshp.shx,x=-.1,s=.1 ],-.1,1

 

but with filled-in circles.for example circles should be hatched or colored.

 

An image of desired linetype is attached.

 

Any help would be great.Thanks in advance.

Desired Linetype.jpg

Posted

Shapes can't have a solid fill/hatch. You can simulate the fill with closely spaced lines.

Or use text instead of a shape; e.g. use the font file Arial with the character \U+25CF

Posted

Thanks a lot for your concern :)

I could do this by drawing several circles with same center near each other, which resemble a filled circle as you said.Then I made a shape file of these using the menu Express>Tools>Make Shape , which gives *.shp and *.shx file.I called this file in a *.lin file and it worked

 

I don't know enough to perform what you said about using fonts, cause I am not that familiar and I've not worked with fonts.

 

Anyway it solved

:D8)

  • 1 year later...
Posted
Shapes can't have a solid fill/hatch. You can simulate the fill with closely spaced lines.

Or use text instead of a shape; e.g. use the font file Arial with the character \U+25CF

 

That doesn't seem to work.

 

If I have this in my linetype file:

*telephone,----O----O----

A,200,-0,["\U+25CF",Arial,S=0.20,R=0.0,X=-0.1,Y=4],200,["\U+25CF",Arial,S=0.20,R=0.0,X=-0.1,Y=-12]

 

The result is:

2iapmqf.jpg

Posted

Try this (uses Arial font):

;*PROP-FENCE-CL,----0-----0----0-----0----0-----0-
;A,.476777,["\U+25CF",LT-P,y=-.0275,s=.06],.00197,-.037923

Posted

That gives me an error trying to load the linetype file:

 

"Bad definition of PROP-FENCE-CL at line 142" (the second line from your code)

Posted
That gives me an error trying to load the linetype file:

 

"Bad definition of PROP-FENCE-CL at line 142" (the second line from your code)

 

Because the textstyle doesn't exist. It's just a textstyle with Arial font. Just replace "LT-P" with "Arial".

Posted

so do I need to create a text style called LT-P with Arial as the font?

Posted
so do I need to create a text style called LT-P with Arial as the font?

 

or just replace it with Arial.

 

;*PROP-FENCE-CL,----0-----0----0-----0----0-----0-
;A,.476777,["\U+25CF",ARIAL,y=-.0275,s=.06],.00197,-.037923

Posted

You can make all sorts of "text-based" linetypes with the various shapes that are in wingdings.ttf, webdings.ttf, etc. Here are a couple...

 

dings.png

Posted

I'm having trouble with the ends of the lines. Here is my linetype code:

 

*POWER,----0----0----0----0----0----0----

A,620,-200,620,-200,620,-200,["\U+25CF",ARIAL,x=175,y=-14,s=.7],-.001

And here is the result:

 

ff3gci.jpg

 

It is supposed to place a dot every third dash, which it does...but the ends are not right. (BTW, this is a 1 mile by 1 mile geographic section for scaling purposes). I see I need to tweak the offset slightly as it is not centered perfectly, but don't worry about that.

Posted

Also, my ltscale must be set to 1980, which is why the numbers are so big in the linetype.

  • 1 year later...
Posted

Ok, so i am pulling my hair out trying to make this linetype as a Handrail or fence too.

But I am getting numerous comments to make it start and stop with the circle.

 

Is it possible to have the shape start and stop? We are obvously using this... A,.25,-.1,[CIRC1,ltypeshp.shx,x=-.1,s=.1],-.1,1

 

Any comments would be appreciated

Posted

But I am getting numerous comments to make it start and stop with the circle.

 

Is it possible to have the shape start and stop?

 

Nope, Autocad linetype definitions don't support that.

  • 1 year later...
Posted

hi, can any tell me how to create line type circle, long dash space circle long dash space circle long dash.

 

--- O --- O --- O -- like this.

please help me out.

Posted

Since you have full AutoCAD one option you can use utilizes two tools found in Express Tools. They are Make Shape (MKSHAPE) and Make Linetype (MKLTYPE). Directions for using the commands can be found in the Express Tools FAQ under Contents > Categories > Tools.

 

Another option would be to take an existing linetype definition that uses a letter and substitute an "O" for it. You would also have to tweak the parameters for the length of the lines and the gap distances.

  • 1 year later...
Posted

i have created a line type and line shape in cad but that same line type and line shape.If i take that same DWG file to another pc that same line type and line shape will not come it will come in dot dot line i want to know how to make that line shape and line type as a cad default line.

Posted

Did you copy over the both the new linetype along with the shape file to the other computer?

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...