See the top rated post in this thread. Click here

Results 1 to 7 of 7

Thread: Set Survey Database Defaults with LSP

  1. #1
    Member
    Join Date
    2012-05
    Posts
    13
    Login to Give a bone
    0

    Default Set Survey Database Defaults with LSP

    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.

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: Set Survey Database Defaults with LSP

    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

  3. #3
    Member
    Join Date
    2012-05
    Posts
    13
    Login to Give a bone
    0

    Default Re: Set Survey Database Defaults with LSP

    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".

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: Set Survey Database Defaults with LSP

    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

  5. #5
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    1

    Default Re: Set Survey Database Defaults with LSP

    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

  6. #6
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    1

    Default Re: Set Survey Database Defaults with LSP

    Quote Originally Posted by BlackBox View Post
    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
    That's a great solution. It saves having the user from editing 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

  7. #7
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: Set Survey Database Defaults with LSP

    Quote Originally Posted by Opie View Post
    That's a great solution.
    That is kind of you to say; thank you.

    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

Similar Threads

  1. Is there a way to delete a Survey Database
    By piper in forum AutoCAD Civil 3D - General
    Replies: 3
    Last Post: 2013-04-24, 05:09 PM
  2. 2013: Setting Defaults for Survey Figure Style Creation
    By caddcop in forum AutoCAD Civil 3D - General
    Replies: 2
    Last Post: 2013-04-09, 09:41 PM
  3. Survey database Project Association
    By Wish List System in forum Civil 3D Wish List
    Replies: 0
    Last Post: 2011-11-16, 09:29 PM
  4. Delete Survey Database Connections
    By nightNday in forum AutoCAD Civil 3D - Survey
    Replies: 2
    Last Post: 2010-11-24, 05:27 PM
  5. Renumber survey database points
    By Glenn Pope in forum AutoCAD Civil 3D - Survey
    Replies: 3
    Last Post: 2010-10-26, 10:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •