Model SDK - How to obtain the full model with details scriptically?
The Model SDK has a function that allows you to take a Mendix application and the function will convert it into the relevant SDK code to rebuild your entire model.
But i'm a little unclear as to why you want to rebuild your entire model using the SDK? You can already do this without the SDK, you can export it as a project file and import this into a new project. This can be done both manually and programmatically. Also the projects API allows you to set up a new version of your project based on a template, which will spin up a new project using the given template.
If your looking to view information about the entire model, like counts of entites & pages then i would suggest this script:
I think your question is unclear and that's why you're not getting answers that are helpful to you.
What do you want the output to look like, and why are you doing this?
There's an article here that shows you how to create a script out of a domain model. You could easily modify this to loop over every domain model (and microflow, and page) in your project to generate "create scripts" for each of them. Is that what you want to do? If not, then what, and why?