Page Setup Group Code 75

Page Setup Group Code 75

paullimapa
Mentor Mentor
423 Views
3 Replies
Message 1 of 4

Page Setup Group Code 75

paullimapa
Mentor
Mentor

I did a search on line and found the following group code 75 definition for page setups. But when I look at the group code 75 value compared to the actual plot scale setting, there's no match.

Am I doing something wrong?

 

(setq dxf75 (cdr(assoc 75 (member '(100 . "AcDbPlotSettings")(dictsearch(cdr (assoc -1 (dictsearch (namedobjdict) "ACAD_LAYOUT"))) (getvar"ctab"))))))

 

;*DXF group code 75 is Standard scale type:
; 0 = Scaled to Fit
; 1 = 1/128"=1'; 2 = 1/64"=1'; 3 = 1/32"=1'
; 4 = 1/16"=1'; 5 = 3/32"=1'; 6 = 1/8"=1'
; 7 = 3/16"=1'; 8 = 1/4"=1'; 9 = 3/8"=1'
; 10 = 1/2"=1'; 11 = 3/4"=1'; 12 = 1"=1'
; 13 = 3"=1'; 14 = 6"=1'; 15 = 1'=1'
; 16 = 1:1 ; 17 = 1:2; 18 = 1:4; 19 = 1:8; 20 = 1:10; 21= 1:16
; 22 = 1:20; 23 = 1:30; 24 = 1:40; 25 = 1:50; 26 = 1:100
; 27 = 2:1; 28 = 4:1; 29 = 8:1; 30 = 10:1; 31 = 100:1; 32 = 1000:1

Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
424 Views
3 Replies
Replies (3)
Message 2 of 4

ronjonp
Mentor
Mentor

@paullimapa

It always returns 0 for me...

0 Likes
Message 3 of 4

paullimapa
Mentor
Mentor

And in Layout tab I typically get 16. But the plot scale is not set at 1:1...very odd


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 4 of 4

paullimapa
Mentor
Mentor

Definitely a bug:

BUG:2932 - AutoCAD Customer Council (autodesk.com)


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes