Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linetype

Status
Not open for further replies.

kdrummer

Technical User
Mar 26, 2002
2
US
I need to know the variables for creating a linetype.
I know what some things are, not %100 sure on acurately modifying them. However, I can easily copy and modify some. I need to create a new fence line type that looks like this; x----x----x----x. The line needs to start with the x and end with a line. I know the variable "x" in the ["x",simplex,s=.3,r=0.0,x=-0.1,y=-.13] is the x in x----x----x---- etc. I know the s variable stands for the text size. The y stands for the vertical difference of the line and text. the variables before and after the [....] I am not too sure of, but I gather the numbers right before and after the [..] brackets stand for spaces from the text to the lines. Am I right and what do I do to achieve my desired results?
 
You can find all you have to know about creating a Complex Linetype (a line compring both dashes/dots and shapes) at Chapter 2 - Linetypes and Hatch Patterns and Chapter 3 - Shapes, Fonts and PostScript Supports, in User's Guide (Help Menu), if you are a complete version user.
Positive numbers before brackets specify dashes' lenght (zero value stands for a dot), negative ones distance between two consecutive dashes/dots.
Into the brackets, you have to specify shapename and shxfilename where shapes are compiled; I argue you have to create your personal shapes, because X it's neither in LTYPESHP.SHP file (default shape definition file) nor in LYTPESHP,SHX file (default compiled shape file). It's more complicated to explain here the way to create and compile new shapes than to learn it directly at Chapter 3 of User's Guide.
I suggest to create new SHP, SHX and LIN files (or to backup the original ones) to do all the trials you wish and need.
 
THIS WORKED FOR ME. PLACE THE FOLLOWING INTO YOUR ACAD.LIN FILE, BUT BACK UP THE ORIGINAL FIRST.

*FENCELINE3,FENCELINE X ----X----X----X----X----X----X--
A,.5,.1,["X",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top