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)
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
You need to use this method to get the ITableAnnotation from general table feature: GeneralTableFeature::GetTableAnnotations.
Retrieving data ...