DIAdem Help

Object: SpiderGrid

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

Object: SpiderGrid

The SpiderGrid object provides the grid properties of a spider axis system in DIAdem REPORT.

The following example generates a spider axis system with a Line type curve and configures the grid properties:

VBScriptPython

 

Dim oMyAxisSystem, oMyPos, oMyCurve, oMyGrid
Call Report.NewLayout()
Call Data.Root.Clear()
Call DataFileLoad("Example.tdm","TDM","")

Set oMyAxisSystem = Report.ActiveSheet.Objects.Add(eReportObjectSpider, "MySpiderAxisSystem")
Set oMyPos = oMyAxisSystem.Position.ByCoordinate
oMyPos.X1 = 20
oMyPos.X2 = 80
oMyPos.Y1 = 20
oMyPos.Y2 = 80

Set oMyCurve = oMyAxisSystem.CurvesSpider.Add(eSpiderShapeLine, "MySpiderCurve")
oMyCurve.Shape.Channel.Reference = "[5]/[3]"

Set oMyGrid = oMyAxisSystem.Settings.Grid
oMyGrid.ShowLine = True
oMyGrid.ShowMiniTickLine = True
oMyGrid.Line.Color.ColorIndex = eColorIndexDarkYellow
oMyGrid.MiniTickLine.Color.ColorIndex = eColorIndexGreen

Call Report.Refresh()

Returned From

SpiderSettings.Grid