mdlElement_read(&el, ACTIVEMODEL, filePos); mdlElmdscr_new(&el_desc, NULL, &el); DgnPlatform::ElementHandle eh(el_desc, true, false); DisplayHandlerP displayHandler = eh.GetDisplayHandler(); if (NULL == displayHandler) return; DropGeometryPtr dropGeometry = DropGeometry::Create(); dropGeometry->SetOptions(DropGeometry::OPTION_AppData); //OPTION_Complex ElementAgenda agenda; if (SUCCESS == displayHandler->Drop(eh, agenda, *dropGeometry)) { mdlDialog_dmsgsPrint(L"Element Drop Success."); }
I have a Cell containing line and text and text attribute.
I want to drop it in Connect 2023 using C++ mdl Program. All option returning Un Success result.