AcdbBlockTable::getAt() in .NET?

AcdbBlockTable::getAt() in .NET?

Anonymous
Not applicable
535 Views
1 Reply
Message 1 of 2

AcdbBlockTable::getAt() in .NET?

Anonymous
Not applicable
The docs says:

"Autodesk.AutoCAD.DatabaseServices.BlockTable Class
This .NET class wraps the AcDbBlockTable ObjectARX class."

But where's the funtion getAt?

Is there another function that finds a block with a specific name, or do i
have to iterate the blocktable myself?

/Matt
0 Likes
536 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
The default indexer for all SymbolTable based classes
returns elements given the name as the string index.

However, beware that it returns *erased* entries,
which could prevent you from accessing a non-erased
entry that has the same name as an erased entry,
if the erased entry appears first in the table.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"Matt" wrote in message news:4990996@discussion.autodesk.com...
The docs says:

"Autodesk.AutoCAD.DatabaseServices.BlockTable Class
This .NET class wraps the AcDbBlockTable ObjectARX class."

But where's the funtion getAt?

Is there another function that finds a block with a specific name, or do i
have to iterate the blocktable myself?

/Matt
0 Likes