THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/09/2005 at 14:27, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ;
I'm trying (using COFFEE) to create a Boolean object, which is apparently a BaseObject.
The 9.1 Coffee doc indicates to use
[BaseObject] AllocObject([int] type);
but it seems that function is new in 9.1
Hence I tried:
var boolObj = new(BaseObject,BaseObject->Oboole);
but that gives a runtime error:
(5)Incompatible values... CLASS / OBJECT
I've also tried :
var boolObj = new(BaseObject,Oboole);
but that fails immediately at startup. Dunno what the scope of the constant Oboole is, might not be available.
What's the right syntax for this?
Once created, I'll need to set the Boolean object to Type 'A intersect B', and since I can't find a specific class for a Boolean object in the SDK (seems to be just a BaseObject), how can I set the type?