Lisp Routine for setting The pipe network catalog

Lisp Routine for setting The pipe network catalog

ChilesConsulting
Contributor Contributor
13,990 Views
22 Replies
Message 1 of 23

Lisp Routine for setting The pipe network catalog

ChilesConsulting
Contributor
Contributor

Can some take a look at this for me and tell me what I am doing wrong.

 

;;** Sets the Path for Pipes **
(setq pipecatpath1 (vla-registry-read "HKEY_CURRENT_USER\\Software\\Autodesk\\AutoCAD\\R19.1\\ACAD-D000:409\\Profiles\\<<C3D_Imperial>>\\Preferences\\AeccUiNetwork100\\16C49365-B844-484b-92CE-9A8ACE681B57))
(if (/= pipecatpath1 "C:\\ProgramData\\Autodesk\\C3D 2014\\enu\\Pipes Catalog\\US Imperial Pipes\\US Imperial Pipes.apc")
(vla-registry-write "HKEY_CURRENT_USER\\Software\\Autodesk\\AutoCAD\\R19.1\\ACAD-D000:409\\Profiles\\<<C3D_Imperial>>\\Preferences\\AeccUiNetwork100\\16C49365-B844-484b-92CE-9A8ACE681B57"
"pipecatpath1" "L:\\Resource Library\\Cad\STANDARDS\\Civ\\Pipes_Catalog\\US Imperial Pipes\\US Imperial Pipes.apc")

 

;;** Sets the Path for Structures **
(setq pipecatpath2 (vl-registry-read "HKEY_CURRENT_USER\\Software\\Autodesk\\AutoCAD\\R19.1\\ACAD-D000:409\\Profiles\\<<C3D_Imperial>>\\Preferences\\AeccUiNetwork100\\DCE203A2-D381-466f-A23E-08A9D9F8FDBD))
(if (/= pipecatpath2 "C:\\ProgramData\\Autodesk\\C3D 2014\\enu\\Pipes Catalog\\US Imperial Pipes\\US Imperial Structures.apc")
(vl-registry-write "HKEY_CURRENT_USER\\Software\\Autodesk\\AutoCAD\\R19.1\\ACAD-D000:409\\Profiles\\<<C3D_Imperial>>\\Preferences\\AeccUiNetwork100\\DCE203A2-D381-466f-A23E-08A9D9F8FDBD"
"pipecatpath2" "L:\\Resource Library\\Cad\STANDARDS\\Civ\\Pipes_Catalog\\US Imperial Pipes\\US Imperial Structures.apc")

0 Likes
Accepted solutions (1)
13,991 Views
22 Replies
Replies (22)
Message 21 of 23

redtransitconsultants
Collaborator
Collaborator

Could it be that the Metric folders aren't in there at all? Just thinking out of the box a bit... sometimes if things don't work properly I try to go back to the default structure Autodesk had and start from there to resolve the issue.

Steve Hill,Civil Designer / .NET Developer / AutoCAD and AutoCAD Civil 3D Certified Professional
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn | YouTube

0 Likes
Message 22 of 23

C3DJAKE
Enthusiast
Enthusiast

SetPipeNetworkCatalogDialogue.PNGSetPipeNetworkCatalogDialogueDrop.pngI added the Metric folders back to Pipe Catalog folder, but no luck! The default is still blank.

Might be time to start the folder over again, as you suggested...

0 Likes
Message 23 of 23

cyberflow
Advisor
Advisor

@redtransitconsultants & @C3DJAKE :
Funny thing, i'm looking to find out why my C3D leaves me blanks when i open that Set pipe network catalog settings

Did you folks found any reasons why it doesn't show the correct catalog selected ?

Frank Freitas

CAE/CAD/BIM Coordinator & Support Specialist

LinkedIn
0 Likes