Profile picture for user RBeddoe

Hi Aris Community,

I would like to find a way to extract the Assignments of a particular object using ArisScript.

I would expect to see something like ObjDef.Assignments() or ObjDef.GetAssignments(), but alas there is no such property/function. How do I obtain the collection of Assignments from an ObjDef?

 

 

Thanks!

Rick Beddoe

Cargill Aris Technical Analyst

Minneapolis, MN, USA

by Amol Patil
Posted on Wed, 11/02/2011 - 20:42

Hi Rick,

It is there, in ObjDef help page, find the base class "ConnectableDef". Shown in below image

You can find the methods which ObjDef class inherits

 

Thanks,

Amol Patil

0
by Rick Beddoe Author
Posted on Wed, 11/02/2011 - 21:48

exactly what I was looking for.

From now on I'll pay closer attention to the base classes. ;)

 Thanks again Amol,

Rick Beddoe

Cargill Aris Technical Analyst

Minneapolis, MN, USA

0
by Srinivas CH
Posted on Wed, 05/16/2012 - 16:28

Hi Rick,

Have you get the assigned models for individual objects?? If yes please help me to get the assigned model for an object.

Thanks in Advance

BR/Srinivas.

0
by Rick Beddoe Author
Posted on Wed, 05/23/2012 - 18:07

Srinivas,

There isn't an assigned model for an object. You first need to get an occurance of the object. Then you can get the model that occurance lives in.

Hope that helps.

Rick Beddoe

Cargill Aris Technical Analyst

Minneapolis, MN, USA

0
by Mateusz Kniżewski
Posted on Wed, 11/07/2012 - 09:57

Hi,

I have problem . my script start at object. I did get informaction about this object  now i want to get model that this obj is right now (i know there are occurance). The object is in 2 difrent models and i need the one im runing script 

(i open model nr.1 there is my obj. i run script and i need name of model 1. )

(i open model nr.2 there is my obj. i run script and i need name of model 2. )

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks
  • SS
  • MZ
  • Profile picture for user kbiront
  • Profile picture for user Tony Iliev
  • Profile picture for user amandeep.7.singh
  • 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