ok, another step forward towards the full usability of the scatter node with c4d

now is possible to obtain automatically all the matrices of the clones of a mograph object, it's a bit tricky but it works.
here is the procedure:
- download the "octane-scatter-v04.c4d" attached to this post
- copy and paste the two null objects with the xpresso tag in your scene
- very important, select the YXZ rotation order for both the xpresso in the hud of the viewport, otherwise the generated matrix is not correct
- drag the cloner to be scattered in the proper field in the user-data tab of the "clone&scatter" object
- read the total number of clones in the field just below and use it to set the duration of the animation in the timeline subtracting one frame
- go to frame 0 and set a keyframe with the value of 1 in the field just below
- go to the last frame and set a key with the value of the total number of copies
- go to the animation menu and set the play mode to simple to avoid the loop
- open the console window in the script menu and clear the content from the file menu inside the console
- click play and voilà, in the console appear the matrices already formatted and ready to be paste in the scatter node
note:
- the last matrix is repeated twice (you can erase it directly in the scatter node), probably caused by the automatic stopping of the animation. in fact it's really important to do the last two steps consecutively and do nothing in between, otherwise some undesired matrices are written in the console
-there is a limit of 999 lines to be displayed at one time in the console window so if the total number of copies exceeds the limit, it's necessary to set the animation to 0-998, then 999-1998 and so on.
-unfortunately the xpresso is quite slow to execute, but you can play with octane meanwhile

here is the file:
and here is an example of a pine in a mograph with 961 clones over a landscape object:
ciao beppe