4 Replies Latest reply on Sep 27, 2018 8:38 AM by Koen Jansen

    Get component path from drawing view

    Koen Jansen

      Hi,

       

      I have some issues with a macro. I would like to get the path name of a drw in a drawing view:

      • Drawing of Assembly is open
      • With one mouseclick is a surface selected of  a part in a drawing view
      • Run macro, asked result; a string with pathname of the selected part(NOT total assembly in view)

       

      i get stuck because the part is in a drawing view and i dont now how to get the component (IComponent2?)