Anuncios

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

Uniform Scale in Insert dialog

Anonymous

Uniform Scale in Insert dialog

Anonymous
No aplicable

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 !

Responder
Soluciones aceptadas (1)
588 Vistas
4 Respuestas
Respuestas (4)

Muhammed.OPERA
Advisor
Advisor

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

0 Me gusta

imadHabash
Mentor
Mentor

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

0 Me gusta

chriscowgill7373
Advisor
Advisor

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.

0 Me gusta

vladimir_michl
Advisor
Advisor
Solución aceptada

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