.NET

Reply
*Matt
Message 1 of 2 (87 Views)

AcdbBlockTable::getAt() in .NET?

87 Views, 1 Replies
10-20-2005 11:41 PM
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
*Tony Tanzillo
Message 2 of 2 (87 Views)

Re: AcdbBlockTable::getAt() in .NET?

10-21-2005 06:26 AM in reply to: *Matt
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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.