Message 1 of 12
How do i find a block in the BlockTable

Not applicable
05-23-2006
12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Finally trying to get my hands dirty on .NET. It's not that easy really
How do i find a BlockTabelRecord from a name?
In objectArx i got the objectId using AcDbBlockTable::getAt(const ACHAR*
entryName,AcDbObjectId& recordId);
Then I created a new AcDbBlockReference using the id, added it to the
database and i was done.
In .NET I can not find any GetAt method. Do I have to iterate the enumerator
and find it by myself?
I'm to old for this new stuff. Guess i should stay with Arx and ADS 😉
/Matt
How do i find a BlockTabelRecord from a name?
In objectArx i got the objectId using AcDbBlockTable::getAt(const ACHAR*
entryName,AcDbObjectId& recordId);
Then I created a new AcDbBlockReference using the id, added it to the
database and i was done.
In .NET I can not find any GetAt method. Do I have to iterate the enumerator
and find it by myself?
I'm to old for this new stuff. Guess i should stay with Arx and ADS 😉
/Matt