THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/10/2010 at 16:21, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;
---------
I'm trying to create a tool that mimics the loop selection tool with some additions. I am able to get a loop selection by using the neighbor class and using GetNeighbor() I loop through the polys and get the neighbor of the selected poly and if the neighbor shares the .c and .d points with the previous poly it selects that poly. This allows for a simple loop selection. However, this idea doesn't always work because the polys are not always situated in such a way that the .c and .d points are the connected to make a loop.
I assume that the neighbor class is the way to go but does anyone know how the loop selection tool in C4D creates a loop selection? My neighbor class setup is not working quite right.
Thanks,
Shawn