Can we modify Grid 2D extension override using Python and API?


#1

As we know, Grids have 3D extent and a 2D extent override in views. I want to be able to bulk modify the 2D extent for given views. For example, lets say it is 12mm now, I want to be able to reduce it by 6mm. I don’t know if the API can address this property (Grid / per view), but if it can we should be able to do it in Dynamo and then do it in bulk? Any ideas appreciated.


#2

Luke-

In 2015, that is not possible with the API. In 2016 though, some new methods came out that should make that possible. (See below). I have not yet tried as the majority of my projects are still 2015, but I’m hopeful these methods will allow me to do exactly what you are asking about. Keep us posted on your progress (2d grid extents are a major pain point…)

DatumPlane.PropagateToViews()

GetPropagatedViews()

DatumPlane.IsBubbleVisibleInView()

GetCurvesInView()