I'd like to know more about the mdlSharedCell API. Specifically what functions are in it? Also how do I interface/use them?
Thanks in advance,
Christmas May
Hi Christmas,
Unknown said:I'd like to know more about the mdlSharedCell API.
Consult MicroStation SDK documentation, namely MDLAPIFunctionReference.chm.
Unknown said:Specifically what functions are in it?
You did not provide any information what MicroStation version you use, but e.g. MicroStation V8i (SELECTseries 4) SDK documentation provides exact list of available functions.
Unknown said:Also how do I interface/use them?
It's not quite clear what are you asking for, the question is a bit too fuzzy. Every function is described in detail including its purpose and parameters, so it should be clear how to use them. And if a particular functions is not clear, please explain what function is it. Of course for the understanding of MDL API it's required to know C language and also MicroStation internals and data structures like Element Descriptor etc.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Unknown said:What functions are in the Shared Cell API?
I'll take a wild guess that you want to do something with Shared Cells in VBA. VBA doesn't have much support for Shared Cells.
As Jan wrote, the mdlSharedCell_api is comprehensive. However, it's not especially easy to use from VBA (it's not that easy to use from MDL 8-)). The MDL function reference provides VBA declarations for nearly all MDL functions. For example...
mdlSharedCell_extract
VBA Wrapper Declaration
Follow Jan's recommendation: download and install the MicroStation SDK. That provides you with the MDL Function Reference Manual. The function reference manual provides you with the VBA declaration for each function.
Regards, Jon Summers LA Solutions