ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
KJKoen Jansen26/09/2018

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?)