Created
June 24, 2013 19:50
-
-
Save brunosaboia/5852979 to your computer and use it in GitHub Desktop.
Desenhando um quadrado no AutoCAD com ObjectARX: Parte I
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var document = Application.DocumentManager.MdiActiveDocument; | |
using (var transaction = document.TransactionManager.StartTransaction()) | |
{ | |
var blockTable = transaction.GetObject(document.Database.BlockTableId, OpenMode.ForRead) as BlockTable; | |
var blockTableRecord = transaction.GetObject(blockTable[BlockTableRecord.ModelSpace], OpenMode.ForWrite) as BlockTableRecord; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment