VIZCore3DControlBeginUpdate Method |
Namespace: VIZCore3D.NET
public void BeginUpdate()
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { List<VIZCore3D.NET.Data.Node> items = vizcore3d.Object3D.FromFilter( VIZCore3D.NET.Data.Object3dFilter.SELECTED_TOP ); if (items.Count == 0) return; // 부재의 표면점 조회 VIZCore3D.NET.Data.Vertex3D surfacePt = vizcore3d.Object3D.GetSurfaceVertexClosestToModelCenter( new List<int>() { items[0].Index }); // 화면 갱신 차단 vizcore3d.BeginUpdate(); for (int i = 0; i < int.MaxValue; i++) { // 노트 생성 vizcore3d.Review.Note.AddNoteSurface( string.Format("Note No. {0}", i + 1) , new VIZCore3D.NET.Data.Vertex3D( surfacePt.X + 2000.0f , surfacePt.Y , surfacePt.Z + 2000.0f ) , surfacePt ); } // 화면 갱신 차단 해제 vizcore3d.EndUpdate(); }