• Join command result offset

    r20 c++ python
    3
    0 Votes
    3 Posts
    631 Views
    rsodreR
    @m_adam Hi Maxime, Thanks for this workaround, indeed puts the polygon on the right place. Best, roger
  • Distributing Python Plugins that have Dependencies

    14
    0 Votes
    14 Posts
    4k Views
    dskeithbuckD
    @m_adam said in Distributing Python Plugins that have Dependencies: As an Idea but didn't try and will not have the time to do it today (so if you try, do it at your own risks), but you could try to install things using directly the python executable from the resource folder I'm moving onto different parts of development, but I'll likely want to investigate this later and will post an update if I do. Thanks!
  • Delete points based on distance

    Moved python
    13
    0 Votes
    13 Posts
    3k Views
    A
    I thing after short research that c4d.plugins.ObjectData could actually be the solution I am after. I will be posting my progress here. Once again Thanks Guys for heads up!!!!! Thanks
  • Node Editor API for R21?

    r21 python
    6
    0 Votes
    6 Posts
    795 Views
    F
    @s_bach OK, thanks!
  • Update Render Path in an Xpresso Node

    Moved
    3
    0 Votes
    3 Posts
    903 Views
    D
    Hi Maxime, Thanks again a lot I just needed to replace the part in the python-node where you newly written how the path is being generated by my own Path-String-generation-algorythm which is builded from the content of the file watched. Sure, it's the risky way, as you mentioned it, but it works for this time. Greets Matthias
  • HTTP Requests with `maxon` API

    python
    5
    0 Votes
    5 Posts
    1k Views
    dskeithbuckD
    @m_adam said in HTTP Requests with `maxon` API: Hi @dskeithbuck thanks a lot for trying to use the new Maxon API. Thank you so much for the working sample code, that answers my question. I look forward to switching over to the Maxon API for URL requests once these kinks get worked out.
  • Questions about Bake Texture tag & Python

    python
    11
    1
    0 Votes
    11 Posts
    1k Views
    mfersaouiM
    Hi, Thank you very much @zipit and have a good day.
  • R21 plugin licensing

    2
    0 Votes
    2 Posts
    758 Views
    S
    Hello, as far as I know the licenseID is a temporary session ID that is only used internally. It has no use for third party developers. The hardware ID is based on the corresponding OS functions. So the hardware ID is the same as long the OS thinks the system is the same. Please also notice that, for internal reasons, the format of any of these IDs may change in future releases. Is it up to the studios to decide how they want to license their software. A typical use case could be that a studio creates a single account that is shared in the company. So there would be one user ID for the whole studio. It is up to you to decide if you want to bind your plugin to that user ID or a system ID. best wishes, Sebastian
  • Creating Pop-up Menus

    r21 python
    5
    0 Votes
    5 Posts
    1k Views
    B
    @m_adam RE: Maya radial Yea, it by theory the multiple gedialogs with pop-up from certain distance from the mouse should create a radial. I'll probably have it for another time/thread. Thanks for the response. Will consider this thread close RE: non working code example. Sure sure. Will let you know if anything comes up. The codes I referred above was from awhile ago, so I don't have immediate memory of them.
  • Hide a specific object in a specific viewport but not in others?

    r20 python
    9
    0 Votes
    9 Posts
    2k Views
    ManuelM
    Hello, This thread will be considered as solved tomorrow unless you have something to add ? Cheers, Manuel
  • Import C4D vs Import Maxon

    python r21
    9
    0 Votes
    9 Posts
    1k Views
    B
    @zipit @m_magalhaes Yes, zipit was correct on my concern: If he has to worry about the new API on day-2-day tasks like selecting an object Guess, I don't have to for now. Thanks for the clarification.
  • 0 Votes
    4 Posts
    699 Views
    ManuelM
    @Jmelon said in How to use BaseDraw::DrawObject/DrawPolygonObject draw constant color like Display Tag Constant Shading mode: and sorry for my negligence, I will pay attention next time Don't worry at all, it helps us to answer your question faster and searching trough the forum. Cheers, Manuel
  • Safety of GetCache() after ExecutePasses()?

    r20 classic api
    3
    0 Votes
    3 Posts
    554 Views
    F
    @m_magalhaes said in Safety of GetCache() after ExecutePasses()?: The scene will be update and you can retrieves the caches. Great, thanks! /Filip
  • Detect RenderDocument() in videopost

    5
    0 Votes
    5 Posts
    889 Views
    F
    @m_magalhaes "when you are using RenderDocument, you can set the RENDERFLAGS, so it can be virtually "anything"" -Yes, that makes sense. Thanks. "Can i ask you why you need to know if a render have been started using the RenderDocument() function ?" -In a custom renderer, I am exploring the possibility of sometimes (depending on user selected options) sending the rendered images to an external image viewer (not the c4d picture viewer). In this case, if RenderDocument() is called, we would still want to render to the c4d bitmap to make sure RenderDocument() correctly returns an image. Anyway, as I said, this was a bit of a long shot. Since this appears not to be possible, I will explore other options. Thanks! /Filip
  • Get shader's parent ID

    python r19
    8
    0 Votes
    8 Posts
    1k Views
    A
    @m_magalhaes said in Get shader's parent ID: hello, thanks @zipit ^^ just one thing, in the context of the script manager, you don't need DOC = c4d.documents.GetActiveDocument() there is already doc. cheers, Manuel. Corrected! Thank you Manuel!
  • PYTHON - GetCustomDataTypeDefault(--- integer ---)

    6
    0 Votes
    6 Posts
    1k Views
    ManuelM
    Hello, nothing to add, thanks @zipit for the answer @Leo_Saramago don't forget to mark your thread to solved. Cheers, Manuel
  • Hair material Thickness Texture on spline segments

    r20 r19 c++
    6
    0 Votes
    6 Posts
    911 Views
    rsodreR
    @m_magalhaes Based on the hair_shader.cpp example, I implemented a workaround with a custom shader on the Texture attribute, using calc_sample to sample per segment. Works fine!
  • Weight Manager Window access help

    python r20
    7
    1
    0 Votes
    7 Posts
    1k Views
    chuanzhenC
    @zipit Thanks for showing me so much detail.
  • Load file from plugin directory

    Moved python sdk
    4
    0 Votes
    4 Posts
    820 Views
    ManuelM
    hello, @zipit thanks for your answer. for your next threads, please help us keeping things organised and clean. I know it's not your priority but it really simplify our work here. Q&A New Functionality. How to Post Questions especially the tagging part. I've added the tags and marked this thread as a question so when you considered it as solved, please change the state In the python help, you have a link to github where you can find examples. https://github.com/PluginCafe/cinema4d_py_sdk you will see sometimes in those example this code : path, fn = os.path.split(__file__) bmp = bitmaps.BaseBitmap() bmp.InitWith(os.path.join(path, "res", "gravitation.tif")) Just to add a few words about c4d.storage.GeGetC4DPath() That's the classic API. In c++ with the maxon API you have GetUrl In Python, in r20 symbol are not set and if you want to retrieve the resource directory it will return the Cinema4D's one and not your plugin's one. Cheers Manuel
  • 0 Votes
    3 Posts
    481 Views
    ferdinandF
    Hi, thank you for the clarification. Cheers zipit