Get effective block table record of a parametric block in BricsCAD V22

The C++ API for BricsCAD V23 has the function called acdbEffectiveBlockTableRecord to get the effective block table record of a parametric block using an anonymous block table record.

However, this function is missing from the V22 API. Are there any functions available for V22 that can get me the effective block table record using the C++ API?

Comments

  • Hello.

    I am not sure about the approach in C++.

    With lisp, the effective name of a anonymous parametric block instance can be found with:
    (getpropertvalue <entity-name> "EffectiveName~Native")

    Basically, this is a way to read properties that are listed in the Properties panel when the entity is selected.

    Maybe in C++, there is also a method that reads properties.

  • IMore example in lisp

    Does it have an effective name

    (vlax-property-available-p blk 'effectivename)

    Get effective name

    (vla-get-effectivename blk)

  • AcDbDynBlockReference::dynamicBlockTableRecord?