<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2722" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Wingdings;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0in
}
UL {
        MARGIN-BOTTOM: 0in
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=220293018-06092005><FONT face=Arial color=#0000ff size=2>I
tried to select several objects in the tree browser, and then launch the
interpreter with right click/interpret.</FONT></SPAN></DIV>
<DIV><SPAN class=220293018-06092005><FONT face=Arial color=#0000ff size=2>This
way it works the way you would like.</FONT></SPAN></DIV>
<DIV><SPAN class=220293018-06092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=220293018-06092005><FONT face=Arial color=#0000ff size=2>If you
launch the interpreter from the File menu/Run interpreter (or with the 'i'
button) this effect can't be reached, because even though you have different
models opened, the selected objects are taken only from the active
one.</FONT></SPAN></DIV>
<DIV><SPAN class=220293018-06092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=220293018-06092005><FONT face=Arial color=#0000ff size=2>br,
Zoli</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
gme-users-bounces@list.isis.vanderbilt.edu
[mailto:gme-users-bounces@list.isis.vanderbilt.edu] <B>On Behalf Of
</B>Matthew J. Emerson<BR><B>Sent:</B> Tuesday, September 06, 2005 11:18
AM<BR><B>To:</B> gme-users<BR><B>Subject:</B> [gme-users]
setSelectedFCOs<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The setSelectedFCOs parameter of
invokeEx in a BON2 interpreter holds the set of currently selected model
objects at the time the interpreter is invoked. Is it possible to have objects
in the set which do not share the same parent? I did some experimentation with
this today, and it seems that the following don’t work as I would have
expected:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<UL style="MARGIN-TOP: 0in" type=disc>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Selecting objects
in the tree browser (no objects selected in the tree browser end up in the
setSelectedFCOs set)<BR><BR><o:p></o:p></SPAN></FONT>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Selecting objects
in multiple open models (pictured below). Only the objects in the ‘active’
model end up in setSelectedFCOs.<BR><IMG id=_x0000_i1025 height=351
src="cid:220293018@06092005-0136"
width=579><BR><BR><o:p></o:p></SPAN></FONT></LI></UL>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So, is there any way to get
objects with different parents in the setSelectedFCOs set? Or, is there a way
to have the user select one object, invoke the interpreter, and have the
interpreter ask the user to select the second object from a different
model?<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>