Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66672

Re: Dimension Creation

$
0
0
In 2016, get the grid reference for dimension creation like this:

Reference gridRef = null;
Options opt = new Options();
opt.ComputeReferences = true;
opt.IncludeNonVisibleObjects = true;
opt.View = doc.ActiveView;
foreach (GeometryObject obj in grid.get_Geometry(opt))
{
if (obj is Line)
{
Line line = obj as Line;
gridRef = line.Reference;
}
}

Viewing all articles
Browse latest Browse all 66672

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>