Skip to content

Instantly share code, notes, and snippets.

@brunosaboia
Last active December 18, 2015 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunosaboia/5853054 to your computer and use it in GitHub Desktop.
Save brunosaboia/5853054 to your computer and use it in GitHub Desktop.
Desenhando um quadrado no AutoCAD com ObjectARX: Parte I
blockTableRecord.AppendEntity(retaAB);
transaction.AddNewlyCreatedDBObject(retaAB, true);
blockTableRecord.AppendEntity(retaAC);
transaction.AddNewlyCreatedDBObject(retaAC, true);
blockTableRecord.AppendEntity(retaBD);
transaction.AddNewlyCreatedDBObject(retaBD, true);
blockTableRecord.AppendEntity(retaCD);
transaction.AddNewlyCreatedDBObject(retaCD, true);
transaction.Commit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment