Working with Well 3D objects

Note: you will need to include WellData and Well3D in your Module Dependencies list in addition to Viewer3D.

Creating a well

In this example, we assume you have already created a IWellData (wellData)and an IWindow3D (threeDWindow). See section Working with Well Data for examples on how to create an IWellData. Also, see section Working With Windows to find more information on how to create and set attributes for a 3D window.

    import com.interactive.intviewerapi.objects3d.IWellObject3D;
    import com.interactive.intviewerapi.layers.NamedProps;
    NamedProps props = new NamedProps();
    IWellObject3D object3D = IWellObject3D.factory.createObject3D(threeDWindow, wellData, props, false);

Displaying Log Curves

In this example, we assume you have already created a IWellObject3D (wellObject3D)

NamedProps props = new NamedProps();
props.putProperty(IWellObject3D.RADIUS_CURVE_NAME, "DEPT");
props.putProperty(IWellObject3D.COLOR_CURVE_NAME, "DEPT");
wellObject3D.setProperties(props);

Displaying Markers

In this example, we assume you have already created a IWellObject3D (wellObject3D)

NamedProps props = new NamedProps();
props.putProperty(IWellObject3D.MARKERS_VISIBLE, true);
wellObject3D.setProperties(props);