python create fracture object



  • On 22/08/2017 at 09:20, xxxxxxxx wrote:

    Hey, I'm trying to create a fracture object that can store created objects.

    something like this:

    frac = c4d.BaseObject(c4d.0mograph_fracture) # Fracture
    doc.InsertObject(frac)

    "0mograph_fracture" doesn't exist, but im trying to figure out something like this.  suggestions?



  • On 22/08/2017 at 11:19, xxxxxxxx wrote:

    You can drag and drop any object into the console. That will give you an ID, use that id for creat ethe object
    http://recordit.co/Yjt2M7NbGn



  • On 22/08/2017 at 15:27, xxxxxxxx wrote:

    Ah, fantastic!  Thank you!!  Noob here.

    I was confused how to translate the number from the c4d.CallCommand to the c4d.baseObject.



  • On 23/08/2017 at 07:55, xxxxxxxx wrote:

    For future readers, another option is to open thew Script Log from Script menu and then create the desired object. The ID you get in CallCommand() is equal to the ID of the object type. Not saying it's better than the described workflow above, probably a matter of personal preference.



  • On 23/08/2017 at 09:26, xxxxxxxx wrote:

    Oh, completely forgot, Seth!

    Welcome to the Plugin Café forums 🙂


Log in to reply