Navigation

    • Register
    • Login
    • Search
    1. Home
    2. ymoon
    Y

    ymoon

    @ymoon

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

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

    Best posts made by ymoon

    RE: Run command, after c4d fully loaded...

    Thank you.. It's Solved.
    @fwilleke80 @ferdinand and @kbar

    def PluginMessage(_id, data):
    if _id == c4d.C4DPL_PROGRAM_STARTED:

    posted in Cinema 4D SDK •

    Latest posts made by ymoon

    RE: C++ SDK activeobject.cpp <-- highlight text on select item

    @manuel
    Thank you for your help. It's what I wanted. It works as expected. Best "Manuel"
    2023-03-09_202908.png

    Now we are going to modify it so that drag and drop is possible. I can ask for help again. thank you

    posted in Cinema 4D SDK •
    C++ SDK activeobject.cpp <-- highlight text on select item

    Hi & Hello....
    I am studying the C++ SDK examples.
    This is a question about activeobject.cpp.
    I want to highlight text on item selection as shown in the picture.
    Any help would be appreciated. Thanks.

    2023-03-09_064328.png

    posted in Cinema 4D SDK •
    RE: Copy Paste Point Global Position

    @cairyn
    It Works. Thank You. Very Much.

    posted in Cinema 4D SDK •
    Copy Paste Point Global Position

    I want copy point position(World) & paste to Other Object's Point(World).
    The coordinate manager can displays the World-Position values. but there is no copy paste function.
    You can use the Snap function of C4D, but I want to reduce even one click.

    I want to create two scripts and assign a shortcut key to each.(copy / pate)
    Python is not easy. Ask for help.

    import c4d
    
    def main():
    
        sel_pt = op.GetPointS()
        id_sel_pt = 0
    
        for i in range(op.GetPointCount()):
             if sel_pt.IsSelected(i):
                 id_sel_pt = i
    
        objectmg = op.GetMg()
        selgmg = op.GetPoint(id_sel_pt) * objectmg
        print(selgmg)
        
        c4d.CopyStringToClipboard(selgmg) 
    
    if __name__ == '__main__':
        main()
    

    Paste Clipboard --> c4d.GetStringFromClipboard()
    Move Point --> op.SetPoint(id,c4d.Vector())

    posted in Cinema 4D SDK •
    RE: Priority: PriorityData and PriorityList

    @rownn said in Priority: PriorityData and PriorityList:

    Hi m_adam,

    thank you very much for the enlightenment on priorities, it helps alot, and sorry for my late reply.

    Greetings and thx again
    rownn

    PS: I´ll keep the pointed way of posting in mind.

    Hello @rownn
    This is another question. I am writing here because there is no way to contact you. You are the developer of "Rounded Corner (c4dnetwork)". Would you make it run on R25?

    posted in Cinema 4D SDK •
    RE: Run command, after c4d fully loaded...

    Thank you.. It's Solved.
    @fwilleke80 @ferdinand and @kbar

    def PluginMessage(_id, data):
    if _id == c4d.C4DPL_PROGRAM_STARTED:

    posted in Cinema 4D SDK •
    Run command, after c4d fully loaded...

    Run command, after c4d fully loaded...

    I'm trying to render hundreds of scenes.
    Currently using the C4D "Render Queue".
    However, C4D is crashing for some unknown reason.
    It's very tiring to keep watching C4D.
    I found a way to restart C4D whenever C4D crashes.

    Now I'm looking for a way to open the "render queue window" and run the "render start" command after the C4D is fully loaded.

    python_init.py is of no use as it is done before C4D is fully loaded.

    Is it possible in C4D to?
    1.Open C4D, Fully Loaded
    2.Open "Render Queue" Window
    3.Run Command "Render Start"(in Render Queue)

    Thank You....

    posted in Cinema 4D SDK •