- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Thats clarified your point of view, thank you.
I read your explanation and looked at it once. However, I don't know problems in this regard.
Can you write something "against" the following statements that are reproducible for others?
1. The Acad2018doc.lsp is first searched in the *supportfolder (Standard=C:\\Program Files\\Autodesk\\AutoCAD 2018\\Support)
- By default there is no acad2018doc.lsp included in that Folder.
But you could create it or change the *supportfolder Path and it will be loaded from there regardless of the language version.
Problems with autoload/3DARRAY should not appear, because in file acad2018doc is a simple lisp (findfile "3DARRAY") statement - inside function "ai_ffile",
so it is unimportant where the currently loaded acad2018doc is located.
2. If no acad2018doc.lsp is found in *supportfolder Acad will search for it
in **supportfolderlang (Standard=C:\\Program Files\\Autodesk\\AutoCAD 2018\\Support\\<UILOCALE> - for example you start french Acad \\fr-fr
3. If no acad2018doc.lsp is found in *supportfolder and not in **supportfolderlang, searching for the systemfile acad2018doc stopped.
Explanation: *SupportFolder and **SupportFolderLang RegistryKeys
That Registry-Keys dependent of running language-version of Autocad:
de-de HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R22.0\ACAD-1001:407
en-us HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R22.0\ACAD-1001:409
aso...
You can change them during a session because Acad check the value(path information) on demand during a program session.
(but I would say, no changes are needed)
(defun getMAINPATH (? / PATH)
(if (and ?
(setq PATH (strcat "HKEY_CURRENT_USER\\" (vlax-user-product-key)))
(member (strcase ?) (mapcar 'strcase (vl-registry-descendents PATH T)))
)
(vl-registry-read PATH ?)
)
)
Befehl: (getMAINPATH "SupportFolder")
"C:\\Program Files\\Autodesk\\AutoCAD 2018\\Support\\"
Befehl: (getMAINPATH "SupportFolderLang")
"C:\\Program Files\\Autodesk\\AutoCAD 2018\\Support\\de-de"
I hope this help clarify my point of view anf if you can write something "against" the statements(reproducible for others), please let me know.
EDIT/in addition: Which language version is loaded is controlled by the commandline parameter / language, for example with an DesktopLink Start-Icon
Or if you start Acad without / language parameter, then the last used language version should be started (also registry key entry)
Sebastian
Sebastian