SplineObject::GetLineObject() does not work anymor

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

On 10/10/2011 at 11:20, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   13 
Platform:      
Language(s) :     C++  ;

---------
Hi,

thie following code worked in R12.

SplineObject *res = (SplineObject* )GetDeformedObject(op, doc);
LineObject *line = res->GetLineObject(doc,0.02);

In R13 there occured Access Violation error in function GetLineObject
every time.

Do you have the same problem or know how to fix or workaround this ?

Marc

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

On 11/10/2011 at 02:21, xxxxxxxx wrote:

Is GetDeformedObject your own function? Make sure it returns a valid object, e.g. check for NULL.

cheers,
Matthias

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

On 17/10/2011 at 23:53, xxxxxxxx wrote:

Yes that was the case.  I had changed the function "GetDeformedObject"months ago to proove that ists working on polygon objects properly. Fot forgot about to test it with the splines.

Shame on me. 😉