I’m trying to create section curves from geometry attached through a Worksession.
With IntersectTwoSets, I use a ClippingPlane from the active document as the First Set and Worksession geometry as the Second Set. With OutputLayer=SecondSet, the resulting curves are placed on the Default layer instead of the source layers (image 1).
With Section and AssignProperties=ByInputObject, the curves are placed on the correct Worksession layers (image 2), but I can’t properly work with them because these layers belong to the referenced model.
My goal is to create the section curves on the corresponding source layers, but still have them as normal editable geometry in the active document, so I can flatten them to the World XY plane for export.
Is there a way to achieve this, or would I first need to duplicate the Worksession layer structure into the active document?
As you noted, that doesn’t work. The problem here, though, is not that you can’t work with geometry on an attached worksession layer. It shouldn’t be possible to create geometry on such layers at all. This issue has been fixed in Rhino 9 where running Section in this scenario now creates the output on the current layer of the active document.
If you need that geometry to end up on a layer of an external file like this, you need to set that other file as the active file.
-wim
Thanks Wim, that makes sense now. Thanks for taking the time to explain it!
But one more follow up questions - What if the geometry comes from multiple Worksession reference files at the same time? In that case, setting one of the reference files as the active file wouldn’t really work, since the section can contain geometry from several reference files.
Is there another recommended workflow for that situation? Thanks again!