PP

Hello,

I got a list of models using the class Group ModelList ( boolean bRecursive, int[] typeNums, ISearchItem p_searchSpec ).
How is it possible to get all superior models for each model of the list?

Any help appreciated.

Thanks a lot.

Patrick

by Amol Patil
Posted on Tue, 10/05/2010 - 14:28

Hello Patrick,

Superior Models? You cannot get superior models directly from those model list. You will have to take 3 steps to collect all superior models for all your model list.

Follow the following steps for each model

1. Get the superior objectDef of the model

Model.SuperiorObjDefs();

2. Get all occurrences from the database for the superior object

ObjDef.OccList ( );

3. Collect the models in which those object occurrences occur.

ObjOcc.Model ( );
0
by Patrick Perrin Author
Posted on Wed, 10/06/2010 - 11:22

Hello Amol,

Thank you very much for your reply!

Regards,
Patrick

0
by Kevin Abestilla
Posted on Fri, 12/12/2014 - 09:43

Hi Amol,

This helps me a  lot, thank you.

 

Best Regards,

Kevin

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CP
  • BZ
  • Profile picture for user TEF_Bernd
  • ПЦ
  • CR
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock