How does one "find" a Shared Cell Definition? If I use GetGraphicsElementsP(), I can find Shared Cell Instances. If I use GetControlElementsP(), I see Type 66 elements. However, I never find type SHAREDCELL_DEF_ELM (type 34) ? My goal is to delete those after my Seared Cells are dropped to Normal Cells.
DgnModelRefP activeModelP = mdlModelRef_getActive(); if (NULL != activeModelP->AsDgnModelP()->GetControlElementsP()) { for (PersistentElementRefP const& elemRef : *activeModelP->AsDgnModelP()->GetControlElementsP()) { ... } } if (NULL != activeModelP->AsDgnModelP()->GetGraphicElementsP()) { for (PersistentElementRefP const& elemRef : *activeModelP->AsDgnModelP()->GetGraphicElementsP()) { ... } }
Bruce