With these changes do you still get invalid cast exception? Dan Jurgella 2, 4 Error Search If your problem contains a particular error message or code it may afcobjects helpful to search this guide using those key terms. We also found that it also imports attributes into Microstation with the shapefiles if you have have a database linkage to the GIS database actively running in Microstation before starting the MDL application. The default value is Are you unable to connect to the database?
|Published (Last):||14 January 2018|
|PDF File Size:||14.73 Mb|
|ePub File Size:||9.98 Mb|
|Price:||Free* [*Free Regsitration Required]|
Initializes the array of tool parameters with the default values specified when the tool was created. Export public Export java. 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: featureType - the data type to be exported. A volume ID of E00 will be appended to the file name of the first interchange file, E01 to the second file, and so on. Method Detail getFeatureType public java.
This parameter is the data type to be exported. This is a required parameter. Returns: setFeatureType public void setFeatureType java. This parameter is the input dataset. Returns: setInDataset public void setInDataset java. Parameters: getInterchangeFile public java. This parameter is the prefix name of the ArcInfo interchange file or files to be created by Export. Returns: setInterchangeFile public void setInterchangeFile java. Parameters: interchangeFile - the prefix name of the ArcInfo interchange file or files to be created by Export.
This parameter is specifies how numbers and blanks will be compressed in the export file. There are three options: This is an optional parameter. Returns: setCompressionType public void setCompressionType java. Parameters: compressionType - specifies how numbers and blanks will be compressed in the export file. This parameter is maximum number of lines for each volume for example, disk file of an Export To Interchange File file.
A volume has the extension. E00 through. Only one export file is created if this is not specified. This is an optional parameter. Parameters: maxLines - maximum number of lines for each volume for example, disk file of an Export To Interchange File file.
This script opens a map document and exports the page layout to a PNG file using default values for all options. With these changes do you still get invalid cast exception? ExportFormat is a string parameter of the function, you need to provide this. If your exact issue is not addressed above or you need further assistance, the following describes some of the key places to look for help. A variable that references a MapDocument object.
Subscribe to RSS
Momi Steve Kipping over 8 years ago in reply to jameshaneyjr. For example, search for the ArcObjects error number contained in the error message. I have included a screen shot of the messages at the bottom of my original post. This script opens a map document and exports the page layout to a PNG file using default values for all options. A defined color to be displayed as transparent in the image.