POST
|
Good day, Is there a way to extract one layer from AutoCAD drawing, and convert it into a featureclass in a GeoDatabase? I'm trying to following code in the Python window inside ArcGIS, but it only produces everything in the drawing in the new featureclass. wClause = '"Layer" = \'line2\'' cur = arcpy.SearchCursor("alignment.dwg Polyline", wClause) arcpy.CADToGeodatabase_conversion("alignment.dwg",r'F:\Projects\New File Geodatabase.gdb' , "Line2","1500") Regards, Ahmed
... View more
09-17-2013
12:14 AM
|
0
|
2
|
2807
|
POST
|
I'm having the same ClassFactory problem mentioned above. I'm using ArcGIS 10, Windows 7 64bit, and visio 2003, and I have followed the instructions mentioned in KB38058, and the registry patch. Regards, Ahmed
... View more
02-09-2011
09:01 PM
|
0
|
0
|
589
|
POST
|
Thanks Kirk, but how would you represent an array of rasterlayers (rasterlayer(i)) in the script? The following equation in the code seems to be rigid to me! rasterModel.Script = "[out] = [in01] + [in02]"
... View more
08-27-2010
10:54 AM
|
0
|
0
|
244
|
POST
|
I was thinking of using IGPSAWeightedSum but I can't find any reference to its usage!
... View more
08-27-2010
12:57 AM
|
0
|
0
|
244
|
POST
|
Yes, but the problem is that I want to sum all the layers in the table of contents, and I don't know before hand how many they are! Regards,
... View more
08-27-2010
12:52 AM
|
0
|
0
|
244
|
POST
|
Dear All, How can I sum a number of Grids loaded in the table of contents (I don't know the number of layers) in ArcObjects .NET? Regards,
... View more
08-26-2010
02:29 AM
|
0
|
5
|
576
|
POST
|
Dear All, I know I can use the following to multiply a grid by a value in ArcObjects: Dim pOutRaster As IRaster pOutRaster = pMapAlgebraOp.Execute("[R1] * 5") but how can I make the value of "5" variable instead of a value? Thanks,
... View more
08-25-2010
01:07 AM
|
0
|
2
|
720
|
Online Status |
Offline
|
Date Last Visited |
11-29-2022
10:19 AM
|