Select to view content in your preferred language

How to enable Map tools when we select only Annotation Feature from Create Features window in ArcGIS pro SDK

724
1
05-24-2021 11:36 PM
sudhansuMishra
Emerging Contributor

We are working on a project using ArcGIS Pro SDK. The following is the problem statement.

User wishes to enable  map tools in ArcGIS Pro Add-In , when user select only Annotation Feature Class from Create Features Window.

EX - We used below condition in config.dmal file for Line features. condition="esri_editing_LineSketch_condition" 

Similarly we need condition that work for Annotation Feature Class. 

Your inputs/ideas are most appreciated .

Tags (1)
0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

you could probably make one. Something like....

 

<dependencies>
<dependency name="Editing.daml" />
</dependencies>

 

<conditions>

<insertCondition id="my_AnnoSketch_condition">
      <state id="esri_editing_annoSketching"/><!-- this state is defined in Editing.daml -->
</insertCondition>

0 Kudos