def create_effects() -> Generator[dag.DagAtom, None, None]: ctrl_object = c4d.BaseObject(c4d.Onull) ctrl_object.SetName("Spine_1_Ctrl") # yield example DagBaseObject yield dag.DagBaseObject(ctrl_object) constraint_tag = c4d.BaseTag(1019364) constraint_tag.SetName("Constraint") # yield example DagBaseTag yield dag.DagBaseTag(constraint_tag)
def create_example_dagbaseobjectlist(): return dag.DagAtomList( [dag.DagBaseObject(x) for x in create_example_baseobjects_list()])
def create_example_recursive_dagbaseobject(): return dag.DagBaseObject(create_example_recursive_baseobject())