AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ade_qrygetentlist in .NET

2 REPLIES 2
Reply
Message 1 of 3
tint
475 Views, 2 Replies

ade_qrygetentlist in .NET

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

2 REPLIES 2
Message 2 of 3
Alfred.NESWADBA
in reply to: tint

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
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 3
tint
in reply to: Alfred.NESWADBA

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.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost