DIAdem Help

Object: Spider

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

Object: Spider

The Spider object provides a spider axis system in DIAdem REPORT.

The following example generates a spider axis system with a Line type curve:

VBScriptPython

 

Dim oMyAxisSystem, oMyPos, oMyCurve
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]"

Call Report.Refresh()