Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing File Path Locations

2 REPLIES 2
Reply
Message 1 of 3
dkaven
226 Views, 2 Replies

Changing File Path Locations

I'm looking for a way to change the file path locations for the Survey Figure Prefix Lib. Etc, so to location the Fig Lib stc to a network drive. In LDT I was able to change the DFM file and or use the user preferences.

Thanks

D
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: dkaven

These are stored in the registry and are Profile dependent.

HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.1\ACAD-6000:409\Profiles\PROFILENAME\Preferences\AeccUiSurvey50\

FigurePrefixDbPath
FigurePrefixDbName

Now, you can change them in C3D: Survey menu -> Edit User Settings
You can change them via the Registry Editor
You can change them with code (VBA shown)

Sub EditSurveyPaths()
Dim AeccApp As AeccSurveyApplication
Dim AeccDoc As AeccSurveyDocument
Dim oSettings As AeccSurveyUserSettings
Dim strNewPath As String

strNewPath = "C:\Test\"
Set AeccApp =
Application.GetInterfaceObject("AeccXUiSurvey.AeccSurveyApplication.5.0")
Set AeccDoc = AeccApp.ActiveDocument

Set oSettings = AeccDoc.GetUserSettings
oSettings.FigurePrefixDatabasePath = strNewPath
AeccDoc.UpdateUserSettings oSettings

End Sub



"The D" wrote in message news:5855838@discussion.autodesk.com...
I'm looking for a way to change the file path locations for the Survey
Figure Prefix Lib. Etc, so to location the Fig Lib stc to a network drive.
In LDT I was able to change the DFM file and or use the user preferences.

Thanks

D
Message 3 of 3
dkaven
in reply to: dkaven

Jeff,

Thanks for the info. I'm starting dig into Civil 3d.

Thanks
D

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report