Getting Assignments from an Object

Translate this pagebookmark or share this page
Rick's picture

Posted: 2012-07-27
849 views | 3 comments | category: ARIS Community

0
show all articles

Hello Folks,

How do get the Assignments of an Object using Aris Script?

Thanks,

Rick

Comments
Vinay's picture

Hi Mr. Rick Beddoe,

Use AssignedModels() method from ConnectableDef report class to get assigned models from an object definition.

 

Regards,

Vinay

Ciska's picture

Hi Rick

If you want a assignment to a spesific type model:

objectdef.AssignedModels(Constants.MT_EEPC)

or

you can use an array to get a combination of model types eg. EPC and Column EPC.

objectdef.AssignedModels(modeltypearray);

Ciska

Rick's picture

Thank you Vinay and Ciska.

I guess I just overlooked that in Help :)

 

Cheers,

 

Rick