private void btnShow_Click(object sender, EventArgs e)
        {
            Window3D win3d = PetrelProject.ToggleWindows.Add(WellKnownWindows.Window3D) as Window3D;

            win3d.ShowObject(args.NovozhentsevWellLog.Borehole);
            win3d.ShowObject(args.NovozhentsevResultProperty);
            win3d.ShowAxis       = true;
            win3d.ShowAutoLegend = true;
            win3d.ZScale         = 5;
            ka = true;
        }
Exemplo n.º 2
0
 private static void ShowBoreholeInWindow3D(Window3D window3D, Borehole borehole)
 {
     // show the borehole in the window3d if possible
     if (borehole != Borehole.NullObject && window3D.CanShowObject(borehole))
     {
         window3D.ShowObject(borehole);
     }
 }