Well you all remember Chuck Norris series read here. Unlike Norris, this trick is real enough to be applied on daily basis.
I decided to share some of the tricks that we are using in our daily activity to ease up the modeling task.
Scenario:
You have opened up a model (any model) and some how you want to delete an occurrence of a symbol (object occurrence) from the model along with the underlying object definition. As shown below:
Let say, we want to completely delete the above selected symbols (object occurrence) and object definitions.
Normal Procedure (correct me if I am wrong)
Step 0: Prepare a nice cappuccino and connect adapter to re-charge your cellular phone/mobile phone and open the required model.
Step 1: Un-select and this time only select one occurrence and then right click Go To-->Occurrence in Explorer and left click shown below:
Step2: ARIS will take you to the precise location of underlying object definition.
Step3: Go to Designer so as to close the current Model which you have used to find object definition in step#2. (in fact you need to close all the models if it contain any object occurrence of the object in step#2). If you forget to close the model and try to delete object definition then this message will pop-up:
Step4: Switch to Explorer again and by all means you have fulfilled all the necessary steps to delete the object definition. Repeat these steps for other remaining objects.
Congratulations!!!!
Step5: But you will notice at the end of this exercise that cappuccino prepared@Step0 is now cold and you need to mircowave it but hang-on you have managed to re-charge your mobile phone.
Someone may say, why we do not use the search option in ARIS and then delete the object definition and it will automatically delete the occurrences in all the models. Well, this is ok but not practical because once the model is opened it will throw same error message.
Magic Trick:
Now it's time to show the magic trick.
Step 0: Prepare a nice cappuccino and connect adapter to re-charge your cellular phone/mobile phone and open the required model.
Step1: Select all the object occurrences that you want to delete and press delete or (right click and then click delete) whichever is feasible for you.
Step2: You will receive the following message and select yes (if select no then ARIS default behaviour will be used i.e. to only delete object occurrences on this model)
Step3: Congratulation you have successfully achieved your task. Enjoy your cup of coffee which is still hot for your taste but downside is you need to wait so as to completely recharge your mobile phone, no worries, in the mean time (re-charging of your mobile phone is still in progress), you can go on to other models and delete the object completely as shown in this magic trick.
Please note in the following diagram, the magic trick will not close or do any thing to other un-related models that you have opened-up. It will only made changes to the models that have that selected occurrences.
Before the invocation of magic trick, if you have opened up the model (as shown below), you will still able to work on them (it will not be closed).
....continued....
Hey Adnan,
I am glad that you have worked on the cleaning of un-used objects. I am also working in this area.
I am trying to generate a report which would provide a list of objects that have no occurences or relationships.
Perhaps you can share your thoughts and expertise. You can contact me at anosh_m@yahoo.com.
Regards,
Anosh Mehdi