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

RE: Read EC attributes from AutoPLANT file

$
0
0
hi YongAn,

I run into the similar trouble when i debug the sample code imodelvistor in v8i ss4 sdk.
To the function imodelVisitor_scanForItemSet ,once we call status = mdlNamedGroup_fromElementDescr (&sourceGrp,namedGrpEdP, namedGrpEdP->h.dgnModelRef,namedGrpEdP->h.dgnModelRef);
successfully, we get the NameGroupP we traverse now. And then we can get the NamedGrp elemRef with the call to ElementRef eGroupRef;
eGroupRef = mdlNamedGroup_getElementRef(sourceGrp);
and then with eGroupRef, I call slHandle = apiRef.ReadInstances(iStatus,eGroupRef); but i can not slHandle is empty...

any idea? thank you in advance

Viewing all articles
Browse latest Browse all 7260

Trending Articles



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