.NET

Reply
Active Contributor
tangferry
Posts: 43
Registered: ‎04-21-2005
Message 1 of 4 (223 Views)

Using DOTNETARX to write your .NET ObjectARX programms more easily

223 Views, 3 Replies
06-07-2005 08:33 PM
Traditonal .net programs is like the following:
Entity ent……;

Database db= Application.DocumentManager.MdiActiveDocument.Database;

DBTransMan tm=db.TransactionManager;

using(Transaction trans=tm.StartTransaction())

{ BlockTable bt=(BlockTable)tm.GetObject(db.BlockTableId,OpenMode. ForRead,false); BlockTableRecord btr=

(BlockTableRecord)tm.GetObject(bt[BlockTableRecord.ModelSpace],OpenMode.ForWrite,false);

btr.AppendEntity(ent);

tm.AddNewlyCreatedDBObject(ent,true);

trans.Commit();

}
With DOTNETARX,the codes can be simplified like this:

Entity ent…….
Tools.AddEntity(ent);
For the details ,please read the following article:
http://www.codeproject.com/useritems/dotnetarx.asp
Active Contributor
tangferry
Posts: 43
Registered: ‎04-21-2005
Message 2 of 4 (223 Views)

Re: Using DOTNETARX to write your .NET ObjectARX programms more easily

06-15-2005 06:49 PM in reply to: tangferry
The article has been moved to:
http://www.codeproject.com/dotnet/dotnetarx.asp
*Mark Pexton
Message 3 of 4 (223 Views)

Re: Using DOTNETARX to write your .NET ObjectARX programms more easily

06-17-2005 06:02 AM in reply to: tangferry
Nice job with DODTNETARX!


wrote in message news:4876396@discussion.autodesk.com...
The article has been moved to:
http://www.codeproject.com/dotnet/dotnetarx.asp
Active Contributor
tangferry
Posts: 43
Registered: ‎04-21-2005
Message 4 of 4 (223 Views)

Re: Using DOTNETARX to write your .NET ObjectARX programms more easily

06-19-2005 12:58 AM in reply to: tangferry
I have put DOTNETARX 2.0 and a new article on using the DOTNETARX(Samples for DOTNETARX) on codeproject.
The url of DOTNETARX 2.0 and the article:
http://www.codeproject.com/useritems/dotnetarxsample.asp
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.