Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where is GFXDX12 setting stored? (AutoCAD 2024)

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
dmfrazier
341 Views, 5 Replies

Where is GFXDX12 setting stored? (AutoCAD 2024)

I had the impression that GFXDX12 was a "global" setting (not profile-dependent), but recently I have noticed that it changes when switching profiles, which suggests that it is profile-dependent.

I wonder if anyone here knows where the setting is stored.

5 REPLIES 5
Message 2 of 6
h_s_walker
in reply to: dmfrazier

It's in the registry. I only have myself as a user so I don't know if there would be another one for another user, but see the image below

h_s_walker_0-1728650973452.png

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 3 of 6
dmfrazier
in reply to: h_s_walker

I appreciate your response, Howard, but I think this cannot be where it is stored. I found this in the registry, too, but none of these values (mine match yours) change when the GFXDX12 command is used to change the value. This registry key seems to be storing some sort of "default" for the application (perhaps on first launch and/or after a reset?) as well as some other "parameters" regarding the variable.

It seems there must be some other place where the current setting is stored for each profile (or at least for some of them).

When I do a registry search for "GFXDX12", I find one other instance, beneath a particular AutoCAD "profile" name that I know was current when I executed the GFXDX12 command and changed the variable from 1 (default) to 0 (zero). There, it does show the value as 0.

Yet, there are other AutoCAD 2024 profiles (the "unnamed" one and others I created) in the registry under which "GFXDX12" does not appear at all.

So, based on that, what seems to be happening is that for each profile, the setting "defaults" to 1 unless the GFXDX12 command is used to change it to 0. Then, the key is added to the registry under the current profile (as a way to "override" the default setting, I assume).

However, if I execute the GFXDX12 command again to change the variable from 0 to 1 and then close and re-start AutoCAD, the value of that registry key does not change to 1 (or get removed from the registry).

It's confounding!

Message 4 of 6
dmfrazier
in reply to: dmfrazier

I think I have it figured out (in case it matters to anyone other than me).

This is the registry key that stores the value of the variable if it is not the default:

 

Computer\HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R24.3\ACAD-7101:409\Profiles\CustomProfileA\Variables

 

(CustomProfileA is the profile that was current when the setting was changed by running the GFXDX12 command.)

 

I was mistaken earlier. *GFXDX12 shows up in the list of "Variables" only if the value has been set to a non-default value. If you set it back to the default value, the key is removed.

Message 5 of 6
LDShaw
in reply to: dmfrazier


You found it before I could post. Since you can't delete a post here it is.

Not sure it helps. 
sysvdlg then save and see where it puts it.
gfx.png

Controls whether certain prompts are issued.

Value Description
0 Issues all prompts normally.
1 Suppresses "About to regen, proceed?" and "Really want to turn the current layer off?" (-LAYER)
2 Suppresses the preceding prompts and "Block already defined. Redefine it?" (-BLOCK) and "A drawing with this name already exists. Overwrite it?" (SAVE or WBLOCK).
3 Suppresses the preceding prompts and those issued by the LINETYPE Command prompt (-LINETYPE) if you try to load a linetype that's already loaded or create a new linetype in a file that already defines that linetype.
4 Suppresses the preceding prompts and those issued by UCS Save and VPORTS Save if the name you supply already exists.
5 Suppresses the prompt, "That name is already in Use, redefine it?" issued by the -DIMSTYLE Save option when you supply the name of an existing dimension style. Suppresses the same prompt issued by the -SCALELISTEDIT Add option.

When a prompt is suppressed by EXPERT, the operation in question is performed as though you entered y at the prompt.

NOTE: Setting EXPERT can affect scripts, menu macros, AutoLISP, and the command functions.
gfx2.png

Message 6 of 6
dmfrazier
in reply to: LDShaw

GFXDX12 does not appear in sysvdlg. (It's not "really" a system variable.)

What is showing in your image is the information pertaining to the "EXPERT" variable, which must be what was displaying before you typed GFXDX12 in the search field (and it found nothing).

 

Thanks for trying. 🙂

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report