SlideShare une entreprise Scribd logo
1  sur  4
Télécharger pour lire hors ligne
Log in / Register Print Em
Home > CAD > 2D Drafting > AutoCAD
Related topics: Learning Curve (AutoCAD Tutorials), Management
AutoCAD
October 1, 1999
By: Bill Fane
It was a warm Friday morning, a perfect day for Grampa LearnCurve and his g
celebrate their 33rd wedding anniversary. Suddenly the phone rang. “It’s time,”
in-law. What’s with the Grampa LearnCurve bit? Yes, campers, Captain Learn
grandfather. Rebecca Nicole Milne, 8lb. 12oz., born July 9, 1999.
Last month we covered AutoCAD’s various noncontinuous linetype styles. Som
available styles aren’t appropriate, so you learned how to define your own.
Excuse me, last month you promised to discuss linetypes that include text and
linetype that indicates hot water supply in a piping diagram.
Not a problem. Just issue either the Layer or Linetype command and load in th
linetype. To read last month’s article on how to load a linetype.
Hold it! I also need linetypes for cold water and drains and compressed air and
Oh, all right, I’ll teach you how to create other linetypes that have text in them.
introduced complex linetypes in Release 13.
Last month we learned that AutoCAD holds linetype definitions in external files
extension.
You can create and edit these files with any standard text editor such as Notep
Release 14 holds its standard linetype definitions in a file called C:Program file
Supportacad.lin.
Note that Release 13 keeps the complex linetype definitions in a separate file c
but the principles and procedures are exactly the same. In fact, you can easily
complex linetype definitions from ltypeshp.lin into acad.lin.
You can create your own file or you can edit the standard one. If you choose th
remember rule number 2: Always keep a safe copy of the original file before yo
AutoCAD linetype customizing facilities,
two
Manufacturing
AEC
GIS
CAD Management
Cadalyst Magazine
E-Newsletters
CAD Software & Hardware
Reviews
Features & Columns
CAD Software Tutorials
CAD Tips & Tools
Discussion Forums
CAD Video Gallery
Cadalyst Benchmark Test
CAD Events Calendar
CAD Cartoons
Subscriber Services
Job Search
Cadalyst Store
Advertising
Page 1 of 4AutoCAD linetype customizing facilities, part two | Cadalyst
9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791
Microfinance
Empowers
Join us in enabling
the poorest of the
poor to improve their
own lives
Public Service Ads by
Google
number 1 is Never break rule number 2. Rule number 3 is: The original files ar
installation CD-ROM when you don’t obey rules 1 and 2.
Linetype definitions with text
Before we begin, I must note a couple of points about linetype definitions. Onc
into a drawing, it is saved with the drawing. This means that if you send a draw
they don’t need your linetype definition file.
The other side of the coin is that if you change the definition of a linetype, you
reload it back into the drawing. Thus, if you experiment with the changes we ar
below, you must use the Linetype command to load in your changes each time
see the changes.
When you open your copy of acad.lin, you see the definition for Hot_water_sup
*HOT_WATER_SUPPLY,Hot water supply
—— HW —— HW —— HW ——
A,.5,.2,[“HW”,STANDARD,S=.1, R=0.0, X=-0.1,Y=-.05],-.2
The first line includes the name of the linetype up to the comma. The rest of th
descriptive text that appears in the Linetype dialog box. The Release 14 and 2
boxes also have an Appearance field that shows a quick translation of the linet
The second line (shaded above) contains the meat of the definition. A compari
noncontinuous definition shows many similarities. For example, it must always
commas separate line segment definitions. Positive values indicate pen down,
segments. Negative values define pen up, or gap, segments. For best results,
should end with a pen-up segment. In our example (figure 1), the line starts wit
units long followed by a gap of 0.2 units,
then a bunch of stuff that we’ll come back to, and another gap of 0.2 units. The
repeats as necessary.
The only difference in a complex linetype definition appears in the section betw
brackets:
["HW",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05]
Once again, the definition is divided into sections by commas. HW specifies th
appears spaced down the line. It is case-sensitive.
Standard is the text style name. You can specify any text style that currently ex
Figure 1. Here are two sample sections of the linetype, along with a copy of the
linetype definition. The red leaders show which portions of the linetype
definition control what.
Page 2 of 4AutoCAD linetype customizing facilities, part two | Cadalyst
9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791
Note that the text style must also exist in any other drawing into which you wan
linetype.
Everything else is optional and defaults to zero if you omit it.
S=xx specifies a size or a scale factor for the text. If the specified text style has
S=xx specifies the exact size of the text. If the specified style has a size greate
defines a scale factor by which the text style size is multiplied. Note that LTSC
sizes of all the segment and gap lengths and further scales the text size.
R=xx specifies the rotation angle of the text relative to the line segments as yo
example of zero aligns the text parallel to the line segments. The text in a line
drawn right to left is upside down compared to a line segment drawn left to righ
instead of R=xx, the text alignment is always absolute relative to the origin. A=
text always remains horizontal.
X=xx is a horizontal offset distance for the start of the text. The example X=
-0.1 moves the start of the text 0.1 units back into the preceding line segment,
0.2 units long. To achieve the same effect, set the preceding gap length to 0.1
omit it).
Y=xx is a vertical offset distance for the text. The text normally aligns from its lo
you want to center it in the complex linetype, give it a negative value equal to h
This can get a little messy because it is not scaled by the S=xx factor (but it is
LTSCALE). You usually get the best and most consistent results by using a tex
complex linetypes, even if this means creating a special text style just for this u
The only other slightly gnarly bit with regard to text placement is conveniently f
AutoCAD’s documentation. AutoCAD doesn’t automatically calculate the length
for the text from the specified characters. You must define it yourself. In our ex
change HW to HOT, the T crowds the start of the next pen-down line segment
specified for the text style also has an impact.
Back to the “bunch of stuff”
Let’s go back to the definition of the line segments. As we saw, the example lin
down segment 0.5 units long followed by a pen-up segment 0.2 units long. Thi
start of the text, but it also defines the start of the next line segment. In the exa
segment is a pen-up section 0.2 units long. If you put more or less text in the li
you must adjust this final pen up segment accordingly. Take a look at the Gas
acad.lin. Note how the last pen-up segment is 0.25 long instead of 0.20 to allow
character in GAS.
The problem is compounded because an “i” is typically narrower than an “m”, a
character widths depend on the font. You usually need to experiment a bit to g
for a specific text message.
Complex linetype definitions that include text most commonly identify the vario
schematic diagrams and the contour lines on maps. But I am sure a lot more a
lurking out there.
Complex linetype definitions also let you include custom shape symbols. Come
when I show you how.
And now for something completely different
Household pets, dogs in particular, can get jealous when you bring a new baby
hospital. To help ease the introduction, bring home a blanket that the baby has
gets used to the smell.
Page 3 of 4AutoCAD linetype customizing facilities, part two | Cadalyst
9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791
Bookmark it: digg propeller del.icio.us technorati yahoo faceb
E-mail Bill Fane
About Bill Fane
See contents by Bill Fane
About the Author: Bill Fane
About Cadalyst | Contact | Subscribe: Magazine | Subscribe: Newsletters
Advertise | Media Kit | Terms of Use | Linking and RSS Policy | Privacy Policy
or in part
Please s
Page 4 of 4AutoCAD linetype customizing facilities, part two | Cadalyst
9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791

