Anyone know of a way to set the Survey Database default paths with a lisp file?
Right now we have to set it on every computer so that it is not set to international feet etc. and it would so much easier to run a lisp to set this.
|
Anyone know of a way to set the Survey Database default paths with a lisp file?
Right now we have to set it on every computer so that it is not set to international feet etc. and it would so much easier to run a lisp to set this.
I believe this is what you're after:
https://civil3dplus.wordpress.com/20...base-settings/
Cheers
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
I do have that part set up. I was hoping to have a lisp that could set the "survey database settings path" and set the "survey database setting" to the setting I already have created without having to open the "survey user settings".
Here is one way using a registry export. This explains how to do the export and then a subsequent batch file for importing the registry on user login. Please follow the obligatory warning of modifying the Registry as posted on that page.
The data you seek is stored in the active profile within the registry. Therefore, one could automate this task with AutoLISP / Visual LISP with a little detective work. I am not certain these changes would take effect during the current session of AutoCAD.
One could utilize this code to access the registry location for the active profile. The necessary data is then found in one of the branches of the Preferences found in the Profile section of the registry.
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
Forgive my question, as I do not use Survey DB with my current employer -
If the Survey DB Settings are Registry saved, and located within the applicable Profile, why not just configure your production Profile, and export the .ARG for other users to consume?
If after having rolled out a given production Profile, simply replace it (via delete/re-import); then your defaults are available from Drawing1, QNEW, etc, no?
Cheers
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000