Author Topic: Lt scale  (Read 8320 times)

0 Members and 1 Guest are viewing this topic.

Bob Garner

  • Guest
Lt scale
« Reply #15 on: July 21, 2004, 11:46:51 AM »
I do a lot of structural steel detail sheets that contain different details drawn to different scales.  To accomodate this, I draw the details at 1:1 and x-ref them to a full size title block sheet.  The ltscales of the details have to be multiplied by the reciprocal of the x-ref insertion scale to plot correctly.

Cheers

Bob G.

yyou

  • Guest
Lt scale
« Reply #16 on: July 21, 2004, 11:55:27 AM »
When working (in model space), we have LTS set according to the scale of dwg.  When plotting (papaer space), we use script to set LTS to .5 before sending.  Psltscale is always set at 1.

CADaver

  • Guest
Lt scale
« Reply #17 on: July 21, 2004, 01:17:35 PM »
Quote from: Keith
PSLTSCALE is generally set to 0, that is because some of our drawings must be plotted from MS ... and as such, switching between the two is more a headache than simply setting it once and leaving it alone...it works and is efficient, and actually increases productivity because the person doing the drawing does not have to worry about the settings at all... it is all automatic...
Somewhere on this board is a routine that toggles ltscale & psltscale based on a "tab" reactor.  I don't remember who wrote it or where I got it cuz' the machine crashed and I had to re-create it, but here's what I use.  Some guru here could probably make it a lot slicker.


Code: [Select]
(defun ChangedLayout (reactor layout / )
  (if (/= (nth 0 layout) "Model")
   (progn
      (setvar "ltscale" 0.3333)
      (setvar "psltscale" 1)
    )
  (progn
    (if (> (getvar "dimscale") 12)
      (setvar "ltscale" (/ (getvar "dimscale")3.0))
      (setvar "ltscale" 40)
    )
      (setvar "psltscale" 1)
    )
  )
)
(if (not *LayoutLTS*)
 (setq *LayoutLTS* (VLR-Miscellaneous-Reactor nil '((:VLR-layoutSwitched . ChangedLayout))))
)

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Lt scale
« Reply #18 on: July 21, 2004, 01:59:24 PM »
Hmmm.. interesting... that would solve the issue..
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

yyou

  • Guest
Lt scale
« Reply #19 on: July 21, 2004, 02:38:23 PM »

Kate M

  • Guest
Lt scale
« Reply #20 on: July 21, 2004, 03:32:01 PM »
Here's the one I got from someone on the Autodesk forums...you have to regen after you switch layouts, but it's still a great timesaver.

Code: [Select]
(defun   ChangedLayout (reactor layout /)
   (if (= (nth 0 layout) "Model")
    (setvar "ltscale"
          (*   (if   (= (getvar "dimscale") 0)
              1
              ; else
              (getvar "dimscale")
              ); if
            0.5
            ); *
          )
    (progn   (setvar "ltscale" 0.5)
         (setvar "psltscale" 1)
         )
    ); if
)

(if
  (not *LayoutLTS*)
    (setq *LayoutLTS* (VLR-Miscellaneous-Reactor nil
      '((:VLR-layoutSwitched . ChangedLayout))
    )
  )
)