• Bevel Object Type

    Cinema 4D SDK python r20
    3
    0 Votes
    3 Posts
    796 Views
    P
    Thanks. And yes, I used that value already. -Pim
  • 0 Votes
    3 Posts
    944 Views
    A
    Amazing! Thank you again Andreas!
  • Confusing ToolData content

    Cinema 4D SDK python c++ r19 r20
    20
    1 Votes
    20 Posts
    5k Views
    S
    Congrats on the new forum! it is very informative About time
  • Objectdata and Bevel objects

    Cinema 4D SDK python r20
    6
    2
    0 Votes
    6 Posts
    2k Views
    P
    Hi Riccardo, I am not sure what you mean, but I guess you mean that you define selection tags on one of the children and use that selection on the resulting objectdata object? -Pim
  • Please help - Python script

    Cinema 4D SDK python
    3
    1 Votes
    3 Posts
    1k Views
    a_blockA
    Hi, I'm afraid @Cairyn already contributed everything we could. We need to leave this to the community. Sorry. I have moved this to the General Programming & Plugins Discussions category, as I don't regard it as a very C4D specific question. Please, correct me, if I'm wrong. Cheers, Andreas
  • SetDocumentData options for exporting

    Cinema 4D SDK r20 python
    4
    0 Votes
    4 Posts
    1k Views
    M
    Hi @Rage I guess export_OBJ example on our Github repository is what you are looking for. Note for the moment values of the BaseContainer are not available in the Python Documentation. But you could find them in the C++ documentation about fobjexport2.h. If you have any question please let me know. Cheers, Maxime.
  • 0 Votes
    5 Posts
    1k Views
    a_blockA
    I forgot to turn this thread into a question. Done now, and as I regard the last post as a "solved" message, I also marked it as solved. Please, don't hesitate to turn back to unresolved, if I was wrong.
  • RestartApplication() / c4d.RestartMe()

    Cinema 4D SDK c++ python classic api
    4
    0 Votes
    4 Posts
    1k Views
    a_blockA
    Sorry, in contrary to what I had written here before, we will not add RestartApplication() to the documentation. These calls have certain intricacies, so their use will be at own risk. This is now based on an answer from our development. Cheers, Andreas
  • Clear LinkBox field

    Cinema 4D SDK python r19 windows
    3
    0 Votes
    3 Posts
    1k Views
    A
    Hi Andreas, Thank you very much! It works like a treat and I appreciate your thorough explanation! Happy Friday! Andre
  • PySide2 Integration

    Moved General Talk python
    8
    1 Votes
    8 Posts
    3k Views
    M
    @Aeoll Additional question: I'm creating a QApplication and then a QDialog but I can't seem to close the QApplication at all when the dialog is | closed? This means even when C4D is closed normally it's still running in the background and needs to be force-quit. Any | suggestions appreciated I have the same issue with PySide. You mentioned that sole this issue. Could you Help me?
  • Quaternion rotation

    Cinema 4D SDK
    5
    0 Votes
    5 Posts
    2k Views
    a_blockA
    Hi, please, do not delete discussions threads. The contained information might be valuable for future readers. Cheers, Andreas
  • Linking something to a handle

    Cinema 4D SDK python r20
    9
    0 Votes
    9 Posts
    3k Views
    a_blockA
    Nice, congrats I have to admit, I forgot to turn this thread into a question. I did so now and I also marked it as solved, as your last post seems to imply. Cheers, Andreas
  • Pipeline integration

    Moved Cinema 4D SDK
    8
    0 Votes
    8 Posts
    2k Views
    M
    Because you didn't insert the actual renderer: InsertVideoPost() BaseVideoPost
  • string format

    Moved Cinema 4D SDK
    4
    0 Votes
    4 Posts
    1k Views
    M
    Hi @Jvos, First of all, (no worry at all) I would like to remind you to read How to Post Questions especially the part about categories. Since your topic is related to Cinema 4D please next time create a topic within cinema 4d development. (I've moved it). Regarding your issue, pretty much all parameters in Cinema 4D are stored in a BaseContainer. A BaseContainer is a dictionary which links an ID (Int) to a Data. When you are doing Object[Something] you access the value within this BaseContainer. If you write in the console c4d.REDSHIFT_LIGHT_PHYSICAL_INTENSITY, it will print you the ID of this parameter. Then to get the value of a parameter which is stored in the object's BaseContainer, you don't have to pass a string, but the ID, which is registered with a SYMBOL NAME because it's easier to remember than an arbitrary number (In some case there is no SYMBOL equivalent for an ID). So as @mikeudin suggested the eval function is the right way to go, or you can directly store the ID in your list. attributes = [c4d.REDSHIFT_LIGHT_PHYSICAL_INTENSITY, c4d.REDSHIFT_LIGHT_PHYSICAL_EXPOSURE] Finally, there is no official C4D slack/discord or chat. Cheers, Maxime.
  • get lamp attributes?

    Moved Cinema 4D SDK
    7
    0 Votes
    7 Posts
    2k Views
    a_blockA
    Hi, @Jvos it looks like your question got answered. Afterwards you deleted this thread. I'd like to ask you not to do so. This forum is all about sharing knowledge. There are no stupid questions and nothing to be ashamed about. Every answered question might help a future developer. I have moved this thread into the Cinema 4D Development category. Cheers, Andreas
  • Rotate selected polygons

    Cinema 4D SDK r20 python windows
    3
    0 Votes
    3 Posts
    875 Views
    P
    Hi Andreas, Ok, so I have to rotate the points to rotate a polygon. I thought so. That is why I assumed that when I can rotate points, I can rotate polygons. Thanks. Regards, Pim
  • Get rotation of animated object with python

    Cinema 4D SDK python windows
    2
    0 Votes
    2 Posts
    735 Views
    a_blockA
    Hi, don't be surprised, I have turned your thread into a question. The problem is, that the document will actually not be animated (or lets rather say, it will not be evaluated or executed) when calling SetTime(). Additionally you need to call ExecutePasses(). The BaseDocument manual in our C++ SDK documentation contains some extra information on this topic in the sections Time and Animate. Cheers, Andreas
  • Invert normals only for selected polygons

    Cinema 4D SDK r20 python
    4
    1
    0 Votes
    4 Posts
    3k Views
    J
    Thank you for the kind help! @m_adam: The plug-in you have linked is very useful. I could fix some problems with the "Select polygons by normal direction" function. Working with badly constructed meshes is no fun job either way. Kind regards, Julien.
  • Setting texture paths with plugin on startup

    Cinema 4D SDK r20 python
    9
    0 Votes
    9 Posts
    3k Views
    B
    Omg! I had an old version of the plugin defined in the Plugins list in prefs that set the paths to []. Blush Deluxe! Sorry for wasting your time. Works perfectly fine. Regards Bonsak
  • SetPixel() for 32 bit float images

    Cinema 4D SDK python r20 sdk
    3
    0 Votes
    3 Posts
    1k Views
    O
    Thanks so much this is exactly what I was looking for.