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.
Solved! Go to Solution.
Solved by brian.strandberg. Go to Solution.
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
I am, thanks!
Not really interested in working with the cloud, so I guess I'll just go find them again.
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.
(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.