Print Page | Close Window

All graphs of an instance

Printed From: MetaCase
Category:
Forum Name: MetaEdit+
Forum Description: All topics relating to MetaEdit+ or DSM
URL: https://www.metacase.com/forums/forum_posts.asp?TID=203
Printed Date: 27.Mar.2026 at 00:26
Software Version: Web Wiz Forums 12.05 - http://www.webwizforums.com


Topic: All graphs of an instance
Posted By: alev
Subject: All graphs of an instance
Date Posted: 29.Mar.2011 at 13:00
Hi,

I ma having a trouble getting all graphs in which a given instance exists. Is there a simple way to do it with with MERL?

Thank you.



Replies:
Posted By: stevek
Date Posted: 29.Mar.2011 at 13:58
Assuming you are currently in the instance you want to find, and by "in a graph" you mean "is a direct member of the graph's object set":

$myOid = oid
do graphs
{  foreach .MyObjectType
   where oid=$myOid
   {  id;1 newline
   }
}



Posted By: alev
Date Posted: 06.Apr.2011 at 18:26
Steven, thank you for your help. It solved my problem.

Cheers!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.05 - http://www.webwizforums.com
Copyright ©2001-2022 Web Wiz Ltd. - https://www.webwiz.net