Composite Session Containers can be created in ATLAS 10 using the following code:
// The number of the compare set slot in which to create the container. int setNumber = 1; // The alias (name) of the compare set slot. string setAlias = "Sample Compare Set"; // The colour of the compare set slot. Color setColour = Colors.Red; // Show the container on the timeline. bool showOnTimeline = true; ICompositeSessionContainerController container = sessionService.CreateCompositeSessionContainerIfNotExist( setNumber, setAlias, setColour, showOnTimeline);
Note that the above code will return an existing ICompositeSessionContainerController if one already occupies the specified slot. Composite Session Containers can be deleted from ATLAS 10 with the following code:
sessionService.RemoveCompositeSessionContainer(compositeSessionContainerIdentifier);
Comments
0 comments
Please sign in to leave a comment.