MetaCase Homepage
Forum Home Forum Home > > MetaEdit+
  New Posts New Posts RSS Feed - All graphs of an instance
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

All graphs of an instance

 Post Reply Post Reply
Author
Message
alev View Drop Down
Contributor
Contributor
Avatar

Joined: 08.Oct.2010
Location: Arnhem, NL
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote alev Quote  Post ReplyReply Direct Link To This Post Topic: All graphs of an instance
    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.
Back to Top
stevek View Drop Down
MetaCase
MetaCase
Avatar

Joined: 11.Mar.2008
Points: 643
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevek Quote  Post ReplyReply Direct Link To This Post 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
   }
}

Back to Top
alev View Drop Down
Contributor
Contributor
Avatar

Joined: 08.Oct.2010
Location: Arnhem, NL
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote alev Quote  Post ReplyReply Direct Link To This Post Posted: 06.Apr.2011 at 18:26
Steven, thank you for your help. It solved my problem.

Cheers!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.05
Copyright ©2001-2022 Web Wiz Ltd.

This page was generated in 0.023 seconds.