ade_qrygetentlist in .NET

ade_qrygetentlist in .NET

Anonymous
Not applicable
726 Views
2 Replies
Message 1 of 3

ade_qrygetentlist in .NET

Anonymous
Not applicable

Hi all,
I recently came across DotNet samples of Map 3d 2012.
I'm looking for alternative method "ade_qrygetentlist"
using in .Net.
Execute QueryModel return only ObjectID collection of new entities
has received from source drawing .

I want to get handles of entities from attached drawing
Thanks for help.
Best regards

0 Likes
727 Views
2 Replies
Replies (2)
Message 2 of 3

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Execute QueryModel return only ObjectID collection of new entities
>> has received from source drawing .I want to get handles of entities from attached drawing

Maybe I'm not understanding correctly, but if you have the ObjectID you can get the Handle from the ObjectID, so what are you missing (or what am I missing)?

 

Look to:

ObjectID.Handle.Value

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 3

Anonymous
Not applicable

Hi,

 I found solution:

 ObjectIdCollection idCol = qryModel.Execute(drawingset);

 ObjectIdCollection idColSource= drawingset.AllAttachedDrawings[0].ApplyThisQuer(qryModel);

 In two cases I received different set of ObjectId

1) new entities has created in current drawing

2) set of entities from attached file

 

 thank you.

 

 

0 Likes