Navigation

    • Register
    • Login
        No matches found
    • Search
    1. Home
    2. kverhaar
    K

    kverhaar

    @kverhaar

    1
    Reputation
    4
    Posts
    7
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    kverhaar Follow

    Best posts made by kverhaar

    RE: c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD)

    @m_adam said in c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD):

    c4d.CallButton(myTagPSR, c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD)

    Thanks for this info. In de future I will try to do so. I my attempt to make it a small example I find my error. The command doc.InsertObject() was below the AIM in my script. For the AIM it is no problem but for the callbutton it is.

    posted in Cinema 4D SDK •

    Latest posts made by kverhaar

    RS Reference Node in Python

    Haay Maxon, I making a script to make a Redshift material with the node RS Reference. But I can't figure out what to write to make it work. I trayed the followings:

    node[c4d.GV_REDSHIFT_SHADER_META_CLASSNAME] = "RSReference"
    node[c4d.GV_REDSHIFT_SHADER_META_CLASSNAME] = 1041092

    Thanks for commenting

    Regards,
    Kris

    posted in Cinema 4D SDK •
    RE: c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD)

    @m_adam said in c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD):

    c4d.CallButton(myTagPSR, c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD)

    Thanks for this info. In de future I will try to do so. I my attempt to make it a small example I find my error. The command doc.InsertObject() was below the AIM in my script. For the AIM it is no problem but for the callbutton it is.

    posted in Cinema 4D SDK •
    RE: c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD)

    I hoped it was something small, because the script I made is 700 rules long and is connected to a cinema file. I put the files to this reply. I work in version S22.123

    If you open the cinema file you can run the script. I changed the PSR is changed in a AIM, and the command that is not working is in rule 245. In the tree the aim can be found on "Center Mid 02". I hope this gives something where you can find the problem.

    Thanks for you reply

    Sheaves of python.c4d [0_1600762843324_PY Sheaves9.py](Uploading 100%)

    posted in Cinema 4D SDK •
    c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD)

    Dear all,

    I try to add a PSR constraint with 2 targets, and this I do with de callbutton. This is in a loop. But somehow I can't find what I doing wrong. Do I have to add something before I do a callbutton command?

            #Add PSR constraint to CenterMid
            myTagPSR = ListCenterMid[Loop3].MakeTag(1019364)
            myTagPSR[c4d.ID_BASELIST_NAME] = "PSR "
            myTagPSR[c4d.ID_CA_CONSTRAINT_TAG_PSR] = True
            c4d.CallButton(myTagPSR,c4d.ID_CA_CONSTRAINT_TAG_PSR_ADD)
            myTagPSR[10001] = ListCenterIn[Loop3]
            myTagPSR[10011] = ListCenterOut[Loop3]
    
    posted in Cinema 4D SDK •