When you're looking at a string like "grid.edge[LAST]" or "grid.pnt[*]"
that's CollectionItem.Value, and CollectionItem.Value is just the string
representation of the selection.
Your actual selection is in the ComponentCollection.
On 03/04/2013 2:21 PM, Steven Caron wrote:
ya, don't save 'edge[LAST]' get your selection as a subcomponent and
get the index, both that link and matt's example code should get you
up to speed with this part of the API
On Wed, Apr 3, 2013 at 11:12 AM, Ponthieux, Joseph G.
(LARC-E1A)[LITES] <[email protected] <mailto:[email protected]>>
wrote:
Hmmm.
I think the problem I have is more complicated than I realized.
edge[LAST] is in my saved pre-selection
If I delete an arbitrary edge, say edge[64]
edge[LAST], or 120, then becomes edge[64]
edge[“whatever”], probably 119, becomes edge [LAST]
assuming I add more edges, reselecting the saved selection then
selects an edge other than 64, when 64 is what I really want
because it was originally 120.