Object: SpiderSettings
- 更新日2024-09-12
- 5分で読める
(ReportObjects | SelectedObjects) > Spider > Object: SpiderSettings
Object: SpiderSettings
The SpiderSettings object provides general properties of a spider axis system in DIAdem REPORT.
The following example generates a spider axis system with a Line type curve:
| VBScript | Python |
Dim oMyAxisSystem, oMyPos, oMyCurve, oMySpiderLineSettings, oMySpiderSettings 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 oMySpiderSettings = oMyAxisSystem.Settings oMySpiderSettings.DisplayMode = eSpiderDisplayModeSpider oMySpiderSettings.ShowBorder = True oMySpiderSettings.BorderLine.Color.ColorIndex = eColorIndexDarkRed oMySpiderSettings.BackgroundColor.ColorIndex = eColorIndexYellow oMySpiderSettings.AngleDirection = eAngleDirectionClockwise Set oMyCurve = oMyAxisSystem.CurvesSpider.Add(eSpiderShapeLine, "MySpiderCurve") oMyCurve.Shape.Channel.Reference = "[5]/[3]" Call Report.Refresh()
Properties
AngleDirection | BackgroundColor | BorderLine | DisplayMode | Grid | ShowBorder