I started developing in VBA, then VB.NET, slowly moving over to C#. Most of my posts and/or learning by
example
(thanks) have included references to the API 'bug' relating to the eWasErased errors.
The code posted by TonyT (
http://www.caddzone.com/DBUtils.cs) has been
very helpful. In fact, while
translating the various lisp routines I have used this to check for erased object ids.
Now, being a bit 'annoyed'
having to implement a new class to return a collection of objectids that
have NOT been marked for deletion for every symboltable iteration I need to make, should I stop and move
into development in C++, as the correct methods are available?
(?acdbSymbolTableGetAt@@YG?AW4ErrorStatus@Acad@@PBVAcDbSymbolTable@@PB_WAAVAcDbObjectId@@_N@Z):
Acad::ErrorStatus getAt (const ACHAR* entryName,
AcDbObjectId& recordId,
bool getErasedRecord = false) const;
(?getRecord@AcDbSymbolTableIterator@@QBE?AW4ErrorStatus@Acad@@AAPAVAcDbSymbolTableRecord@@W4OpenMode@AcDb@@_N@Z):
Acad::ErrorStatus newIterator(AcDbSymbolTableIterator*& pIterator,
bool atBeginning = true,
bool skipDeleted = true) const;
Being slightly oiled at the moment (with a bottle of 1990 Ardbeg
), I may have got the above wrong.
Getting to the point, should I stick with learning C# and ObjectArx (.NET) or learn C++?
On another thread, would any comments re: CAD Management be welcome; as I manage 289 AutoCAD users.