Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

Need to Drop a Cell using CONNECT 2023 C++ Programming

$
0
0

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.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>