Contenu connexe

En vedette (13)

Mascota
MascotaMascota
Mascota
 
Ronan O'neill
Ronan O'neillRonan O'neill
Ronan O'neill
 
Drexel
DrexelDrexel
Drexel
 
Purchase Page One Engine
Purchase Page One EnginePurchase Page One Engine
Purchase Page One Engine
 
Cytomegalovirus (CMV) in Intensive Care Unit (ICU) patients (David Navarro, PhD)
Cytomegalovirus (CMV) in Intensive Care Unit (ICU) patients (David Navarro, PhD)Cytomegalovirus (CMV) in Intensive Care Unit (ICU) patients (David Navarro, PhD)
Cytomegalovirus (CMV) in Intensive Care Unit (ICU) patients (David Navarro, PhD)
 
Prof. Melissa Hanna-Brown
Prof. Melissa Hanna-BrownProf. Melissa Hanna-Brown
Prof. Melissa Hanna-Brown
 
WhaleRider01102013
WhaleRider01102013WhaleRider01102013
WhaleRider01102013
 
Kashmiri Carpet
Kashmiri CarpetKashmiri Carpet
Kashmiri Carpet
 
Decouverte Produit
Decouverte ProduitDecouverte Produit
Decouverte Produit
 
Open Cultural Heritage Resources
Open Cultural Heritage ResourcesOpen Cultural Heritage Resources
Open Cultural Heritage Resources
 
Presentation Eureka Time, agence transformation digitale et innovation
Presentation Eureka Time, agence transformation digitale et innovationPresentation Eureka Time, agence transformation digitale et innovation
Presentation Eureka Time, agence transformation digitale et innovation
 
OER16 Open Culture Conference Preview
OER16 Open Culture Conference PreviewOER16 Open Culture Conference Preview
OER16 Open Culture Conference Preview
 
Digital Cultural Heritage and Open Education
Digital Cultural Heritage and Open EducationDigital Cultural Heritage and Open Education
Digital Cultural Heritage and Open Education
 

Similaire à Autocad linetype-customizin

Similaire à Autocad linetype-customizin (20)

CPP Homework Help
CPP Homework HelpCPP Homework Help
CPP Homework Help
 
Asme2ej
Asme2ejAsme2ej
Asme2ej
 
Presentation on
Presentation on Presentation on
Presentation on
 
Presentation
Presentation Presentation
Presentation
 
template
templatetemplate
template
 
conference-template-letter.docx
conference-template-letter.docxconference-template-letter.docx
conference-template-letter.docx
 
conference-template
conference-templateconference-template
conference-template
 
Parametric Equations with Mathcad Prime
Parametric Equations with Mathcad PrimeParametric Equations with Mathcad Prime
Parametric Equations with Mathcad Prime
 
Computer Science Assignment Help
Computer Science Assignment Help Computer Science Assignment Help
Computer Science Assignment Help
 
Conference template-a4
Conference template-a4Conference template-a4
Conference template-a4
 
Magazine awr-ims-3
Magazine awr-ims-3Magazine awr-ims-3
Magazine awr-ims-3
 
ijirt_paperformat.docx
ijirt_paperformat.docxijirt_paperformat.docx
ijirt_paperformat.docx
 
ijirt_paperformat.docx
ijirt_paperformat.docxijirt_paperformat.docx
ijirt_paperformat.docx
 
Rtetmsd format1
Rtetmsd format1Rtetmsd format1
Rtetmsd format1
 
Analysing simple pendulum using matlab
Analysing simple pendulum using matlabAnalysing simple pendulum using matlab
Analysing simple pendulum using matlab
 
How to make fewer errors at the stage of code writing. Part N3.
How to make fewer errors at the stage of code writing. Part N3.How to make fewer errors at the stage of code writing. Part N3.
How to make fewer errors at the stage of code writing. Part N3.
 
Ads
AdsAds
Ads
 
T template
T templateT template
T template
 
Plot function in R
Plot function in RPlot function in R
Plot function in R
 
11.the novel lossless text compression technique using ambigram logic and huf...
11.the novel lossless text compression technique using ambigram logic and huf...11.the novel lossless text compression technique using ambigram logic and huf...
11.the novel lossless text compression technique using ambigram logic and huf...
 

Dernier

Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...only4webmaster01
 
Personal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando NegronPersonal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando Negronnegronf24
 
➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men 🔝Tirupati🔝 Escor...
➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men  🔝Tirupati🔝   Escor...➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men  🔝Tirupati🔝   Escor...
➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men 🔝Tirupati🔝 Escor...amitlee9823
 
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...gynedubai
 
Call Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night StandCall Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Dubai Call Girls Kiki O525547819 Call Girls Dubai Koko
Dubai Call Girls Kiki O525547819 Call Girls Dubai KokoDubai Call Girls Kiki O525547819 Call Girls Dubai Koko
Dubai Call Girls Kiki O525547819 Call Girls Dubai Kokokojalkojal131
 
Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........deejay178
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...Pooja Nehwal
 
Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...
Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...
Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...amitlee9823
 
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdfreStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdfKen Fuller
 
Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...amitlee9823
 
Call Girls In Chandapura ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Chandapura ☎ 7737669865 🥵 Book Your One night StandCall Girls In Chandapura ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Chandapura ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...
Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...
Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...gajnagarg
 
Miletti Gabriela_Vision Plan for artist Jahzel.pdf
Miletti Gabriela_Vision Plan for artist Jahzel.pdfMiletti Gabriela_Vision Plan for artist Jahzel.pdf
Miletti Gabriela_Vision Plan for artist Jahzel.pdfGabrielaMiletti
 
Guide to a Winning Interview May 2024 for MCWN
Guide to a Winning Interview May 2024 for MCWNGuide to a Winning Interview May 2024 for MCWN
Guide to a Winning Interview May 2024 for MCWNBruce Bennett
 
➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men 🔝Pallavaram🔝 E...
➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men  🔝Pallavaram🔝   E...➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men  🔝Pallavaram🔝   E...
➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men 🔝Pallavaram🔝 E...amitlee9823
 
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...amitlee9823
 
➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men 🔝Nandyal🔝 Escorts...
➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men  🔝Nandyal🔝   Escorts...➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men  🔝Nandyal🔝   Escorts...
➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men 🔝Nandyal🔝 Escorts...amitlee9823
 

Dernier (20)

Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 9155563397 👗 Top Class Call Girl Service Ban...
 
Personal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando NegronPersonal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando Negron
 
➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men 🔝Tirupati🔝 Escor...
➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men  🔝Tirupati🔝   Escor...➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men  🔝Tirupati🔝   Escor...
➥🔝 7737669865 🔝▻ Tirupati Call-girls in Women Seeking Men 🔝Tirupati🔝 Escor...
 
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
 
Call Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night StandCall Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Devanahalli ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Dubai Call Girls Kiki O525547819 Call Girls Dubai Koko
Dubai Call Girls Kiki O525547819 Call Girls Dubai KokoDubai Call Girls Kiki O525547819 Call Girls Dubai Koko
Dubai Call Girls Kiki O525547819 Call Girls Dubai Koko
 
Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........Gabriel_Carter_EXPOLRATIONpp.pptx........
Gabriel_Carter_EXPOLRATIONpp.pptx........
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
 
Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...
Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...
Chintamani Call Girls Service: ☎ 7737669865 ☎ High Profile Model Escorts | Ba...
 
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdfreStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
 
Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
Nagavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore Es...
 
