几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(VB.NET/C#) (http://www.dimcax.com/hust/forumdisplay.php?f=176)
-   -   autodskmap objectdata 问题!!!!!!急!!!!! (高手请进) (http://www.dimcax.com/hust/showthread.php?t=8790)

yang686526 2009-04-19 10:30 PM

autodskmap objectdata 问题!!!!!!急!!!!! (高手请进)
 
autodskmap objectdata 问题!!!!!!急!!!!! (高手请进)
www.dimcax.com
autodskmap objectdata 问题!!!!!!急!!!!! (高手请进)
dim db as database = new database(false, true) hostapplicationservices.workingdatabase = db db.readdwgfile(dwgstr, io.fileshare.readwrite, false, nothing) dim db as database = hostapplicationservices.workingdatabase dim trans as transaction = db.transactionmanager.starttransaction dim ed as editor = autodesk.autocad.applicationservices.application.documentmanager.mdiactivedocument.editor dim ids as objectid() dim id as objectid for each id in ids dim mapapp as mapapplication mapapp = hostmapapplicationservices.application dim activeproject as project.projectmodel = mapapp.activeproject dim tablelist as objectdata.tables = activeproject.odtables dim records as records dim record as record dim val_1 as mapvalue dim valint as integer = 0 dim valdouble as double = 0.0 dim str as string = nothing dim str_list as string = nothing ' for each record in records dim table as objectdata.table = tablelist("xzq") records = table.getobjecttablerecords(0, id, constants.openmode.openforread, true) next id 为什么用readdwgfile读取的文件使用map函数objectdata.table失效


所有的时间均为北京时间。 现在的时间是 04:04 PM.