GetPointPolys
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/11/2002 at 08:34, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;---------
When trying to use the GetPointPolys example from the SDK I get an undeclared identifier Error from the compiler. Even the Example Gravitation file doesn´t work.
Anything wrong in the SDK or just user error? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/11/2002 at 08:34, xxxxxxxx wrote:
Quote: Originally posted by 3D Designer on 15 November 2002
>
> * * *
>
> Anything wrong in the SDK or just user error?
Probably the latter...
At least your post didn't provide us with any information about the error, so it's hard to know. Could you perhaps post the generated error message? The SDK project compiles fine here, of course. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/11/2002 at 08:39, xxxxxxxx wrote:
D:\Programme\Maxon\8.012\plugins\cinema4dsdk\source\object\Gravitation.cpp(34) : error C2065: 'GetPointPolys' : undeclared identifier
Error executing cl.exe.
Gravitation.obj - 1 error(s), 0 warning(s)
This is what I get when trying to compile the Gravitation example. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/11/2002 at 08:48, xxxxxxxx wrote:
Sorry, maybe my fault. In the Gravitation example there is no GetPointPolys. So this is wrong but I just tried to use the SDK Example from the Neighbor Class
LONG *dadr = NULL, dcnt = 0, i, poly;
GetPointPolys(1, &dadr, &dcnt);
for (i=0; i<dcnt; i++)
{
poly=dadr[i];
// ... do something...
}
and then the error above appears. I guess now I am sure I am doing something wrong. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/11/2002 at 09:13, xxxxxxxx wrote:
Well I guess it was a doc error. Now I used n.GetPointPolys (pretty logical isn´t it?
and it of course works now.
So thanks I got it now. But the docs should be changed there.
Best
Samir -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/11/2002 at 09:28, xxxxxxxx wrote:
Thanks for finding this error.