.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Choose feature in command

0 REPLIES 0
Reply
Message 1 of 1

Choose feature in command

Hello, World! 

I have a problem: I have a CommandMethod bind to method below. In that method i call ChooseFeature to pick Feature from the Map.

I run the command, but Notification window appears and says that Map 3D has active command and cancel.

 

[CommandMethod("OPEN_VALVE")]
public void IncidentAnalystExecute()
{
      bool res = StaticApplicationPlugIn.StaticDocument.Map.ChooseFeature(...);
}

 

What's the problem ?

 

0 REPLIES 0

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost