Author Topic: Using " in a complex linetype  (Read 2408 times)

0 Members and 1 Guest are viewing this topic.

Barry Clark

  • Guest
Using " in a complex linetype
« on: August 02, 2006, 12:59:22 PM »
Hello all.

I am playing around with linetypes and I am having trouble trying to insert a " into the shape.

What I want is a linetype that has 10" D.I. in the line such as:
Code: [Select]
-------10" D.I.--------10" D.I.--------10" D.I.--------
What I have so far is:

Code: [Select]
*WATER_SUPPLY_10_DI,Water supply 10" DI ---- 10 D.I. ---- 10 D.I. ---- 10 D.I. ----
A,.5,-.5,["10 D.I.",STANDARD,S=1,R=0.0,X=-0.36,Y=-0.045],-.2

Of course, when I add the " after the 10, I get an error. Any thoughts?

Thank you,

Barry
« Last Edit: August 02, 2006, 01:07:00 PM by Barry Clark »

nivuahc

  • Guest
Re: Using " in a complex linetype
« Reply #1 on: August 02, 2006, 01:01:55 PM »
Do escape sequences work in there?

Code: [Select]
*WATER_SUPPLY_10_DI,Water supply 10" DI ---- 10 D.I. ---- 10 D.I. ---- 10 D.I. ----
A,.5,-.5,["10\" D.I.",STANDARD,S=1,R=0.0,X=-0.36,Y=-0.045],-.2

though I doubt it

Barry Clark

  • Guest
Re: Using " in a complex linetype
« Reply #2 on: August 02, 2006, 01:10:14 PM »
Do escape sequences work in there?

Code: [Select]
*WATER_SUPPLY_10_DI,Water supply 10" DI ---- 10 D.I. ---- 10 D.I. ---- 10 D.I. ----
A,.5,-.5,["10\" D.I.",STANDARD,S=1,R=0.0,X=-0.36,Y=-0.045],-.2

though I doubt it
Yeah, that didn't get it.

Gliderider

  • Guest
Re: Using " in a complex linetype
« Reply #3 on: August 02, 2006, 01:28:45 PM »
If you have express tools you could explode the text, make a symbol and then use it instead. I do this to resolve text style issues (ie text height, oblique).

Barry Clark

  • Guest
Re: Using " in a complex linetype
« Reply #4 on: August 02, 2006, 01:37:51 PM »
You mean then paste it into the line after I have it drawn or paste it into the .lin file?

Barry Clark

  • Guest
Re: Using " in a complex linetype
« Reply #5 on: August 02, 2006, 01:57:45 PM »
I got it. I did as you suggested and exploded the text then made a shape file of it.

Thanks a bunch!

Gliderider

  • Guest
Re: Using " in a complex linetype
« Reply #6 on: August 02, 2006, 02:09:16 PM »
Code: [Select]
*U-RD6,Roof_Drain_6" ---------RD6---------RD6---------RD6---------RD6
A,.75,-.17,[RD6,utility.shx,s=1],-.17

This is from my .lin file for a 6" roof drain. The RD6 is the name of the shape (in this case mine is RD6") and the utility.shx is the compiled shape file where the shape resides. When using the mkshape command it will ask you what .shp you want to save to, you can create a new one or append to an existing (e.g. ltypeshp.shp). This will compile itself into a .shx file. The above code works for text 0.1 high, make sure your insert point for the shape is mid/center.

Edit: Oops too late, glad you figured it out.
« Last Edit: August 02, 2006, 02:13:56 PM by Gliderider »