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 output is stored in an interim staging geodatabase. The geodatabase can then be used, or further postprocessing can be performed. The Import from CAD tool is contained in the Conversion Tools tool box.
Learn more about how Import from CAD (Conversion) works

Software restrictions: none

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(Object inputFiles, Object outPersonalGdb)
          Creates the Import from CAD tool with the required parameters.
 
Method Summary
 String getExplodeComplex()
          Returns the Explode Complex Objects parameter of this tool .
 Object getInputFiles()
          Returns the Input Files parameter of this tool .
 Object getOutPersonalGdb()
          Returns the Output Staging Geodatabase parameter of this tool .
 Object getSpatialReference()
          Returns the Spatial Reference parameter of this tool .
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 void setExplodeComplex(String explodeComplex)
          Sets the Explode Complex Objects parameter of this tool .
 void setInputFiles(Object inputFiles)
          Sets the Input Files parameter of this tool .
 void setOutPersonalGdb(Object outPersonalGdb)
          Sets the Output Staging Geodatabase parameter of this tool .
 void setSpatialReference(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(Object inputFiles,
                 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 - CAD Drawing Dataset, the collection of CAD files to convert to geodatabase features.
outPersonalGdb - Workspace, 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 Object getInputFiles()
Returns the Input Files parameter of this tool . This parameter is CAD Drawing Dataset, the collection of CAD files to convert to geodatabase features. This is a required parameter.

Returns:
the Input Files

setInputFiles

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

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

getOutPersonalGdb

public Object getOutPersonalGdb()
Returns the Output Staging Geodatabase parameter of this tool . This parameter is Workspace, 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(Object outPersonalGdb)
Sets the Output Staging Geodatabase parameter of this tool . This parameter is Workspace, 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 - Workspace, 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 Object getSpatialReference()
Returns the Spatial Reference parameter of this tool . This parameter is Spatial Reference, the spatial reference to be applied to the Output Staging Geodatabase. This is an optional parameter.

Returns:
the Spatial Reference

setSpatialReference

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

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

getExplodeComplex

public String getExplodeComplex()
Returns the Explode Complex Objects parameter of this tool . This parameter is String, 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(String explodeComplex)
Sets the Explode Complex Objects parameter of this tool . This parameter is String, 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 - String, 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 String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias