THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/03/2004 at 07:28, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 6.3
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;
---------
This is probably a stupid question, but I can't figure out how to create new geometry in a COFFEE script. I want to write an import filter and am using
var po = new(PolygonObject);
to create a new PolygonObject, but I don't know how to add points and polygons to that object. I tried using SetPoint() and SetPoints(), but none of them works. Can anyone post a simple example, like a script that generates a square or a box? Thanks.