.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AcdbBlockTable::getAt() in .NET?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
291 Views, 1 Reply

AcdbBlockTable::getAt() in .NET?

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
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost