Help with setting Grid & Level extends through Python

Hi @RevitRobot

are you tried with a negative offset at input ? Could this suit you?

grids extend

I used this code