PDA

View Full Version : MI Interface - Display Attribute


Gerard Leclercq
01-30-2007, 01:38 AM
Since somebody loaded a dwg file that was not done on Autocad but on a special building CAD system, some of our MI files are "polluted" with entities which are not visible.

When selecting visible entities, some unvisible entities are selected as well. This turns the drawing size to grow abnormally.

The unvisible entities are "normal" MI entities, such as line and text, but which cannot be seen with the SHOW function.

I find in the MI file, that the display attribute (the fifth for LIN and TEX) is set to 1 for the unvisible entities, and 0 for the "normal" visible entities. See below and in the complete MI file attached.

I did not find any OSDDrafting function or command that could make these entities visible, and consequently, deletable.

Has anyone any idea ?
Thanks in advance

Unvisible entitie exemple :
LIN
12
7
0
0
1 <== Display attribute
3
2
3
4
9
10
|~

Visible entitie exemple :
LIN
13
7
0
0
0 <== Display attribute
3
2
3
4
9
11
|~

Yannick Rouat
01-30-2007, 11:46 PM
Hello

Look the SHOW_INV_GEO command.


---->(SHOW_INV_GEO)------+-------->--------+------(CONFIRM)---->
| |
+--->(SUBTREE)----+
| |
+--->(GLOBAL)-----+


To delete this invisible entities, use
DELETE SELECT INFOS 'INVISIBLE' CONFIRM END

Regards

Gerard Leclercq
01-31-2007, 03:42 AM
Thank you very much, it works fine.

Gerard Leclercq
01-31-2007, 05:27 AM
I have another problem with these invisible entities.
After executing :

SHOW_INV_GEO GLOBAL CONFIRM
DELETE SELECT GLOBAL INFOS 'INVISIBLE' CONFIRM END

When I store in dwg, I get an empty file (0 byte).

If I store in mi, then DELETE ALL CONFIRM, then load this mi file, then store in dwg, it is correct.

What happens ?

Yannick Rouat
02-01-2007, 04:20 AM
I make a test with your file and haven't problem.

I use drafting 14.50