Jump to content

kalugin

Premium Member
  • Posts

    361
  • Joined

  • Last visited

  • Days Won

    15

Community Answers

  1. kalugin's post in How to run with python "selecting mode" of UserData`s - Link? was marked as the answer   
    what you are trying to achieve is doable via these:
    BaseDocument.GetPickSession(self)
    BaseDocument.StartPickSession(self, callback, multi)
    BaseDocument.StopPickSession(self, cancel)
     
    read the SDK
    https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.documents/BaseDocument/index.html?highlight=pick#BaseDocument.StartPickSession
  2. kalugin's post in Cloning a rope made out of a Spline Wrap was marked as the answer   
    hm, C4D is acting weird. It appears that you need the Connect object after all. I tried removing it and it still appeared that it's working without it, but actually c4d didn't refresh for some reason.

  3. kalugin's post in Easy way of replicating a spline connecting to two objects (not dynamic)? was marked as the answer   
    here is a simple xpresso setup. You need a spline with 4 points. the second and the third points of the spline are offset on the Y axis of objA and objB to get the smooth result that you are aiming for.

    cable.c4d
  4. kalugin's post in Mimic Effect in Cinema 4D (Edge of Tomorrow) was marked as the answer   
    a little update. This could definitely work. I think I'll do some more tweaking. It's fun 😄
     
    mimic.zip
  5. kalugin's post in Looking for Python Script : Create Instances from multiple Selected objects was marked as the answer   
    import c4d def main(): objs = doc.GetActiveObjects(0) for obj in objs: inst = c4d.BaseObject(c4d.Oinstance) inst.InsertAfter(obj) inst[c4d.INSTANCEOBJECT_LINK] = obj inst.SetName(obj.GetName()+"_inst") c4d.EventAdd() if __name__=='__main__': main()  
    Enjoy 🙂
  6. kalugin's post in Looking for Python Script : Create Instances from multiple Selected objects was marked as the answer   
    import c4d def main(): objs = doc.GetActiveObjects(0) for obj in objs: inst = c4d.BaseObject(c4d.Oinstance) inst.InsertAfter(obj) inst[c4d.INSTANCEOBJECT_LINK] = obj inst.SetName(obj.GetName()+"_inst") c4d.EventAdd() if __name__=='__main__': main()  
    Enjoy 🙂
×
×
  • Create New...