I have no idea how I missed Konrad’s response but, now that I found it, I’d like to ask how we might do the same thing but have the callout reference an existing view rather than create a new view.
John has a node in Rhythm to create reference section (which will also prove to be quite useful) so I imagine it can be cone… but both his and Konrad’s are “hidden” in a zero touch node so I can’t reverse engineer – which is about as far as my programming chops extend.
This, BTW, is what I’ve been doing to date. It works alright except that the callout heads end up being duplicated on top of the selected and duplicated reference callout and have to be moved manually after it’s run. I have no problem moving the heads, but if the heads were adjacent to the callout boundary, rather than to the original callout, it would be quite a bit better to sell as a workflow.
And that view is just a little snippet of a larger floor plan. Something like a enlarged detail that you want to show references to on other floor plans.
You can query that view for a crop box, and then create a reference callout from it. Since reference callouts accept rectangles as input, we have to break down the CropBox BoundingBox object, into a two dimensional Rectangle. I also published these nodes here:
Any chance this node works with other view types? I am using an engineer plan and the node fails. But when i switch it to a floor plan view the node works.