SetSegments() is not working

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/01/2004 at 09:02, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:      
Language(s) :   C.O.F.F.E.E  ;

---------
Hi forum,

I cannot get a COFFEE plugin to work that generates a spline with more than one segment. op->Message(MSG_SEGMENTS_CHANGED, vc); does not seem to work. Can anyone confirm this?

Thanx in advance

cheers mnu

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/01/2004 at 06:11, xxxxxxxx wrote:

Do you get a compilation error or a runtime error? If it's the former you could try to copy the message definition from the C++ API. If it's the latter, then please post a small snippet of source that shows how you create the spline.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 13/01/2004 at 06:34, xxxxxxxx wrote:

Hi Mikael,

I don't get any error. But the Spline simply does not have any segments after the call to op->Message. The SegmentCount is 0 although the segments array is formatted properly.

cheers mnu