TheSwamp

CAD Forums => CAD General => Topic started by: Fabricio28 on October 14, 2015, 11:27:51 AM

Title: Create a linetype
Post by: Fabricio28 on October 14, 2015, 11:27:51 AM
Hi guys,

I'm trying to create a custom linetype. But I don't know how to do that.

I'm attaching a dwg example.

Thank in advance
Title: Re: Create a linetype
Post by: Rob... on October 14, 2015, 11:32:22 AM
There is a nice linetype generator around here somewhere.
Title: Re: Create a linetype
Post by: CAB on October 14, 2015, 11:45:54 AM
-----------   Line Type Loader /  Maker  ----------------
http://www.theswamp.org/index.php?topic=23888.0  LineType Loader by CAB - function to load a list of linetypes
http://www.theswamp.org/index.php?topic=31115.0 Advanced Linetype Loader  by Lee Mac
http://www.theswamp.org/index.php?topic=21339.msg258481#msg258481  LineType maker by RonJ
Title: Re: Create a linetype
Post by: mjfarrell on October 14, 2015, 11:47:58 AM
AutoCAD Express Tools to be installed. On the Express Tools tab of the Ribbon, expand the Tools panel to find the Make Linetype and Make Shape buttons.
Title: Re: Create a linetype
Post by: Fabricio28 on October 14, 2015, 12:35:53 PM
Guys,
Thank very much for replay.

AutoCAD Express Tools to be installed. On the Express Tools tab of the Ribbon, expand the Tools panel to find the Make Linetype and Make Shape buttons.

It's good.  :-D

But I'd like make  something more specific. Start and End point with 1.0 and Gap with 6.0. Is it possible?
Just like the example.

Regards
Title: Re: Create a linetype
Post by: ronjonp on October 14, 2015, 01:55:18 PM
The distance is dependent on your ltscale setting. If it's set to 1, then the following simple linetype should work:
Quote
*FOO,FOO_    _    _    _    _
A,1.0,-6.0
Title: Re: Create a linetype
Post by: Fabricio28 on October 14, 2015, 02:02:39 PM
The distance is dependent on your ltscale setting. If it's set to 1, then the following simple linetype should work:
Quote
*FOO,FOO_    _    _    _    _
A,1.0,-6.0

Thank you Ron,
But I have to change the linetype scale to 10.0 to work fine!

How Can I set the scale from the file?
Title: Re: Create a linetype
Post by: ronjonp on October 14, 2015, 02:14:27 PM
The distance is dependent on your ltscale setting. If it's set to 1, then the following simple linetype should work:
Quote
*FOO,FOO_    _    _    _    _
A,1.0,-6.0

Thank you Ron,
But I have to change the linetype scale to 10.0 to work fine!

How Can I set the scale from the file?


Your drawing has an ltscale of 0.1 so multiple the -6.0 * 10 & an object ltcale of 1 should work.
Title: Re: Create a linetype
Post by: mjfarrell on October 14, 2015, 02:16:01 PM
or look into CELTSCALE
Title: Re: Create a linetype
Post by: Fabricio28 on October 14, 2015, 02:17:51 PM
The distance is dependent on your ltscale setting. If it's set to 1, then the following simple linetype should work:
Quote
*FOO,FOO_    _    _    _    _
A,1.0,-6.0

Thank you Ron,
But I have to change the linetype scale to 10.0 to work fine!

How Can I set the scale from the file?


Your drawing has an ltscale of 0.1 so multiple the -6.0 * 10 & an object ltcale of 1 should work.

Thank Ron!!
Perfect my friend :)
Title: Re: Create a linetype
Post by: Fabricio28 on October 14, 2015, 02:18:42 PM
or look into CELTSCALE

Hi mjfarrell

I've changed CELTSCALE to 10.0.  :-D

Thank you
Title: Re: Create a linetype
Post by: mjfarrell on October 14, 2015, 04:04:10 PM
one could also set the layer that uses this linetype to the desired scale and leave CELTSCALE alone...
Title: Re: Create a linetype
Post by: CHulse on October 15, 2015, 11:55:56 AM
one could also set the layer that uses this linetype to the desired scale and leave CELTSCALE alone...

Am I reading this right? Is it possible to set LTSCALE by layer? If so, I didn’t know that was possible.
Or do you just mean select all the objects on the layer and change their linetype scale?
Title: Re: Create a linetype
Post by: mjfarrell on October 15, 2015, 12:04:27 PM
within Civil3d Object styles one can set ltscale by layer
Title: Re: Create a linetype
Post by: CHulse on October 15, 2015, 02:06:07 PM
within Civil3d Object styles one can set ltscale by layer

Thanks. I'll look for that.