Dynamical Layout
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/11/2003 at 07:07, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;---------
We plan to set up a whole specific design application on top of cinema. The main problem at the moment is, that we cannot work with a static layout. It is a nice feature to define your own layout in cinema and select it for specific tasks. It would be very helpful to do these actions, like docking a dialog, by some lines of c++ code. The best would be a function like GeDialog.Dock( GeDialog* dialog, LONG position ).....so just to dock a dialog to another one dynamically. Havent found such a function till now, are there any ideas how something like that could be done, or even a hint to an existing function?
A second nice thing would be to get the ID of cinema dialogs. For example in most layouts there exist the three dialogs objects, structure and browser as tabs. If I would have the ID of the browser dialog, I could bring that one to foreground if I need it for some action.
And a third nice gimmick would be the view window....one can generate as much views as he wants just by clicking view->new 3d view in cinema. First of all it would be nice to call this function by c++, to open a new view dynamically just when we need one, dock it somewhere, later close it the same way. And well....if I could open a new view window ( which should be a GeDialog, isn't it? ), wrap it with a SubDialog, and attach this view inside one of my own dialogs, to use it as a kind of preview window inside my own dialog....well, that would be perfect
Will be happy for any kind of solutions or even just hints! Thanks in advance. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/11/2003 at 09:23, xxxxxxxx wrote:
Several things you want to do are not possible (e.g. dock windows by the SDK).
You can however execute editor commands (to open new views, or open/bring managers to the front) using the following code:
BaseContainer msg(COREMSG_CINEMA_EXECUTEEDITORCOMMAND);
msg.SetLong(COREMSG_CINEMA_EXECUTEEDITORCOMMAND, lID);
SendCoreMessage(COREMSG_CINEMA, msg, 0); -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/11/2003 at 01:52, xxxxxxxx wrote:
I even thought that most of these things are not possible...but its only 4 weeks till xmas, so I added some extra wishes, who knows if they may be fulfilled
Thanks for your hint, to open cinema dialogs and to bring dialogs to the front will help me alot! -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/11/2003 at 23:42, xxxxxxxx wrote:
These three lines of code work fine, at least with my own plugins. But it would be nice to execute cinema commands, like to open a new view panel or a browser. Therefor I would need the according id. Any idea where I could find get them from?