Navigation

    • Register
    • Login
    • Search
    1. Home
    2. orestiskon
    3. Best
    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    Best posts made by orestiskon

    Dirty State with Python Generator

    Hi all,
    I'm trying to get a python generator to only refresh when a source object is dirty, but can't seem to get it to work.
    I move the object, change its geometry, change its parameters, it is never recognized as dirty.
    I tried many different Dirty Flags and I can't get it to work.
    Any idea what I'm doing wrong?

    def main():
        obj = op[c4d.ID_USERDATA,2]
        if obj.IsDirty(c4d.DIRTYFLAGS_ALL):
            print "object is dirty"
            return c4d.BaseObject(c4d.Ocube)
        else:
            return None
    

    python_dirtyState.c4d

    posted in Cinema 4D SDK •
    RE: Interfacing with Gumroad's API

    @r_gigante The reason I'm going with Gumroad is because it provides a system that I can automate as an indie developer. I can make useful C4D tools and plugins, but I'm not a web developer nor a fully-fledged programmer.

    The current license system in Cinema 4D implies that the user generates License Information and sends it to the plugin developer to get get a personalized key back.
    I could do this either by hand via emails, or by implementing an automated system on a website with an online software that does that.

    The first option is a horrible ux experience for the user and a huge overhead for the developer, so it's an invalid option.
    The second option requires me to become a full-blown web developer to make a simple c4d plugin, requiring completely disproportional amount of effort.

    Therefore yes, I would argue having to develop our own license systems is a very big reason why c4d developers are so few.

    Maxon implemented a new license system with 21, which would be great for plugins if they could use it. I.e. every plugin license to be added to the MyMaxon account, and let the maxon licensing system do the licensing. But this is not how we can use it.

    Not only that but there are some very big limitations currently. If a studio account has 20 c4d licenses, I can't tie the plugin to a specific c4d version as I would with the serial numbers. I can only tie it to 1 machine, which is limiting and uncomfortable for the customer, or tie it to the account and allow them to only get 1 plugin license and use it in 20 different c4d licenses simultaneously.

    In the end I see redshift have it's own license server, x-particles having their own licensing system, and the indie plugin developers having no idea what to do and how to do it.

    Either way the licensing system has a lot of room for improvement. Currently it doesn't seem to be made with the plugin developers in mind; especially indie developers are struggling with it, as I've noticed in numerous people I talked with.

    posted in General Talk •
    RE: Arranging Objects by order of Object Manager

    @lasselauch Thanks Lasse, that's great advice, GetObjects() should work.

    posted in Cinema 4D SDK •
    RE: Interfacing with Gumroad's API

    Thanks @r_gigante for the feedback. I can't really comment from experience about the previous system, as I haven't developed a plugin for it.

    I would be interested however to know how would you propose to solve the example I gave.
    When I was inquiring about this case when the new licensing was introduced, I couldn't find any solution either.

    We want to fulfill two requirements:

    1. Provide a floating plugin license that can be installed in as many machines as the user wants.

    2. If they have 20 c4d licenses and they bought 3 plugin licenses, they should be able to use it with 3 out of their 20 cinema 4d licenses.

    It's pretty common case, I would guess many if not most plugins would have similar requirements.

    I can solve the 1st case by tying the plugin to the User ID.
    I can solve the 2nd case by tying the plugin to the machine ID but that breaks the 1st case.
    I don't think any of the other information such as binary type, binary version or c4d licensing type is helping with the above. I would expect to use a Cinema 4D License ID but I don't believe it exists.

    posted in General Talk •