1 Reply Latest reply on Jan 6, 2014 4:01 PM by Artem Taturevych

    what is the interface for "ITabelAnnotation

    Abhishek Lad

      Hello sir, i had written following code, in that drawing document general table is their ,i want

      to displays it's cell contains. following is code. it showing following error.



      SwApp = GetObject(, "SldWorks.Application")

      oDoc = SwApp.ActiveDoc

      swModelDocExt = oDoc.Extension

      swSelMgr = oDoc.SelectionManager

      swGeneralTableFeature = swSelMgr.GetSelectedObject6(1, 0)


      swTable = swGeneralTableFeature

      value11 = swTable.DisplayedText(1, 1)

      MsgBox(value11)



      it's showing following error.

      "Object Reffrance not Set to hte instance of object"

       

      what is the interface for "ITabelAnnotation"

      I have to interface between drawing doc with ITabelAnnotation how to do it