DIAdem Help

Method: Remove for ShaftCenterlineCurves

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

Method: Remove for ShaftCenterlineCurves

Deletes one element from the ShaftCenterlineCurves collection.

bRemove = Object.Remove(NameOrIndex)
ObjectShaftCenterlineCurves
Object with this method
NameOrIndexVariant
Specifies the name or the index of the curve that is to be deleted.
bRemoveBoolean

The following example deletes the first curve entry in a shaft centerline axis system in the current area. The DisplayObjType must be a ShaftCenterline type:

VBScriptPython

 

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