Author Topic: Custom Linetypes and Scaling  (Read 2183 times)

0 Members and 1 Guest are viewing this topic.

dfarris75

  • Guest
Custom Linetypes and Scaling
« on: December 19, 2008, 02:12:19 PM »
Either my brain isn't working well today or the program doesn't compute linetypes how I'm thinking it does. I'm trying to get a linetype that would be +10',  -30' and repeating as such. I do the code as follows:

*SKIP_10X30,10'x30' SKIPLINE _  _  _  _  _  _  _  _  _
A,10,-30

and all is well if my drawing is set to a scale of 1 and the ltscale is set to 1. The lines measure proper. But of course when I change the scale of the drawing or the ltscale the distances are whack. Please wake me up to what's wrong with the code.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom Linetypes and Scaling
« Reply #1 on: December 19, 2008, 02:50:02 PM »
Either my brain isn't working well today or the program doesn't compute linetypes how I'm thinking it does. I'm trying to get a linetype that would be +10',  -30' and repeating as such. I do the code as follows:

*SKIP_10X30,10'x30' SKIPLINE _  _  _  _  _  _  _  _  _
A,10,-30

and all is well if my drawing is set to a scale of 1 and the ltscale is set to 1. The lines measure proper. But of course when I change the scale of the drawing or the ltscale the distances are whack. Please wake me up to what's wrong with the code.

Technically your LTSCALE should always be set to 1 in MS any way, so what is the real question, and or how are you applying the line type scaling?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

dfarris75

  • Guest
Re: Custom Linetypes and Scaling
« Reply #2 on: December 19, 2008, 03:56:01 PM »
Yes I always set my ltscale to 1. This sprouted when I changed the drawing scale and the linetype changed along with it making the linetype incorrect in regard to the lengths.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom Linetypes and Scaling
« Reply #3 on: December 19, 2008, 04:01:01 PM »
Yes I always set my ltscale to 1. This sprouted when I changed the drawing scale and the linetype changed along with it making the linetype incorrect in regard to the lengths.

I don't know I've just ran a couple of test here, and when I change the drawing scale with Drawing Settings my LTSCALE is unaffected.  So how or where are you changing yours that it does impact the ltscale?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

dfarris75

  • Guest
Re: Custom Linetypes and Scaling
« Reply #4 on: December 19, 2008, 04:12:58 PM »
Did you do a regen after changing the scale???

I went to Toolspace > Settings > Rt clicky dwg > Edit Drawing Settings > Units and Zone tab > Scale (in upper rt corner)

dfarris75

  • Guest
Re: Custom Linetypes and Scaling
« Reply #5 on: December 19, 2008, 04:21:46 PM »
Weird it must be a dwg specific setting because it doesn't behave as such in another dwg.

dfarris75

  • Guest
Re: Custom Linetypes and Scaling
« Reply #6 on: December 19, 2008, 04:23:46 PM »
Here see if you get the same result with this file.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom Linetypes and Scaling
« Reply #7 on: December 19, 2008, 04:48:48 PM »
Did you do a regen after changing the scale???

I went to Toolspace > Settings > Rt clicky dwg > Edit Drawing Settings > Units and Zone tab > Scale (in upper rt corner)

I type LTSCALE and it was still set to 1, so I did not believe a regen would be in order....because LTSCALE was still set to 1 as before change to drawing scale...


The CULPRIT is your MSLTSCALE setting............. :evil:
« Last Edit: December 19, 2008, 04:53:52 PM by mjfarrell »
Be your Best


Michael Farrell
http://primeservicesglobal.com/

dfarris75

  • Guest
Re: Custom Linetypes and Scaling
« Reply #8 on: December 19, 2008, 04:59:53 PM »
Man I was looking in the help file and didn't come across that one yet. I bashed my head against the wall a good while trying to figure it out. Thanks again!

CHulse

  • Swamp Rat
  • Posts: 504
Re: Custom Linetypes and Scaling
« Reply #9 on: December 19, 2008, 05:54:20 PM »
Did you do a regen after changing the scale???

I went to Toolspace > Settings > Rt clicky dwg > Edit Drawing Settings > Units and Zone tab > Scale (in upper rt corner)

I type LTSCALE and it was still set to 1, so I did not believe a regen would be in order....because LTSCALE was still set to 1 as before change to drawing scale...


The CULPRIT is your MSLTSCALE setting............. :evil:

You beat me to it.
I've been bitten by that one too. I thought I was nuts...  :lol:
Cary Hulse
Urban Forestry Manager
Wetland Studies and Solutions

Civil 3D 2020 & 2023

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom Linetypes and Scaling
« Reply #10 on: December 19, 2008, 07:25:54 PM »
Just an 'autocad' thing; but I don't know anything about that.  :wink:
Be your Best


Michael Farrell
http://primeservicesglobal.com/

dfarris75

  • Guest
Re: Custom Linetypes and Scaling
« Reply #11 on: December 20, 2008, 10:08:37 AM »
You beat me to it.
I've been bitten by that one too. I thought I was nuts...  :lol:

Indeed, I thought I was losing my mind there. Glad that's over.