Author Topic: error with (08 . "1 1/2\" = 1'-0\"")  (Read 1421 times)

0 Members and 1 Guest are viewing this topic.

jlogan02

  • Bull Frog
  • Posts: 327
error with (08 . "1 1/2\" = 1'-0\"")
« on: December 17, 2020, 12:11:23 PM »
I'm getting this error with (08 . "1 1/2\" = 1'-0\"")

Error: AutoCAD variable setting rejected: CANNOSCALE "1\001/2\" = 1'-0\""

I've tried several iterations with no luck.
I also can't remember what the backward slash is doing.

Code - Auto/Visual Lisp: [Select]
  1.    (if
  2.             (setq sca
  3.                 (cdr
  4.                     (assoc (getvar 'dimscale)
  5.                        '(
  6.                             (01 . "1:1")
  7.                             (02 . "6\" = 1'-0\"")
  8.                             (04 . "3\" = 1'-0\"")
  9.                             (08 . "1 1/2\" = 1'-0\"");;this is wrong
  10.                             (12 . "1\" = 1'-0\"")
  11.                             (16 . "3/4\" = 1'-0\"")
  12.                             (24 . "1/2\" = 1'-0\"")
  13.                             (48 . "1/4\" = 1'-0\"")
  14.                             (96 . "1/8\" = 1'-0\"")
  15.                         )
  16.                     )
  17.                 )
  18.             )
  19.             (setvar 'cannoscale sca)
  20.             (prompt "\nDIMSCALE does not correspond to Annotation Scale.")
  21.         )
J. Logan
ACAD 2018

I am one with the Force and the Force is with me.
AutoCAD Map 2018 Windows 10

CincyJeff

  • Newt
  • Posts: 89
Re: error with (08 . "1 1/2\" = 1'-0\"")
« Reply #1 on: December 17, 2020, 12:43:05 PM »
My scale reads "1-1/2\" = 1'-0\"", with the hyphen.

jlogan02

  • Bull Frog
  • Posts: 327
Re: error with (08 . "1 1/2\" = 1'-0\"")
« Reply #2 on: December 17, 2020, 01:13:22 PM »
My scale reads "1-1/2\" = 1'-0\"", with the hyphen.

That's the ticket!

Guess I didn't try everything.

Thanks again.
J. Logan
ACAD 2018

I am one with the Force and the Force is with me.
AutoCAD Map 2018 Windows 10