我是python的新手。我要将dwg文件转换为形状文件。我找到了一些密码。当我运行代码时,我得到一个错误。我怎样才能解决这个问题?这里是错误Traceback (most recent call last):
File "C:\Users\Merve\Desktop\dwgtoshp\dwg2shp.py", line 91, in
arcpy.Iteratedatasets_mb(dwg_dosyalari, "", "", "NOT_RECURSIVE")
AttributeError: 'module' object has no attribute 'IterateDatasets_mb'# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# dwg2shp.py
# Created on: 2017-01-30 13:59:57.00000
# (generated by ArcGIS/ModelBuilder)
# Usage: dwg2shp
# Description:
# ---------------------------------------------------------------------------
# Import arcpy module
import arcpy
# Load required toolboxes
arcpy.ImportToolbox("C:\Users\Merve\Desktop\dwg\dwg2shp.tbx")
# Script arguments
pro_