THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/11/2004 at 17:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.012
Platform: Windows ;
Language(s) : C++ ;
---------
Hi Guys,
Really new to C++ and the Cinema SDK. But I want to get all the selected objects in the document. This I belive can be done by doing this:
AutoAlloc<AtomArray> objects; if (!objects) break;
GetActiveDocument()->GetActiveObjects(objects, TRUE);
To me this means that all the selected elements will be stored in 'objects'. My question is how can I access the individual elements of the AtomArray so I can get the position of each object in the selection? Thanks in advance for any help