• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    *Matt

    AcdbBlockTable::getAt() in .NET?

    67 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
    Please use plain text.
    *Tony Tanzillo

    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
    Please use plain text.