I'm trying to combine branches of a graph with save paths set so that a sublayer arc is used. I want the trunk to be saved to the main file specified in the rop, however. I'm seeing odd behavior where the first sublayer includes everything in the trunk instead of just the branch to be sublayered. Changing the sublayer position parameter to weakest produces the partition I want, but I don't want the strength of the layering to be changed, just the partitioning.
For example, I create a sphere, and sublayer a camera with save path set. The output main usd is just: “sublayer camera.usd”, and camera.usd contains the sphere and the camera. I wouldn't expect sublayer position to have any bearing on this arrangement. What I expect is: left input of sublayer goes in main stream, right input goes into sublayer file. There's no ambiguity about it. Before using the sublayer I was using a merge, and I expected the save path and ‘start new layer’ option to also produce my desired result. Strangely, sometimes it does, such as when I merge in a third layer.
If I rearrange the inputs to the merge so that the items I want in the trunk are merged last, it outputs the files as I expect, but this is the opposite of what I would expect to happen.