DIAdem Help

Method: Remove for ShaftCenterlineCurves

  • Mise à jour2024-09-12
  • Temps de lecture : 1 minute(s)

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)