Objects can be superimposed by displaying them in different layers of a viewport.
session.viewports[name].layers[name]
This method creates a Layer object in the Layer repository.
session.viewports[name].Layer
Required argument
A String specifying the repository key.
Optional argument
A String specifying the name of the layer to copy.
Return value
A Layer object.
Exceptions
This method moves the layer object before another object in the layer repository.
Required argument
A String specifying the name of the other Layer object.
Optional arguments
Return value
Exceptions
This method moves the layer object after another object in the layer repository.
Required argument
A String specifying the name of the other Layer object.
Optional arguments
Return value
Exceptions
The Layer object has members with the same names and descriptions as the arguments to the Layer method.
In addition, the Layer object can have the following members:
A Displayable object specifying the object to be displayed. The Displayable type is an abstract generalization. The concrete possible types are Part , Assembly , ConstrainedSketch , Odb , or XYPlot .
A View object specifying the object that controls viewing of the layer.
An OdbDisplay object specifying the display options for the Odb object.
A PartDisplayOptions object specifying the display options for the Part object.
An AssemblyDisplayOptions object specifying the display options for the Assembly object.