I’m working on a graph to locate Viewports consistently on Sheets.
I have one almost working, but its problem is that the Annotation Crop can vary between the Views. So, while I can get the lower left corner in the same place for all Views, the modeled elements aren’t in the same place everywhere.
What I’m attempting now is to:
- Save the Crop settings for each View
- Set every View’s Annotation Crop to the same value
- Align all the Views
- Set the Crops back to their original value
I’ve gotten a lot of help from this thread
and I have everything working except the final one. I don’t know how to pass a list into a Python node and have it operate on the second level.
Can anyone point me to an example of that?
Here’s my slightly modified version of andrea’s SetAnnotationSize.dyn
MySetAnnotationSize.dyn (2.3 KB)
If I pass in separate values (View ID, Bottom size, Left size, top, right) it works fine.
But I want to pass in a list of lists for multiple Views. Like this:
(Sorry for the multiple edits)