TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Matt__W on August 10, 2011, 04:36:08 PM

Title: AecDwgSetup scale
Post by: Matt__W on August 10, 2011, 04:36:08 PM
Trying to get back to my LSP roots.

I'd like to change the scale in the AECDWGSETUP dialog box, but I don't know what the sysvar is?  Anyone??!?


(Arch/MEP 2011)
Title: Re: AecDwgSetup scale
Post by: Matt__W on August 10, 2011, 04:45:47 PM
I think I can get away with using -AECDWGSETUP and go through the command line options.

But just for future reference, what IS the sysvar for the aec scales?
Title: Re: AecDwgSetup scale
Post by: BlackBox on August 10, 2011, 06:29:56 PM
I think I can get away with using -AECDWGSETUP and go through the command line options.

But just for future reference, what IS the sysvar for the aec scales?

Matt,

I'm not that familiar with MEP, so I'm unsure of what SysVar(s) may be available to you there, but I can tell you that Land Desktop used a block named ADCADD_ZZ which held this sort of 'project' data.

Perhaps the 2011 version will offer you more feature functionality... Try digging through SYSVDLG command.
Title: Re: AecDwgSetup scale
Post by: BlackBox on August 10, 2011, 06:31:40 PM
Found this (http://www.autodesk.es/adsk/servlet/item?siteID=123112&id=15307081) in a quick search.
Title: Re: AecDwgSetup scale
Post by: alanjt on August 10, 2011, 06:34:06 PM
The AECC settings won't be in the sysvdlg.
Title: Re: AecDwgSetup scale
Post by: BlackBox on August 10, 2011, 06:37:11 PM
Perhaps the 2011 version will offer you more feature functionality... Try digging through SYSVDLG command.

The AECC settings won't be in the sysvdlg.

Thanks for clarifying; I wasn't sure.
Title: Re: AecDwgSetup scale
Post by: alanjt on August 10, 2011, 08:13:58 PM
Perhaps the 2011 version will offer you more feature functionality... Try digging through SYSVDLG command.

The AECC settings won't be in the sysvdlg.

Thanks for clarifying; I wasn't sure.
No problem. I like the new snazzy avatar.
Title: Re: AecDwgSetup scale
Post by: Matt__W on August 11, 2011, 08:15:43 AM
I'm sure JB would know but I haven't seen him around here in a while.
Title: Re: AecDwgSetup scale
Post by: irneb on August 11, 2011, 09:33:07 AM
I'm not sure about MEP, but in ACA this info is saved into a dictionary: AEC_VARS under the namedobjdict. This is in turn also a dictionary with an item called AEC_VARS_DWG_SETUP ... but doing an entget or even a vlax-dump-object on it gives absolutely no info whatsoever.

I think it's the same problem as RenderMan's mentioned in other posts: No way to get at these Verticals' data without DotNet/ARX. Painful aint it?
Title: Re: AecDwgSetup scale
Post by: Matt__W on August 11, 2011, 09:49:56 AM
Nothing is jumping out at me at the moment.  :\

This is what dbview shows.
Title: Re: AecDwgSetup scale
Post by: irneb on August 11, 2011, 10:02:46 AM
Did basically the same thing through my old DictEdit lisp:


Title: Re: AecDwgSetup scale
Post by: JohnK on August 11, 2011, 11:02:53 AM

Code: [Select]
Command: cannoscale
Enter new value for CANNOSCALE, or . for none <"1/8" = 1'-0"">: 1/4\" = 1'-0\"
Command: cannoscale
Enter new value for CANNOSCALE, or . for none <"1/4" = 1'-0"">: 1/8" = 1'-0"

...

(getvar 'CANNOSCALEVALUE)
(/ 1 (getvar 'CANNOSCALEVALUE))
Title: Re: AecDwgSetup scale
Post by: BlackBox on August 11, 2011, 12:00:05 PM
Perhaps the 2011 version will offer you more feature functionality... Try digging through SYSVDLG command.

The AECC settings won't be in the sysvdlg.

Thanks for clarifying; I wasn't sure.
No problem. I like the new snazzy avatar.

Thanks!  :-D
Title: Re: AecDwgSetup scale
Post by: Jeff H on August 11, 2011, 12:11:43 PM
Are talking about the default value for new drawings?
 
Change it in the dialog box and click the
Save as default
 
I think you set one up for metric and imperial