How I get with visual basic the entity, which is at the top?

How I get with visual basic the entity, which is at the top?

Anonymous
Not applicable
326 Views
4 Replies
Message 1 of 5

How I get with visual basic the entity, which is at the top?

Anonymous
Not applicable
Hello,
I have get a drawing from a 3D-cad-program as a dwg-file.
Some entities (circles, lines... ) are several one on top of the other
(visible border and may invisible border).

How I get with visual basic the entity, which is at the top? So I can the
other entities delete.

Thanks.

Hartmut Callies
0 Likes
327 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
you might be able to use the Handle property. i don't know how reliable it
would be though, but it seems that it increments with each new entity that
is generated so you the highest value would be last entity drawn [or the one
on top].

"Hartmut Callies" wrote in message
news:5428591@discussion.autodesk.com...
Hello,
I have get a drawing from a 3D-cad-program as a dwg-file.
Some entities (circles, lines... ) are several one on top of the other
(visible border and may invisible border).

How I get with visual basic the entity, which is at the top? So I can the
other entities delete.

Thanks.

Hartmut Callies
0 Likes
Message 3 of 5

Anonymous
Not applicable
Hi,

The Handle order does not seem a likely candidate as an indicator of draw
order.

Surely if you delete all but one of these entities, it won't matter which
one is left. It will still display in your plot.

--

Laurie Comerford
CADApps
www.cadapps.com.au
www.civil3Dtools.com
"Bob" wrote in message
news:5428710@discussion.autodesk.com...
you might be able to use the Handle property. i don't know how reliable it
would be though, but it seems that it increments with each new entity that
is generated so you the highest value would be last entity drawn [or the one
on top].

"Hartmut Callies" wrote in message
news:5428591@discussion.autodesk.com...
Hello,
I have get a drawing from a 3D-cad-program as a dwg-file.
Some entities (circles, lines... ) are several one on top of the other
(visible border and may invisible border).

How I get with visual basic the entity, which is at the top? So I can the
other entities delete.

Thanks.

Hartmut Callies
0 Likes
Message 4 of 5

Anonymous
Not applicable
perhaps it's not the plot the poster is concerned with.

"Laurie Comerford" wrote in message
news:5429284@discussion.autodesk.com...
Hi,

The Handle order does not seem a likely candidate as an indicator of draw
order.

Surely if you delete all but one of these entities, it won't matter which
one is left. It will still display in your plot.

--

Laurie Comerford
CADApps
www.cadapps.com.au
www.civil3Dtools.com
"Bob" wrote in message
news:5428710@discussion.autodesk.com...
you might be able to use the Handle property. i don't know how reliable it
would be though, but it seems that it increments with each new entity that
is generated so you the highest value would be last entity drawn [or the one
on top].

"Hartmut Callies" wrote in message
news:5428591@discussion.autodesk.com...
Hello,
I have get a drawing from a 3D-cad-program as a dwg-file.
Some entities (circles, lines... ) are several one on top of the other
(visible border and may invisible border).

How I get with visual basic the entity, which is at the top? So I can the
other entities delete.

Thanks.

Hartmut Callies
0 Likes
Message 5 of 5

Anonymous
Not applicable
'SelectAtPoint' method of a Selection Set returns
the top most item.


"Bob" wrote in message
news:5431456@discussion.autodesk.com...
perhaps it's not the plot the poster is concerned with.

"Laurie Comerford" wrote in message
news:5429284@discussion.autodesk.com...
Hi,

The Handle order does not seem a likely candidate as an indicator of draw
order.

Surely if you delete all but one of these entities, it won't matter which
one is left. It will still display in your plot.

--

Laurie Comerford
CADApps
www.cadapps.com.au
www.civil3Dtools.com
"Bob" wrote in message
news:5428710@discussion.autodesk.com...
you might be able to use the Handle property. i don't know how reliable it
would be though, but it seems that it increments with each new entity that
is generated so you the highest value would be last entity drawn [or the one
on top].

"Hartmut Callies" wrote in message
news:5428591@discussion.autodesk.com...
Hello,
I have get a drawing from a 3D-cad-program as a dwg-file.
Some entities (circles, lines... ) are several one on top of the other
(visible border and may invisible border).

How I get with visual basic the entity, which is at the top? So I can the
other entities delete.

Thanks.

Hartmut Callies
0 Likes