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: 

Linking ObjectId with MgSelectionBase

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
467 Views, 2 Replies

Linking ObjectId with MgSelectionBase

Is there a way that I can find layer (MgLayerBase), className and other FDO information of feature through ObjectId?

How can I link MgSelectionBase feature with ObjectId

 

Thanks

 

 

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Hi,

 

Did you check the following functions ?

 

MgLayerBase::GetName()

MgLayerBase::GetFeatureClassName()

 

I am not very clear about your statement on "through ObjectId? ". What ObjectId you are referring here ?

Is this MgLayerBase::GetObjectId() ?

 

Thanks,

 

Message 3 of 3
Anonymous
in reply to: Anonymous

Take a look at AcMapFeatureEntityService 

 

There's a method (GetFeatures?) to get an MgSelectionBase object from a collection of AutoCAD object ids

 

- Jackie

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

Post to forums  

Autodesk Design & Make Report

”Boost