DIAdem Help

Method: Remove for Data

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

Method: Remove for Data

Deletes a list of elements from the Data Portal, in the script interface for internal data.

Object.Remove(ElementListToDelete)
ObjectData
Object with this method
ElementListToDeleteElementList <Data>
Specifies the list of elements to delete.

Note  After deleting the list, DIAdem renumbers the channels in ascending order starting at one according to the Data Portal structure view.

The following example generates a list of elements with all channels whose names start with the letter S and then deletes the channels again:

VBScriptPython

 

Dim oMyAssgnList
Call Data.Root.Clear
Call DataFileLoad("Example.tdm")
Set oMyAssgnList = Data.GetChannels("S*")
Call Data.Remove(oMyAssgnList)

Log in to get a better experience