Hello,
1. Is there any way to convert an XSI Collection of Edge class objects
into an Edge Collection?
or
2. Is there a way to add Edges to an existing Edge Collection?
I assume the latter is not possible, but I figured I would ask anyway. I
have noted that when I construct an XSI Colection of edges using either
the Add or AddItems methods, I get something similar to the follwing.
XSI Collection Object
1. Collection Item
Edge Collection
Edge
2. Collection Item
Edge Collection
Edge
3. Collection Item
Edge Collection
Edge
4. etc...
What I was hoping I could do was manually construct an Edge Collection
within the XSI Collection, then exract the Edge Collection later, but
this does not seem possible as each time I add an edge to the XSI
Collection, the edge is added within it's own Edge Collection, hence
what I think I am getting is a large XSI collection of Edge Collections,
each containg a single edge.
My ultimate goal was to use the XSI Collection as a sort of nested
return array so that I could return multiple different values from a
function, for example an Edge Collection, Vertex Collection, and Facet
Collection simultaneously. Since neither JScript or VBScript appear to
support multiple return values I was attempting to use XSI Collection to
do this. XSI Collection can do this, but you have to add multiple valid
Edge Collections or other collections via the Add method for this to
work. I tried nesting multiple XSI Collections under one XSI
Collection, but this causes bizarre issues with some of XSI's basic
commands like SelectGeometryComponents etc, which does not happen when
nesting multiple Edge or Vertex Collections under one XSI Collection.
Any suggestions would be apreciated.
--
Joey Ponthieux
NCI Information Systems Inc.
NASA Langley Research Center
____________________________________________________________
Opinions stated here-in are strictly those of the author and
do not represent the opinions of NASA or any other party.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi