Источник:
http://daxonline.org/1630-how-to-get...the-model.html
==============
Job to get list of private projects in specific model
static void VkPrivateProjects(Args _args){ SysModelElement sysModelElement; SysModelElementData sysModelElementData; ModelRecId modelId = 954; while select sysModelElement where sysModelElement.ElementType == UtilElementType::PrivateProject join sysModelElementData where sysModelElementData.ModelElement == sysModelElement.RecId &&sysModelElementData.ModelId == modelId { info(sysModelElement.Name); }}
To get the list of models on the layer:
axutil list /s:"SqlServer" /db:"ModelStoreDBName_model" /layer:"CUS"
How to move project to another model:
https://daxonline.org/1495-moving-a-project-to-another-model.html
Get access to private project:
https://daxonline.org/1522-getting-a...-projects.html
Источник:
http://daxonline.org/1630-how-to-get...the-model.html