Ok. Today question is about Clusters in C++.
I'm trying to get actualized geometry elements from cluster.
And i thought that i can get it this way
for (LONG i = 0; i < curClusters.GetCount(); i++)
{
CRef curref; curref.Set(curClusters[i]);
Application().LogMessage(L"CollectClusterComps::curClusters[i]:
" + curClusters[i] );
Cluster cur_cls(curref);
if (cur_cls.IsValid())
{
CLongArray prev_comps = cur_cls.GetElements().GetArray();
Application().LogMessage(L"CollectClusterComps::prev_comps:
" + prev_comps.GetAsText() );
}
}
But this way i get wrong components ids.
So. I guess if i can literally see right components indices
[image: Встроенное изображение 1]
there should be a way to get it without changing current selection
(Cluster.SelectMembers() commands etc).
------
Softimage Mailing List.
To unsubscribe, send a mail to [email protected] with
"unsubscribe" in the subject, and reply to confirm.