Skip to main content

SetActiveTool: name of rectangle identify?

Comments

4 comments

  • Tom Neer
    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
  • Permanently deleted user
    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
  • Permanently deleted user
    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
  • Permanently deleted user
    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.