Click or drag to resize

FrameManagerEndUpdate Method

Frame을 API로 생성 후, 프로세스 종료

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public bool EndUpdate()

Return Value

Type: Boolean
생성 결과
Examples
C#
if (vizcore3d.Model.IsOpen() == false) return;

vizcore3d.Frame.BeginUpdate(); // 갱신 시작

vizcore3d.Frame.UpdateGridAxisName(Data.Axis.X, "FR"); // X 축명 변경

vizcore3d.Frame.AddGridLine(Data.Axis.X, 0, 0);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 1, 77800);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 2, 92495);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 3, 119800);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 4, 134500);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 5, 142500);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 6, 157200);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 7, 161800);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 8, 164500);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 9, 170500);
vizcore3d.Frame.AddGridLine(Data.Axis.X, 10, 176500);

vizcore3d.Frame.UpdateGridAxisName(Data.Axis.Y, "LP"); // Y축명 변경

vizcore3d.Frame.AddGridLine(Data.Axis.Y, -10, -64000);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -9, -60000);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -8, -54200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -7, -52000);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -6, -48200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -5, -42200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -4, -36200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -3, -30200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -2, -24200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, -1, -18200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 0, 0);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 1, 18200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 2, 24200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 3, 30200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 4, 36200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 5, 42200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 6, 48200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 7, 52000);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 8, 54200);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 9, 60000);
vizcore3d.Frame.AddGridLine(Data.Axis.Y, 10, 64000);

vizcore3d.Frame.UpdateGridAxisName(Data.Axis.Z, "LP"); //Z 축명 변경

vizcore3d.Frame.AddGridLine(Data.Axis.Z, 0, 0);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 1, 103500);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 2, 109200);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 3, 112875);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 4, 114750);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 5, 119850);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 6, 123115);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 7, 125500);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 8, 131740);
vizcore3d.Frame.AddGridLine(Data.Axis.Z, 9, 137500);

vizcore3d.Frame.EndUpdate(); // 갱신 종료
vizcore3d.Frame.Visible = true; // 화면 표시
See Also