Collection: 3DTableSelectedElements
- Updated2024-09-12
- 1 minute(s) read
(3DTable | Collections) > Collection: 3DTableSelectedElements
Collection: 3DTableSelectedElements
Collection of all 3DTableSelectedElement objects in DIAdem REPORT. Use the 3DTableSelectedElements collection to access a selected element in a 3D table.
The following example displays the names of all 3D tables in the current worksheet and the number of elements selected in the respective table:
| VBScript | Python |
Dim oMyReportObj, oMyReportObjects Set oMyReportObjects = Report.ActiveSheet.Objects For Each oMyReportObj in oMyReportObjects If oMyReportObj.ObjectType = eReportObject3DTable Then Call MsgBoxDisp("Object name: " & oMyReportObj.Name & vbCrLf &_ "Number of selected elements: " & oMyReportObj.SelectedElements.Count) End If Next