SetActiveTool: name of rectangle identify?
I want to set the rectangle identify as the active tool using a workflow (RunExternalCommand > "SetActiveTool"). I am not sure what the name of this tool is for the SetActiveTool command. Is it "RectangleIdentify," "IdentifyRectangle," something else?
Thanks for any help
0
-
It is only "Rectangle" but if I remember correctly, you need to activate "Identify" first using either "EnableAllLayersForeIdentify" or "EnableLayerForIdentify" but it takes a LayerDescriptor argument. 0 -
Thanks Tom, but I figured it out and it is simpler than you think...the tool name is the "RectangleIdentifyTool." That will get the job done with the SetActiveTool external command. 0 -
Slightly related: I came here because I was trying to find out what the command is for the measure distance tool. Similarly it is "MeasureDistanceTool". Set up the same way, where Command="SetActiveTool" and CommandParameter ="MeasureDistanceTool". Just in case anyone else stumbles across this looking for the same thing!
Is there a list of the possible Command Parameters like this somewhere?0 -
It seems we can find most Tool IDs in the Desktop.json.js file of a viewer (after adding all the tools to viewer toolbar) 0
Please sign in to leave a comment.
Comments
4 comments