Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
590 Vistas, 4 Respuestas

Uniform Scale in Insert dialog

Which system variable controls the toggle 'Uniform Scale' in the Insert dialog ?

 

I found a lot of posts regarding 'Uniform Scale' in a block defenition.
This is NOT what I am interested in !

Muhammed.OPERA
en respuesta a: Anonymous

Hi @Anonymous

I think there isn't such system variable.

You can see the system variables concerning blocks here:

https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/AutoCAD-LT/files/GUID-91EBC702-B874-4400-83E2-B134099B2974-htm.html


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

imadHabash
en respuesta a: Anonymous

Hi,

 

>> Which system variable controls the toggle 'Uniform Scale' in the Insert dialog ? <<

There is NO system variable for this Uniform Scale .. 

Imad Habash

EESignature

chriscowgill7373
en respuesta a: Anonymous

I think it just remembers the last setting, which means there may be a registry hack you can control it with, but not necessarily a system variable.  is there a particular reason you are looking to control this box?


Christopher T. Cowgill, P.E.

AutoCAD Certified Professional
Civil 3D Certified Professional
Civil 3D 2022 on Windows 10

Please select the Accept as Solution button if my post solves your issue or answers your question.

vladimir_michl
en respuesta a: Anonymous

Its is controlled through a registry variable (value). You can preset it with a LISP code:

 

 

;enable Uni
(defun c:InsUniform ( / profile)
 (vl-load-com)
 (setq profile (vla-get-ActiveProfile (vla-get-Profiles (vla-get-preferences (vlax-get-acad-object)))))
 (vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" profile "\\Dialogs\\insert_dialog") "ScaleUniformly" 1)
)
;disable Uni
(defun c:InsNonUni ( / profile)
 (vl-load-com)
 (setq profile (vla-get-ActiveProfile (vla-get-Profiles (vla-get-preferences (vlax-get-acad-object)))))
 (vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" profile "\\Dialogs\\Layerinsert_dialogDialog") "ScaleUniformly" 0)
)

Vladimir Michl, www.cadstudio.cz  www.cadforum.cz