com.esri.arcgis.analyst3d
Interface IImport3DFile

All Superinterfaces:
Serializable
All Known Implementing Classes:
Import3DFile

public interface IImport3DFile
extends Serializable

Provides access to a file used to create 3D General Multipatches.

Superseded By

IImport3DFile2

Remarks

Use this interface to import supported 3D models for 3D symbology. As of version 9.3, the following 3D model formats are supported: 3D Studio (*.3ds), OpenFlight 15.8 (*.flt), VRML 2.0 (*.wrl), SketchUp 6 (*.skp), and Collada 1.4 (*.dae). You can also use this interface to implement your own custom 3D models so that they can be imported on the user interface the same way as the other built-in 3D models. Please see the examples.

When To Use

This interface is new at ArcGIS 9.3. It supersedes IImport3DFile.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.


Method Summary
 void createFromFile(String filePath)
          Load from File.
 String getFileDescription()
          The File Description for Browsing.
 String getFileExtension()
          The File Extension for Browsing.
 IGeometry getGeometry()
          The Geometry interface.
 boolean isCanBrowse()
          Indicates if this implementation can browse for files.
 boolean isValidFile(String filePath)
          Indicates if this is a valid 3D Import File.
 

Method Detail

isValidFile

boolean isValidFile(String filePath)
                    throws IOException,
                           AutomationException
Indicates if this is a valid 3D Import File.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Parameters:
filePath - The filePath (in)
Returns:
The pValid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFromFile

void createFromFile(String filePath)
                    throws IOException,
                           AutomationException
Load from File.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Parameters:
filePath - The filePath (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

IGeometry getGeometry()
                      throws IOException,
                             AutomationException
The Geometry interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanBrowse

boolean isCanBrowse()
                    throws IOException,
                           AutomationException
Indicates if this implementation can browse for files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pCanBrowse
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileDescription

String getFileDescription()
                          throws IOException,
                                 AutomationException
The File Description for Browsing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Returns:
The pDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileExtension

String getFileExtension()
                        throws IOException,
                               AutomationException
The File Extension for Browsing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Returns:
The pFileExtention
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.