com.esri.arcgis.geoprocessing.tools.conversiontools
Class ImportCAD

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.conversiontools.ImportCAD
All Implemented Interfaces:
GPTool

public class ImportCAD
extends AbstractGPTool

Converts a collection of CAD files into feature classes and data tables using a predefined and highly normalized schema for the purpose of further translation into GIS data. The Import from CAD tool is contained in the Conversion Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
ImportCAD()
          Creates the Import from CAD tool with defaults.
ImportCAD(java.lang.Object inputFiles, java.lang.Object outPersonalGdb)
          Creates the Import from CAD tool with the required parameters.
 
Method Summary
 java.lang.String getExplodeComplex()
          Returns the Explode Complex Objects parameter of this tool .
 java.lang.Object getInputFiles()
          Returns the Input Files parameter of this tool .
 java.lang.Object getOutPersonalGdb()
          Returns the Output Staging Geodatabase parameter of this tool .
 java.lang.Object getSpatialReference()
          Returns the Spatial Reference parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setExplodeComplex(java.lang.String explodeComplex)
          Sets the Explode Complex Objects parameter of this tool .
 void setInputFiles(java.lang.Object inputFiles)
          Sets the Input Files parameter of this tool .
 void setOutPersonalGdb(java.lang.Object outPersonalGdb)
          Sets the Output Staging Geodatabase parameter of this tool .
 void setSpatialReference(java.lang.Object spatialReference)
          Sets the Spatial Reference parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportCAD

public ImportCAD()
Creates the Import from CAD tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


ImportCAD

public ImportCAD(java.lang.Object inputFiles,
                 java.lang.Object outPersonalGdb)
Creates the Import from CAD tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inputFiles - the collection of CAD files to convert to geodatabase features.
outPersonalGdb - the new output geodatabase where all the input CAD features are placed along with the accompanying tables. If you need joins of the tables or features, then postprocessing is required.
Method Detail

getInputFiles

public java.lang.Object getInputFiles()
Returns the Input Files parameter of this tool . This parameter is the collection of CAD files to convert to geodatabase features. This is a required parameter.

Returns:
the Input Files

setInputFiles

public void setInputFiles(java.lang.Object inputFiles)
Sets the Input Files parameter of this tool . This parameter is the collection of CAD files to convert to geodatabase features. This is a required parameter.

Parameters:
inputFiles - the collection of CAD files to convert to geodatabase features.

getOutPersonalGdb

public java.lang.Object getOutPersonalGdb()
Returns the Output Staging Geodatabase parameter of this tool . This parameter is the new output geodatabase where all the input CAD features are placed along with the accompanying tables. If you need joins of the tables or features, then postprocessing is required. This is a required parameter.

Returns:
the Output Staging Geodatabase

setOutPersonalGdb

public void setOutPersonalGdb(java.lang.Object outPersonalGdb)
Sets the Output Staging Geodatabase parameter of this tool . This parameter is the new output geodatabase where all the input CAD features are placed along with the accompanying tables. If you need joins of the tables or features, then postprocessing is required. This is a required parameter.

Parameters:
outPersonalGdb - the new output geodatabase where all the input CAD features are placed along with the accompanying tables. If you need joins of the tables or features, then postprocessing is required.

getSpatialReference

public java.lang.Object getSpatialReference()
Returns the Spatial Reference parameter of this tool . This parameter is the spatial reference to be applied to the Output Staging Geodatabase. This is an optional parameter.

Returns:
the Spatial Reference

setSpatialReference

public void setSpatialReference(java.lang.Object spatialReference)
Sets the Spatial Reference parameter of this tool . This parameter is the spatial reference to be applied to the Output Staging Geodatabase. This is an optional parameter.

Parameters:
spatialReference - the spatial reference to be applied to the Output Staging Geodatabase.

getExplodeComplex

public java.lang.String getExplodeComplex()
Returns the Explode Complex Objects parameter of this tool . This parameter is specifies if block inserts in DWG or DXF and/or cells in DGN will create a feature for each constituent element in the complex object or just a single point feature at its defined insertion point. This is an optional parameter.

Returns:
the Explode Complex Objects

setExplodeComplex

public void setExplodeComplex(java.lang.String explodeComplex)
Sets the Explode Complex Objects parameter of this tool . This parameter is specifies if block inserts in DWG or DXF and/or cells in DGN will create a feature for each constituent element in the complex object or just a single point feature at its defined insertion point. This is an optional parameter.

Parameters:
explodeComplex - specifies if block inserts in DWG or DXF and/or cells in DGN will create a feature for each constituent element in the complex object or just a single point feature at its defined insertion point.

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias