Hi,
I want to include original name of the model type in mode status overview report. I was looking at the script and I want to add the column. Can you please tell me the constant for original base model name because all models all derived from original model type. The report has Model Name, Model Type and I need to add another column to include Original Name (base model type name). Is there a property called OriginalName in Model object.
oOut.TableCell(oModel.Name(g_nLoc), 20, getString("FONT"), 10, Constants.C_BLACK, getTableCellColor_AttrBk(bColored), 0, Constants.FMT_LEFT | Constants.FMT_VTOP | Constants.FMT_EXCELMODIFY, 0); oOut.TableCell(oModel.Type(), 20, getString("FONT"), 10, Constants.C_BLACK, getTableCellColor_AttrBk(bColored), 0, Constants.FMT_LEFT | Constants.FMT_VTOP | Constants.FMT_EXCELMODIFY, 0);
Thanks in advance
Hi Sathish,
I am not absolutely sure what you mean by derived from original model type.
You can use these depending on your requirement.
Model |
If the model is a model variant, returns the master model (i.e. the model of which this model is a variant) |
Model |
Returns the original model if this model is a business case. |
You have to call it on Model
Thanks
Abhijit Das
Thanks for the reply.
This is what i meant , lets say I have created custom filter which has a new model type (I would have created at Configuration/Method/Model Types) with a new name, for instance Access Diagram is ARIS default and I had created new model type calling it as CustomA Diagram. In my report I want both Model Type and Original Model Type which should be CustomA Diagram and Access Diagram respectively. In model status report I only get CustomA Diagram and not Access Diagram. I need to know how to retrive it so that I can modify the script.
This is evident if you go to Administration/Configuration/Method/Model Types on the right hand side it has both Name and Original Name