Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
C++-Api question

C++-Api question

2004-12-13       - By Reinhard Claus

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

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