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

Re: Fail to get reference for grid for dimension in 2017

$
0
0

I didn't try the code, but maybe this works:

 

Grid g = Grid.Create(doc, Line.CreateBound(new XYZ(0.0, 0.0, 0.0), new XYZ(10.0, 0.0, 0.0)));
Reference r1 = g.Curve.GetEndPointReference(0);
Reference r2 = g.Curve.GetEndPointReference(1);

Let me know.

 

regards

Christian


Viewing all articles
Browse latest Browse all 66666

Trending Articles



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