Call Girls In Chandapura ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Chandapura ☎ 7737669865 🥵 Book Your One night StandCall Girls In Chandapura ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Chandapura ☎ 7737669865 🥵 Book Your One night Stand
 
Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...
Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...
Just Call Vip call girls Jammu Escorts ☎️9352988975 Two shot with one girl (J...
 
Miletti Gabriela_Vision Plan for artist Jahzel.pdf
Miletti Gabriela_Vision Plan for artist Jahzel.pdfMiletti Gabriela_Vision Plan for artist Jahzel.pdf
Miletti Gabriela_Vision Plan for artist Jahzel.pdf
 
Guide to a Winning Interview May 2024 for MCWN
Guide to a Winning Interview May 2024 for MCWNGuide to a Winning Interview May 2024 for MCWN
Guide to a Winning Interview May 2024 for MCWN
 
➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men 🔝Pallavaram🔝 E...
➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men  🔝Pallavaram🔝   E...➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men  🔝Pallavaram🔝   E...
➥🔝 7737669865 🔝▻ Pallavaram Call-girls in Women Seeking Men 🔝Pallavaram🔝 E...
 
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
 
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men 🔝Nandyal🔝 Escorts...
➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men  🔝Nandyal🔝   Escorts...➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men  🔝Nandyal🔝   Escorts...
➥🔝 7737669865 🔝▻ Nandyal Call-girls in Women Seeking Men 🔝Nandyal🔝 Escorts...
 

Autocad linetype-customizin

  • 1. Log in / Register Print Em Home > CAD > 2D Drafting > AutoCAD Related topics: Learning Curve (AutoCAD Tutorials), Management AutoCAD October 1, 1999 By: Bill Fane It was a warm Friday morning, a perfect day for Grampa LearnCurve and his g celebrate their 33rd wedding anniversary. Suddenly the phone rang. “It’s time,” in-law. What’s with the Grampa LearnCurve bit? Yes, campers, Captain Learn grandfather. Rebecca Nicole Milne, 8lb. 12oz., born July 9, 1999. Last month we covered AutoCAD’s various noncontinuous linetype styles. Som available styles aren’t appropriate, so you learned how to define your own. Excuse me, last month you promised to discuss linetypes that include text and linetype that indicates hot water supply in a piping diagram. Not a problem. Just issue either the Layer or Linetype command and load in th linetype. To read last month’s article on how to load a linetype. Hold it! I also need linetypes for cold water and drains and compressed air and Oh, all right, I’ll teach you how to create other linetypes that have text in them. introduced complex linetypes in Release 13. Last month we learned that AutoCAD holds linetype definitions in external files extension. You can create and edit these files with any standard text editor such as Notep Release 14 holds its standard linetype definitions in a file called C:Program file Supportacad.lin. Note that Release 13 keeps the complex linetype definitions in a separate file c but the principles and procedures are exactly the same. In fact, you can easily complex linetype definitions from ltypeshp.lin into acad.lin. You can create your own file or you can edit the standard one. If you choose th remember rule number 2: Always keep a safe copy of the original file before yo AutoCAD linetype customizing facilities, two Manufacturing AEC GIS CAD Management Cadalyst Magazine E-Newsletters CAD Software & Hardware Reviews Features & Columns CAD Software Tutorials CAD Tips & Tools Discussion Forums CAD Video Gallery Cadalyst Benchmark Test CAD Events Calendar CAD Cartoons Subscriber Services Job Search Cadalyst Store Advertising Page 1 of 4AutoCAD linetype customizing facilities, part two | Cadalyst 9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791
  • 2. Microfinance Empowers Join us in enabling the poorest of the poor to improve their own lives Public Service Ads by Google number 1 is Never break rule number 2. Rule number 3 is: The original files ar installation CD-ROM when you don’t obey rules 1 and 2. Linetype definitions with text Before we begin, I must note a couple of points about linetype definitions. Onc into a drawing, it is saved with the drawing. This means that if you send a draw they don’t need your linetype definition file. The other side of the coin is that if you change the definition of a linetype, you reload it back into the drawing. Thus, if you experiment with the changes we ar below, you must use the Linetype command to load in your changes each time see the changes. When you open your copy of acad.lin, you see the definition for Hot_water_sup *HOT_WATER_SUPPLY,Hot water supply —— HW —— HW —— HW —— A,.5,.2,[“HW”,STANDARD,S=.1, R=0.0, X=-0.1,Y=-.05],-.2 The first line includes the name of the linetype up to the comma. The rest of th descriptive text that appears in the Linetype dialog box. The Release 14 and 2 boxes also have an Appearance field that shows a quick translation of the linet The second line (shaded above) contains the meat of the definition. A compari noncontinuous definition shows many similarities. For example, it must always commas separate line segment definitions. Positive values indicate pen down, segments. Negative values define pen up, or gap, segments. For best results, should end with a pen-up segment. In our example (figure 1), the line starts wit units long followed by a gap of 0.2 units, then a bunch of stuff that we’ll come back to, and another gap of 0.2 units. The repeats as necessary. The only difference in a complex linetype definition appears in the section betw brackets: ["HW",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05] Once again, the definition is divided into sections by commas. HW specifies th appears spaced down the line. It is case-sensitive. Standard is the text style name. You can specify any text style that currently ex Figure 1. Here are two sample sections of the linetype, along with a copy of the linetype definition. The red leaders show which portions of the linetype definition control what. Page 2 of 4AutoCAD linetype customizing facilities, part two | Cadalyst 9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791
  • 3. Note that the text style must also exist in any other drawing into which you wan linetype. Everything else is optional and defaults to zero if you omit it. S=xx specifies a size or a scale factor for the text. If the specified text style has S=xx specifies the exact size of the text. If the specified style has a size greate defines a scale factor by which the text style size is multiplied. Note that LTSC sizes of all the segment and gap lengths and further scales the text size. R=xx specifies the rotation angle of the text relative to the line segments as yo example of zero aligns the text parallel to the line segments. The text in a line drawn right to left is upside down compared to a line segment drawn left to righ instead of R=xx, the text alignment is always absolute relative to the origin. A= text always remains horizontal. X=xx is a horizontal offset distance for the start of the text. The example X= -0.1 moves the start of the text 0.1 units back into the preceding line segment, 0.2 units long. To achieve the same effect, set the preceding gap length to 0.1 omit it). Y=xx is a vertical offset distance for the text. The text normally aligns from its lo you want to center it in the complex linetype, give it a negative value equal to h This can get a little messy because it is not scaled by the S=xx factor (but it is LTSCALE). You usually get the best and most consistent results by using a tex complex linetypes, even if this means creating a special text style just for this u The only other slightly gnarly bit with regard to text placement is conveniently f AutoCAD’s documentation. AutoCAD doesn’t automatically calculate the length for the text from the specified characters. You must define it yourself. In our ex change HW to HOT, the T crowds the start of the next pen-down line segment specified for the text style also has an impact. Back to the “bunch of stuff” Let’s go back to the definition of the line segments. As we saw, the example lin down segment 0.5 units long followed by a pen-up segment 0.2 units long. Thi start of the text, but it also defines the start of the next line segment. In the exa segment is a pen-up section 0.2 units long. If you put more or less text in the li you must adjust this final pen up segment accordingly. Take a look at the Gas acad.lin. Note how the last pen-up segment is 0.25 long instead of 0.20 to allow character in GAS. The problem is compounded because an “i” is typically narrower than an “m”, a character widths depend on the font. You usually need to experiment a bit to g for a specific text message. Complex linetype definitions that include text most commonly identify the vario schematic diagrams and the contour lines on maps. But I am sure a lot more a lurking out there. Complex linetype definitions also let you include custom shape symbols. Come when I show you how. And now for something completely different Household pets, dogs in particular, can get jealous when you bring a new baby hospital. To help ease the introduction, bring home a blanket that the baby has gets used to the smell. Page 3 of 4AutoCAD linetype customizing facilities, part two | Cadalyst 9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791
  • 4. Bookmark it: digg propeller del.icio.us technorati yahoo faceb E-mail Bill Fane About Bill Fane See contents by Bill Fane About the Author: Bill Fane About Cadalyst | Contact | Subscribe: Magazine | Subscribe: Newsletters Advertise | Media Kit | Terms of Use | Linking and RSS Policy | Privacy Policy or in part Please s Page 4 of 4AutoCAD linetype customizing facilities, part two | Cadalyst 9/15/2010http://www.cadalyst.com/cad/autocad/autocad-linetype-customizing-facilities-part-two-4791