DIAdem Help

Collection: 3DTableSelectedElements

  • Updated2024-09-12
  • 1 minute(s) read

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:

VBScriptPython

 

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

Properties

Count

Methods

Add3DTable | Item

Returned From

3DTable.SelectedElements