• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

risolvere problemi con anteprime blocchi in windows 7 con autocad 2012

  • Thread starter Thread starter dragon36
  • Start date Start date

dragon36

Guest
Hello everyone, I'm usually a passionate but not "writer". ..why, since I really found myself in the pastries today and being quickened almost 2 hours on how to solve this boring problem, I write my staff and twisted solution, since it can become a problem opening a folder with 70 blocks and seeing the preview.
phase 1; problem: from what I understood autocad by itself is not able to display to seven (or view) previews of some files too old, blocks or drawings saved in visualization "layout". so if we need to give only one peek among our blocks, this can become a serious scratch.
phase 2; requisiti:provided that the operation I am about to explain is mooooolto empirical and requires a machine that still has a certain power, personally on an i7 core with 8gb of ram and a ssd I took about 1 minute to fix 80 designs.
phase 3; if part!then, just say the premises, let's first say to autocad to delete the problem "layout" (and so doing we automatically create an open design modification... follow me?) looking for the file:
acad20xxdoc.lsp (where "xx" is the version, example: acad2012doc.lsp)

(for autocad 2012 is located in: "c:\program files\autodesk\autocad 2012 - italiano\support" )

we open it (it will open with note block, if during the installation you did not choose a different editor) and scrolling to the bottom we paste the following full string:
(setvar "ctab" "model")Let's save. (if not saved for system protection, such as view or seven, save on desktop and then manually replace it in the source folder)

with this operation we simply forced autocad to open every design in "model" instead of "layout"

Now we select a number of ready-made blocks to the power of our machine and open them (or by pressing on or dragging them into the empty autocad window, without open drawings(not even drawing1!)

after you have opened all and magically in "model" just close with the x red autocad and, keeping the mouse in the space where the rescue prompt appears, always click on "yes".

Let's go see in the folder and...voilà! all previews!

Unfortunately I searched for scripts to automatically close and save all open drawings at once but the only thing I found is this:
(command "_vbastmt" "thisdrawing.close, false")which by the way only works if you have installed the vba plugin (well 198mb...) and only works with the open current design, and not the back ones.

are well accepted improvements, perhaps it has already been solved this problem, but having not found answers in the first half hour of search on the internet, I have refined the ingenuity (mechanical ahahahahaha) and I have proposed a very simple solution...that say, hello to all!

:smile:
 
I'm sorry, I didn't look that hard. Thanks to the advice ^^ this will remain the advice for those who do not know anything... or if you want to remove it do as well :)
 
at the limit, if you go ahead, try with this:

the program opens an autocad session in the background and loads one at a time all the designs in the selected folder, saving them.

from the command line: (load "salvablo")

Save
 

Attachments

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top