Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
error with (08 . "1 1/2\" = 1'-0\"")
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: error with (08 . "1 1/2\" = 1'-0\"") (Read 1491 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]
(
if
(
setq
sca
(
cdr
(
assoc
(
getvar
'dimscale
)
'
(
(
01 .
"1:1"
)
(
02 .
"6
\"
= 1'-0
\"
"
)
(
04 .
"3
\"
= 1'-0
\"
"
)
(
08 .
"1 1/2
\"
= 1'-0
\"
"
)
;;this is wrong
(
12
.
"1
\"
= 1'-0
\"
"
)
(
16
.
"3/4
\"
= 1'-0
\"
"
)
(
24
.
"1/2
\"
= 1'-0
\"
"
)
(
48
.
"1/4
\"
= 1'-0
\"
"
)
(
96
.
"1/8
\"
= 1'-0
\"
"
)
)
)
)
)
(
setvar
'cannoscale sca
)
(
prompt
"
\n
DIMSCALE does not correspond to Annotation Scale."
)
)
Logged
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.
Logged
jlogan02
Bull Frog
Posts: 327
Re: error with (08 . "1 1/2\" = 1'-0\"")
«
Reply #2 on:
December 17, 2020, 01:13:22 PM »
Quote from: CincyJeff on December 17, 2020, 12:43:05 PM
My scale reads "1-1/2\" = 1'-0\"", with the hyphen.
That's the ticket!
Guess I didn't try everything.
Thanks again.
Logged
J. Logan
ACAD 2018
I am one with the Force and the Force is with me.
AutoCAD Map 2018 Windows 10
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
error with (08 . "1 1/2\" = 1'-0\"")