XRef Scene

An externally referenced scene, or XRef scene, appears in your current file, but is actually loaded temporarily from another MAX file. As a result, the source scene is protected from any modifications you might make to the XRef scene via the main scene. Updates or changes made to the source scenes are also updated in the main file once the changes are made and saved to the source file.

XRef scenes allow a team working on the same project to have access to each other’s work without the risk of changing the files. A designer can model a building, a second modeler might create the landscape; or one modeler might create a setting while another modeler creates a character. The animator can externally reference the setting as a scene and animate the cameras or characters in the setting without being able to make changes to the setting. If the setting file is changed, those changes will be reflected in the animator’s scene.

Objects loaded in the main file via XRef scenes cannot be selected nor modified, and do not appear in the Select From Scene dialog or Scene Explorer, the modifier stack, or the Track View. You can animate them in the current file only by using the Bind To Parent function in the XRef Scenes window.

You can snap to externally referenced scene entities. You can use Snap, AutoGrid, and Clone and Align to position local objects in context, as well as to pick objects as the target location for the clones. If you need to move, rotate or scale the referenced scene, you can bind it to a local object. Transforming the object the externally referenced scene was bound to transforms all objects in the externally referenced scene. You can also use externally referenced objects in the scene as the reference coordinate system. When you save changes to the externally referenced file (such as objects added, edited, or deleted), updating the XRef Scene inherits those changes locally.

Importing the whole village model into the building model as an XRef

Radiosity solution data cannot be part of an XRef if objects have duplicate names. To solve this, change the duplicate names. Also, to reference radiosity data externally, the Save Scene Information In MAX File switch must be on in the Radiosity panel of the Preferences dialog. (It is on by default.)

Be aware that render effects are not carried into the main scene by XRef scenes. To use the render effects (such as glow or flare) from the XRef file, merge them in using the Merge buttons found in the Environment And Effects dialog.

Note: Atmospheric effects assigned to objects in the source file are carried into the main file when the source file is used as an XRef scene.

Choosing XRef Scene displays the XRef Scenes dialog.

Note: XRef scenes have a limitation that does not allow linked files from the source scene/object to carry forward when merged into a new scene. For example, say we have a source scene that contains an object that links to a dwg (CAD) file. A main scene references the source through an XRef scene. The XRef scene then gets merged into main. As a result, the main scene will lose the link to the original CAD file. Any changes to the originally linked CAD file will not appear in main.

Accessing XRef Scenes

Although XRefs are inaccessible “boxes” in the scene, they can be accessed in various ways.

Nesting XRef Scenes

XRef scenes can be nested. That is, an XRef scene can contain other XRef scenes, which can in turn contain other XRef scenes.

Note: For a nested XRef scene to update automatically, all of its parent scene files (files that include it as an XRef) must have Auto Update turned on .

For more about nesting XRef scenes, see the "XRef Scene Overlays" page.