THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/10/2010 at 16:24, xxxxxxxx wrote:
Cinema 4D Version: 12.021
Language(s) : PYTHON ;
I'm trying to create a Python Generator object that will take a parametric spline object as an input and then spit out a standard spline with a B-Spline interpolation (specifically so I can round some of the harsh corners from a Turtle Mode MoSpline).
What is the equivalent of the "Make Object Editable" command in Python?
import c4d #B-Spliner: Converts all child spline objects into a single spline of type B def makeEditable(obj) : return obj.GetVirtualObjects() #This command doesn't exist, what should I use instead? def splineToBSpline(spline_obj) : return spline_obj def main() : return splineToBSpline(makeEditable(op.GetDown()))