Invisible objects in the AutoCAD,
I’m not sure if there is any chance that some objects in the AutoCAD that can be invisible (other than turning off their layers).
In the attached CAD file, I wanted to convert the hatches to polygons using the FME software. The issue is that the converted polygons does match what we see in the AutoCAD file (attached).
I’m advised by the FME experts that some objects in the AutoCAD can be invisible while the FME displays them.
I’m wondering if there is a command in the AutoCAD or lisp file that can take of this issue. “Recover” has no effect in this case.
Thank you
Best
Jamal
Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Hi,
>> some objects in the AutoCAD can be invisible
Possible, but then there has to be an app that turns them to invisible, because there is no command OTB that can do that.
You need LISP or other programming language to do that ... but in this drawing I don't find any invisible objects.
In your screenshots it looks like there are some hatches in brown color showing streets (that are not in the DWG you uploaded) and others in the same color overlapping other polygons ... and it might be a problem in the type of AutoCAD hatch setting "Normal Island Detection" ==> most of the converter into/from GIS-systems have a problem with that setting as it's untypical (unknown) for GIS (GIS knows islands, but not islands of islands as that are other polygons then). You might try to change them to "Outer Island Detection" and run then again the converter with that hatches.
- alfred -
Thank you very much Alfred for the valuable input.
Let’s take another obvious example: If the attached CAD file is open from the FME software then the indicated polygons (shown in the attached screenshots) appear. This happens before invoking the FME. I just open the CAD file from the FME. But as this file is open from the AutoCAD, these polygons are not displayed.
The CAD file in completely drafted in the AutoCAD with no effects from other software. I don’t think that the issue here is relevant to the “Island”.
This is why I’m advised by the FME experts to apply some lisp files that can DETECTS such invisible objects and delete them.
I have already applied “recover” and “purge” with no luck to delete these “dirty” invisible obejcts.
FME software
Hi,
there are no invisible objects in the drawing, the borders you show look like extents of text objects.
If you let the FME converter run, let the converter export as much info about that entity as possible, minimum should be layer and color, better is objecttype (if possible).
- alfred -
Thank you very much for the prompt help.
Please, find attached the properties\attributes of these invisible objects according to the FME.
I have no I idea how to select\display these polygons in the AutoCAD
Hi,
>> I have no I idea how to select\display these polygons in the AutoCAD
Select them: run that command
_PSELECT<ENTER>
(handent "93")<ENTER>
<ENTER>
And now (while you have them selected) change the island-detection as I suggested. You'll see that that rectangles disappear and again, GIS converters have problems with that type of island handling in CAD.
How did those rectangles get part of that hatch? I can just guess: while you created the one hatch there were some text objects active, recognized as islands and that's why the hatch has that boundaries active.
Just to make sure: that are no invisible objects, it's a visible hatch with boundaries in it.
For your future work, please don't use "Outer Island Detection" as island type when you are creating hatches that should be used in GIS later.
Greetings to FME, if you point them to this thread 😉
- alfred -
Sorry Alfred but I couldn’t figure out how to apply the Pselect\handent “93” to select the “invisible objects (attached).
Could you please elaborate a bit more
Hi,
>> I couldn’t figure out how to apply the Pselect\handent “93”
You missed the brackets!
And you should not have selected anything before you start the command.
- alfred -
Thank you very much Alfred for the massive help.
Finally I could catch the invisible objects with this magic approach (attached)
Hi,
ATTENTION: with _ERASE you have deleted a valid hatch! That rectangles are only part of a hatch!
- alfred -
Hello
When I need to search/select ACAD Entities from their Handles (that I know), I use a beautiful french routine from Gilles (gile) : ZH
Please find attached th US/English version of this ZH routine ...
Patrice BRAUD
Many thanks Alfred. I’m aware of this issue based on the valuable posts you have already provided.
Best
Jamal
Thank you very much braudpat. The lisp file works fine (attached).
Very much appreciated
Best
Jamal