Autocad Plugin — Entwicklung

BlockTable bt = tr.GetObject(db.BlockTableId, OpenMode.ForRead) as BlockTable; BlockTableRecord btr = tr.GetObject(bt[BlockTableRecord.ModelSpace], OpenMode.ForWrite) as BlockTableRecord; // ... create entities tr.Commit();

catch (System.Exception ex)

Speedup factors are high due to elimination of manual selection and command repetition. 7. Cross-Version Compatibility and Deployment 7.1 Managing AutoCAD Version Differences Use conditional compilation symbols: autocad plugin entwicklung