C++-Api question 2004-12-13 - By Reinhard Claus
Back Hi, I'm just starting to use the C++ api and got stuck at a basic thing, retrieving the selected edges indices. I use: Code: XSI::Selection l_sel = app.GetSelection(); XSI::CRef l_cref = l_sel[0];
to get the selection. This is what I get. Code: l_cref.GetClassIDName returns "Object" l_cref.GetAsText returns "disc.edge[23-28]"
All I have is that CRef now but I don't want to dissect the string to get the edge indices. There must be another way, or so I thought. Sorry for the beginner's question but I'm obviously missing something and can't find out what. Cheers, Reinhard
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|