DIAdem Help

Method: Remove for Constants

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

Method: Remove for Constants

Deletes one element from the Constants collection.

Object.Remove(NameOrIndex)
ObjectConstants
Object with this method
NameOrIndexVariant
Specifies the name or the index of the constant that is to be deleted.

The following example deletes the first constant in a 2D axis system. The DisplayObjType must be a CurveChart2D type.

VBScriptPython

 

Call View.ActiveSheet.ActiveArea.DisplayObj.Constants.Remove(1)