Message 1 of 1
Move Project base point beyond 10miles/16km
Not applicable
11-23-2016
12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
How do I move Project base point beyond 10miles/16km via revit api.
Using the following code:
FilteredElementCollector collectora = new FilteredElementCollector(Command.uiApp.ActiveUIDocument.Document).OfClass(typeof(BasePoint));
foreach (BasePoint locationPoint in collectora)
{
BasePoint basePoint = locationPoint as BasePoint;
if (basePoint.IsShared)
{
}
else
{
basePoint.Pinned = false;
basePoint.Location.Move(new XYZ(northing, easting, z));
}
}
Thanks & Regards
Sanjay Pandey