Hi everyone and thx alot for your time!
Im tring to export to DWG, from a country map, a small square zone with 2 xy corners.
in_features = "%MyFeatures%"
output_type = "DWG_R2004"
output_file = "c:/data/world.dwg"
arcpy.ExportCAD_conversion(in_features, output_type, output_file, "USE_FILENAMES_IN_TABLES", "OVERWRITE_EXISTING_FILES")
Whis this code, im able to export to DWG with no problem but it export the complete country map zone.
How can I export only a small square zone in a 2 xy area?
I tried adding:
arcpy.env.extent = arcpy.Extent(-73.536116, 45.967176 , -73.360613, 45.871700)
but everytime the .dwg is empty.
Can anyone tells me what I did wrong or what I can do to be able to export only a small zone from the country feature.