THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/06/2008 at 16:02, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
---------
Hi
i want adding a Camera.
> \> var cam = new(CameraObject); \> doc->InsertObject(cam, NULL, NULL); \>
the following also works
> \> var cam = AllocObject(Ocamera); \> doc->InsertObject(cam, NULL, NULL); \>
The following code doesn't work with both version.
> println(cam-> GetFocus());
with kind regards msthavoc