On 26/03/2015 at 13:51, xxxxxxxx wrote:
Hello friends,
I was curious: is it possible to return/turn a BaseObject (such as a Helix primitive) into a SplineObject without inserting it into the active document and using a CallCommand to make it editable?
Using helix.GetCache() (for example) returns a LineObject, which is helpful since that's a PointObject, but I was really hoping to use SplineObject's GetSegment() and GetTangent() functions.
I guess every time its GetDirty() changes I could clone it, insert it into the doc, make it editable, grab the info I need, then remove it, but that seems, well, wrong. I'm only bothering to ask (I could probably get away with just point positions) because the Thinking Particles' Follow Spline preset, which uses COFFEE and calls GetSplineTangent at some point, works on a primitive.
Thanks a million.