Is there a way to extract the View Range values for a view?
i.e.
View Range Cut Plane
View Range Cut Plane Offset
View Range Level Above
View Range Level Above Offset
View Range Level Below
View Range Level Below Offset
if isinstance(IN[0], list):
Viewlist = UnwrapElement(IN[0])
else:
Viewlist = [UnwrapElement(IN[0])]
for v in Viewlist:
#indent code from line 20 onwards, replace a with v
It’s also worth noting that if the output returns -1, -2, -3 or -4, this translates to ‘Unlimited view depth’, ‘Level Above’, ‘Same as Plan Level’, ‘Level Below’ respectively (for the .GetLevelId ones). I cannot remember how i know this so i don’t know who to give credit to unfortunately.