Page 1 of 1
Icad 5 loses block attribute properties
Posted: Tue Nov 23, 2004 12:22 am
by J. Marsden DeLapp, PE
I opened a drawing that contains several hundred blocks that each contain 5 attributes. Most of the attributes are hidden. After saving and reopening the drawing, the attribute visibility property information was lost and now all the hidden attributes are visible.
After some testing, I confirmed that the attribute entities are changed. It is not just a display problem.
Be aware that if your drawings contain blocks with hidden attributes, Icad v5 is going to damage your drawings.
Mars
Posted: Tue Nov 23, 2004 5:16 am
by john gaunt
Have you tried saving as R14? I do that as a matter of course now, specially if someone else will be using the files. It seems to undo a few sins created in V4, don't know about V5 yet.
Posted: Tue Nov 23, 2004 2:05 pm
by J. Marsden DeLapp, PE
I tried saving as 2000 and 14 format to see what happened. Drawing files are still damaged.
Mars
Posted: Sat Dec 04, 2004 3:41 pm
by ssc
Mars,
Have you tried an audit on the drawing?
ICAD 5 has audit and recovery features.
ssc
Posted: Thu Dec 16, 2004 10:03 am
by MROCK
I have the same problem. Hidden attributes will show after saving the drawing in ICAD5 and reopening the drawing. This is really a problem! At first I was thinking of positioning the attributes on a new layer, but in the end I did write a small Lisp to hide these atributes again. I included this in my Icad.lsp, so everytime I open a drawing it will hide the atributes.
Maybe somebody can use this Lisp. It selects block and hides all attributes of thoso block, but does not hide "EXEPTION" (I have one attribute that must remain visible)
(setq i 0
ss (ssget "X" '((0 . "INSERT") (2 . "BLOCKNAME-EXAMPLO-*")))) ; especify names of blocks that contain the attributes to hide
(if ss (progn
(repeat (sslength ss) ; for each block
(setq el (ssname ss i)
ent (entget el))
(while (/= (cdr (assoc 0 ent)) "SEQEND")
(if (/= (cdr (assoc 2 ent)) "EXEPTION")
(progn
(setq ent (subst (cons 70 1) (cons 70 0) ent))
(entmod ent)
))
(setq el (entnext el)
ent (entget el))
);end while
(setq i (+ i 1))
);repeat
));enf if progn
------------------
Michael Röck
Posted: Sat Dec 18, 2004 6:50 pm
by cadmonster
A word of caution about using the lisp routine to re-hide the Attributes.
The hidden attribute problem is a problem with the ATTDISP system variable. Even though you restore the attributes "hidden" parameter, if you change the ATTDISP variable for any reason the attributes will become visible again.
Also, even though the attributes are displayed correctly in ICAD, when you save the drawing the hidden parameter setting will be corrupted again. If someone trys to open the file in AutoCAD the attributes will not be displayed correctly.
Posted: Thu Jan 20, 2005 7:53 pm
by J. Marsden DeLapp, PE
YES!
The latest updated version 5.1 seems to have fixed this problem.
Mars