Robotic Process Automation (RPA)

 View Only
  • 1.  Click command doesn't work on Autodesk Revit

    Posted Mon February 13, 2023 04:26 AM

    Hi all, I am trying to make an automation by clicking on Autodesk Revit app. However, it wont click at the desired position, and I am trying to click the 'SMARTreview' button. I have tried using the recorder to map the the button, and it still won't work. Could anyone help me on this? Thanks!


  • 2.  RE: Click command doesn't work on Autodesk Revit

    Posted Fri March 03, 2023 02:22 PM

    Hi Irene,

    If you are having trouble automating clicks on Autodesk Revit, here are a few suggestion you can try to troubleshoot the issue:

    1. Use the Control Tree: If the button you are trying to map, doesn't appear to be coming back from the recorder, it may be a good time to attempt to see if you can the exact button you are attempting to click via the Control Tree. It can really help identify the correct element in the UI, and will provide you with the relevant attributes and properties
    2. Use image recognition: If the button you are trying to click on cannot be easily located using traditional UI elements, you can try using image recognition to locate the button. You can take a screenshot of the button and use the "Find Image" action in IBM RPA to locate the button on the screen.

    3. Adjust the click position: If the button is located but your automation is not clicking on the correct position, you can try adjusting the click position by specifying the X and Y coordinates of the button. You can use the "Click" action in IBM RPA to specify the X and Y coordinates of the button.

    Martin Medina
    Salient Process

  • 3.  RE: Click command doesn't work on Autodesk Revit

    Posted Sun March 05, 2023 10:28 AM

    Hi Martin,

    Thank you for the suggestions.

    For solution 1, I have mapped my control using the Control tree, however it still won't work. The error message wrote 'Couldn't find element with the element Name and Id specified', even though I got all of the element parameters from the control tree. 

    For solution 2 and 3, I've also added control image and the position for the "Click" action. However, as the selectors are still a required parameters for the Click action, hence it didn't work too. 

    I've also tried using "Click by OCR" command, which should be pretty accurate since I wanted it to click on the exact 'SMARTreview' text. However, the command also requires selector parameters, so it won't work too (also shows can't find the elements with Name and Id specified)

    I think the main problem is that maybe Revit is not using the Windows GUI that is supported by IBM RPA (Supported application documentation), hence it couldn't find the specified elements. I wish the Click command could be used only with image (plus image anchor as the required parameter), rather than making selector parameters a required thing.