• PolygonObject.SetSelectEdges() and the Neighbor() class, a giant dilemma

    6
    0 Votes
    6 Posts
    1k Views
    M
    @m_adam said in PolygonObject.SetSelectEdges() and the Neighbor() class, a giant dilemma: ... Hope it answers your questions, Cheers, Maxime Thank you Maxime, this is a lot of useful info. Let me think through all of this and reply here if I have any further issues.
  • First Time calling SetAction does show the Brush tool's AM

    r20 r21 c++
    16
    0 Votes
    16 Posts
    2k Views
    C4DSC
    @m_adam said in First Time calling SetAction does show the Brush tool's AM: And I did test only on R21 so be sure to check again because I wasn't able to reproduce as you said with default layout in R21. Cheers, Maxime. I am using R21.207 and with default layout see the brush tool in the AM (identical to what happens with R20.059). For safety, I have now tested your solution on R21 and works as expected.
  • Custom data+gui access with GetParameter()

    c++ r21 r20 r19
    6
    0 Votes
    6 Posts
    1k Views
    rsodreR
    @m_magalhaes No hurry, for now there's just one place where I need this, I get it using the BaseContainer. But I will probably use it more often, so if the DOTS example is updated I can replicate the solution to my own type and remove this workaround. Thanks!
  • Avoiding invalidating saved scenes when implementing Read/Write

    c++ sdk
    18
    0 Votes
    18 Posts
    2k Views
    ManuelM
    hi, back to the subject, i was tracking the bug and I discovered it was on my chair. After messing around too much about the code, I was doing something very wrong. when you register your scenehook what is the level ? (last parameter of RegisterSceneHookPlugin) Cheers, Manuel
  • GetWidth() for GeDialog?

    r21 python
    4
    0 Votes
    4 Posts
    428 Views
    B
    Hi @m_adam . Apologies for bringing up the thread again. I just have a follow up question. The def Message works well for the consecutive duration of the dialog. But for the initial life (i.e on startup), the def Message will not be executed . Is there a way to determine the width and height of the dialog upon its startup?
  • SetActiveRenderData Does Not Work As Expected?

    r21 python
    3
    0 Votes
    3 Posts
    450 Views
    B
    @PluginStudent Thanks for the explanation. Your solution works as expected
  • Global Variable doesn't work on CoreMessage?

    r21 python
    7
    0 Votes
    7 Posts
    1k Views
    M
    @bentraje I don't have that much to add on your topic since I think @zipit already explained everything nicely. In any case some good resource for you about how global variable works in Python Global keyword in Python and Mutable vs Immutable Objects in Python. Regarding your last question, I think you should open a new topic, but the short answer there is no way to pass directly a variable with a MessageData, the best way is to use a scope accessible by both part and store this variable in this shared scope (can be global or any other). Cheers, Maxime.
  • 0 Votes
    4 Posts
    1k Views
    M
    Hi @daniell welcome on the plugincafe forum, Don't worry since it's your first post, I've set up it correctly but please for the next one, make sure to read and apply the next rules: Q&A New Functionality. How to Post Questions especially tagging. Finally, regarding your issue, you may find relevant the NodeData::GetDParameter() Manual and NodeData::SetDParameter() Manual. Cheers, Maxime.
  • Content Browser Like Navigation?

    r21 python
    3
    0 Votes
    3 Posts
    630 Views
    B
    @r_gigante Thanks for the reference. For anyone trying to achieve the same, here is a sample file. https://www.dropbox.com/sh/z1lzyphp8qnt9kw/AAB2P5gNo16IHafgc6xPEsy4a?dl=0 Thanks again for @zipit for the help.
  • XPresso: Modify UserData

    8
    0 Votes
    8 Posts
    2k Views
    Passion3DP
    @zipit work fine thanks a lot
  • Treeview Creates An Extra Column?

    r21 python
    3
    0 Votes
    3 Posts
    407 Views
    B
    @m_adam Thanks! Works as expected
  • XPresso python node

    3
    0 Votes
    3 Posts
    755 Views
    Passion3DP
    Thanks @PluginStudent
  • Copy Material with Current State to Object

    Moved python
    5
    0 Votes
    5 Posts
    1k Views
    SwinnS
    Got it. Thanks, again, zipit for you answer.
  • Isoparm in Deformer plugin

    r20 c++ r21
    12
    1 Votes
    12 Posts
    2k Views
    Danchyg1337D
    @r_gigante Thanks for your reply! You were absolutely right about checking input type. When i did a simple type check everything started to work as it should!
  • delete Redshift node

    3
    1
    0 Votes
    3 Posts
    965 Views
    SwinnS
    Cool! Thanks.
  • 0 Votes
    5 Posts
    1k Views
    ferdinandF
    Hi, thanks, that answers all my questions. Cheers, zipit
  • Renderqueue Layout/Dialog Questions

    5
    1
    0 Votes
    5 Posts
    940 Views
    M
    I'm sorry for the huge delay asked for this question, but it appears, that this dialog layout is hardcoded in the default Cinema 4D layout, so when you open it this dialog, it loads this layout by default since it's saved in the default Cinema 4D layout. Unfortunately, there is no way to do the same thing with code but you can split your GUI in 2 parts and let the user build its own layout with all the Command and your Dialog bellow. Cheers, Maxime.
  • Change a rendering parameter in python xpresso node

    12
    0 Votes
    12 Posts
    2k Views
    Passion3DP
    @Cairyn Thanks, all work fine for this module
  • Copying Layers along with Objects

    c++ r20 sdk
    6
    0 Votes
    6 Posts
    839 Views
    D
    @Cairyn Thanks again! That's what I was afraid of, but thanks for the information!
  • 1 Votes
    8 Posts
    1k Views
    r_giganteR
    Thanks @moGRR for reaching out us. With regard to your question, as pointed out by @zipit, it's not possible to have a Python Generator to generate object which can be recognized as real spline by generators/deformers expecting a spline as input due to the Python Generator flags used in its registration. Beside the option mentioned by @zipit I also invite to have a look at this post where it's presented a generator outputting spline and accepting splines as input. Best, R