Create a viewport of an other document



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 10/11/2012 at 14:02, xxxxxxxx wrote:

    Hello,

    I would like to create a viewport of an other document than the active one.
    To have the active document opened, and an other document in a asynchronous dialog.

    I don't know if it's possible, but when I see the material preview, who is like a little preview document opened in a frame, I think it could be possible.

    I started to open my document with c4d.documents.LoadDocument(), get his BaseDraw, but I don't know how create a new viewport window, the only solution I found is the command c4d.CallCommand(12544), but I don't find how inject the hidden doc or his BaseDraw on it and keep the active document.

    Does anyone have an idea ?


Log in to reply