Do you have any idea how I can write some text on a curved surface? Also I am having some problem with the imprint command... When I imprint something onto a surface, it increases my file size to a large extend............... Could you please give me some suggestions???????????
In addition to what was said, one thing we found that really balloons filesize is layer filters. If you are unaware because you never use them like was the case with us, they get compounded every time something gets copied into a drawing. We could delete all entities, purge, save, and still have an "empty" drawing that was nearly 1MB. Some drawings from customers had literally a thousand layer filters. Someone from these boards was kind enough to show us how to get rid of layer filters easily. We put this in the startup lisp so it runs with every drawing.
(defun C:LFD ()
(vl-Catch-All-Apply '(lambda ()
(princ "\nAll layer filters have been deleted.")
1. Purge everything you can (layers, blocks, etc... everything in the list)
2. Delete reg. apps, -purge > r > enter > no
3. Even though I've been told that blocks help reduce file size, I've found it to be the complete opposite, so not sure why people tell me this... so get rid of blocks (burst or explode) (use burst if you have attributes in it that you want to keep (you need Express tools to use this)) Think of it this way, a block is a group, and group name and selection must be stored to retain that info, which means file size increases... It never works the other way around.. Add complexities, reduces file size? lol no.
4. Save the file unshaded, may not help with file size but at least with load speed.
5. Recoveries do help, but no guarantee.
6. One thing we do is use a .CTB file for plotting, and not the .STB. This might also help, since you won't have to store line thickness to items/layers, instead it's the color that dignifies its plot thickness, and that's stored in a different file (the .ctb). Never tried this so don't take my word for it... meaning don't go all out on this and find out it doesn't work... test it first.
7. Faces.... Bad. Bad Bad. Use solids whenever possible, and this I know helps tons. (95% of my work is 3D, so take my word on this one).
8. Images... avoid. Especially PDF's.
Thats about all i could think of in 10 mins... Hope that helps the next person curious.
As per a couple of previous posters; thaw/turn on all layers and delete what is not necessary (construction lines, incidental crap) then wblocking the entire drawing is a great help. I found this to be a very handy lisp and can reduce the file size usually by half and sometimes up to 75%:
(prompt "\nAfter purguing, this drawing will close.: ")
(setvar "CMDECHO" 0)
(setvar "EXPERT" 2)
(command "QSAVE" "WBLOCK" (strcat (getvar "dwgprefix") (getvar "dwgname")) "*")
(setvar "EXPERT" 0)
(setvar "CMDECHO" 1)
(command "close" "y")
Additionally, if you audit (command prompt "audit") your drawing and type "y" when prompted with "Fix any errors detected?" before you purge it should help bring down your file size.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register