DIAdem Help

Property: LabelColor for ShaftCenterlineCurve

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

Property: LabelColor for ShaftCenterlineCurve

Specifies the color of the curve label in a shaft centerline axis system in DIAdem VIEW.

DIAdem only includes the property LabelColor if the property LabelColorAuto has the value FALSE.

Object.LabelColor
ObjectShaftCenterlineCurve
Object with this property
Object.LabelColorString with read and write access

The following example creates a shaft centerline axis system with blue labels on a curve:

VBScriptPython

 

Dim oCurveObj, oMyDisplayObj
View.Sheets(1).Areas(1).DisplayObjType = "ShaftCenterline"
Set oMyDisplayObj = View.Sheets(1).Areas(1).DisplayObj
Set oCurveObj = oMyDisplayObj.CurvesShaftCenterline.Add("[1]/[1]","[1]/[2]")
oCurveObj.LabelMode = eVIEWLabelModeChannel
oCurveObj.LabelChannelNumber = 3
oCurveObj.LabelChannelOrientation = "automatic"
oCurveObj.LabelRepetitionMode = eVIEWLabelRepetitionNthPoint
oCurveObj.LabelIntervalPoints = 50
oCurveObj.LabelColorAuto = FALSE
oCurveObj.LabelColor = "blue"

Log in to get a better experience