.NET

Reply
*Matt
Message 1 of 2 (81 Views)

AcdbBlockTable::getAt() in .NET?

81 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 (81 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community