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

"INSERT" favorites tab

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
dhenderhan
330 Views, 5 Replies

"INSERT" favorites tab

Does anyone know how to import blocks to the favorites/libraries tab on 'INSERT' from previous versions? I found the path from previous version install and tried to copy the block dwg's to the current version install folder, but it didn't take.

Thanks,

David E. Henderhan, PLS
Civil 3D 2025
Dell Precision 3660 - Windows 10 Pro 64-bit
Intel (R) RTX A2000
12th Gen Intel(R) Core(TM) i7-12700 2.10 GHz
128 GB ram
Labels (1)
5 REPLIES 5
Message 2 of 6

I assume you are referencing the blocks palette with the INSERT command (thought you meant the insert ribbon menu for that).

Autodesk has a workflow for that posted here: https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-7D4C6A3E-A942-4BA2-BCCA-AAF842A7F17F

Check out my Civil 3d blog at: http://c3dk.com/
Favorite Posts: Use Dynamo For Surface Analysis: https://youtu.be/eJNdX6guMP8
Fast Track your site grading with the new Corridor Workflow: https://youtu.be/Gg7u9-LgIL0
Message 3 of 6

I am, thanks!

 

Not really interested in working with the cloud, so I guess I'll just go find them again.

Thanks,

David E. Henderhan, PLS
Civil 3D 2025
Dell Precision 3660 - Windows 10 Pro 64-bit
Intel (R) RTX A2000
12th Gen Intel(R) Core(TM) i7-12700 2.10 GHz
128 GB ram
Message 4 of 6
rgrainerVXXAM
in reply to: dhenderhan

How many block are in your favorites location?

Message 5 of 6
dhenderhan
in reply to: rgrainerVXXAM

Well, it appears that in my attempt to copy the directory over, I've wiped out the favorites in the old version as well, so I'm not sure. probably a dozen or so, but no biggie.

Thanks,

David E. Henderhan, PLS
Civil 3D 2025
Dell Precision 3660 - Windows 10 Pro 64-bit
Intel (R) RTX A2000
12th Gen Intel(R) Core(TM) i7-12700 2.10 GHz
128 GB ram
Message 6 of 6
rgrainerVXXAM
in reply to: dhenderhan

(defun getmymodalz ()
 (setq orthm (getvar "orthomode"))
  (setq osmod (getvar "osmode"))
   (setvar "osmode" 0)
    (setq osz (getvar "OSNAPZ"))
    (setq clay (getvar "clayer"))
   (setq cecho (getvar "cmdecho"))
  (setvar "cmdecho" 0)
 (princ)
)



(defun resetmymodalz ( )
 (setvar "cmdecho" cecho)
  (setvar "osmode" osmod )
   (setvar "orthomode" orthm)
  (setvar "clayer" clay)
  (setvar "OSNAPZ" osz)
  (setvar "cmdecho" 1)
 (princ)
)

(defun lay-favorite-maker ()
	(if(= nil (tblsearch "layer" "company-favorite"))
      (command "-layer" "m" "company-favorite" "c" "6" "company-favorite" "LT" "HIDDEN2" "company-favorite" "")
      (command "-layer" "set" "company-favorite" "")
    )
 (princ)
)



(defun c:fave1 ( / isc ipt)
 (getmymodalz) 
 (setq isc (/ 1 (getvar "cannoscalevalue")))
 (setq ipt (getpoint "\nSpecify fave one Insertion point?:"))
 (prompt "\nRotation Angle")
 (lay-favorite-maker)
 (command "-insert" "fave1" ipt isc "" pause "" "")
;; (command "explode" "l" )
;; (command "ddatte" "l")
 (resetmymodalz)
 (princ)
)

It's a little later and you've probably fixed your issue, but here's something for you to try as a work around or alternative method for getting to your favorites.

Either create a block named fave1 or change the name of the block that is being used in the code to one of your existing blocks. 
(command "-insert" "fave1"

 

if this is acceptable, then just make a copy of the code and create 11 more fave programs name them all the way you want

 

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

Post to forums  

Rail Community


Autodesk Design & Make Report