AnsweredAssumed Answered

Get component path from drawing view

Question asked by Koen Jansen on Sep 26, 2018
Latest reply on Sep 27, 2018 by 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?)

Outcomes