Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: CF5371 on February 03, 2016, 08:56:47 PM

Title: Saving Embedded Objects in Library
Post by: CF5371 on February 03, 2016, 08:56:47 PM
Hi,

i worked through the Randomise Books Tutorial and wanted to safe this Style in my User Library.
http://www.itoosoft.com/tutorials/tutorial_bookshelf_books.php
But when i want to apply the style to a simple spline in another scene only the first part of the spline is filled with books and only with normal standing books, no vertically stacked books for example.

So I think the Array breaks when the embedded objects like the vertically stacked books are tried to use.

You can reproduce this by saving the "book_end_vray.max" scene from the tutorial in a library with the RC_Book_001 as the object.

Am I doing something wrong here?

Regards, Matthias
Title: Re: Saving Embedded Objects in Library
Post by: Paul Roberts on February 04, 2016, 01:42:12 PM
Hi!

This is because the embedded styles are dependent on a spline which is not imported when using the library. You can get around this by editing the embedded styles so that they use the X Size property instead of a spline to determine the array's length.

(http://i.imgur.com/QerXsD9.png)

You'll need to do this for the stack of books and both leaning book embedded styles as well.

You'll find that the stack of books is no longer oriented correctly when using X Size instead of a vertical spline. So to fix this, open the master style and change the RC-Books segment's Transform > Rotation > X Value to 90 degrees.

(http://i.imgur.com/r2kQSim.png)

Basically, nested railclone styles are possible in the library, so long as the embedded styles don't require splines. I hope that helps to clarify the issue, but please let me know if there's anything else.

Many thanks!

Paul