Is there a method to obtain the overall Site boundary? I have not found one, if there is, but it would sure come in handy when creating reports. We must always include the project Boundary as the first item in a report, so being able to add it to the existing reports would be a huge timesaver.
Is there a method to obtain the overall Site boundary? I have not found one, if there is, but it would sure come in handy when creating reports. We must always include the project Boundary as the first item in a report, so being able to add it to the existing reports would be a huge timesaver.
Hi Jeff,
Site is an abstraction for construction site containing parcels and alignments. I don't see even in UI we assign any geometry to it nor it shows any geometry property like boundary etc. in UI dialog.
In your requirement, I think we can use Surface Boundary - isn't it ?
Thanks,
Partha
Hi Jeff,
Site is an abstraction for construction site containing parcels and alignments. I don't see even in UI we assign any geometry to it nor it shows any geometry property like boundary etc. in UI dialog.
In your requirement, I think we can use Surface Boundary - isn't it ?
Thanks,
Partha
Hi Partha,
While a Site can effectively not have a 'boundary, such as when miscellaneous alignments and featurlines exist, it can have a ParcelAreaLabel displayed showing the Site Area. The SIte Area is also displayed in Prospector. As I'm composing this response I am seeing the difficulty in providing this request. I guess I will just continue to do what I have always done and have a separate Site for the project Boundary.
No, a surface boundary would not work for this. At least not that I can tell as the Parcel MapCheck report only gets Parcel info.
Hi Partha,
While a Site can effectively not have a 'boundary, such as when miscellaneous alignments and featurlines exist, it can have a ParcelAreaLabel displayed showing the Site Area. The SIte Area is also displayed in Prospector. As I'm composing this response I am seeing the difficulty in providing this request. I guess I will just continue to do what I have always done and have a separate Site for the project Boundary.
No, a surface boundary would not work for this. At least not that I can tell as the Parcel MapCheck report only gets Parcel info.
Hi Jeff -
Since you need it now, I gave it a try 🙂
Looks like we can get the site boundary / perimeter from it's base curve.
Check this -
Site site = siteId.GetObject(OpenMode.ForRead) asSite;
Polyline sitePerimeter = (Polyline)site.BaseCurve ;
ed.WriteMessage(
"\nSite Name : " + site.Name.ToString());
ed.WriteMessage(
"\nSite Area : " + site.Area.ToString());
ed.WriteMessage(
"\nSite Perimeter : " + sitePerimeter.Length.ToString());
I did a quick test on a sample and seems returning correct results.
Please let me know if you find this returns incorrect boundary in your DWG files.
Thanks,
Partha Sarkar
Autodesk
Hi Jeff -
Since you need it now, I gave it a try 🙂
Looks like we can get the site boundary / perimeter from it's base curve.
Check this -
Site site = siteId.GetObject(OpenMode.ForRead) asSite;
Polyline sitePerimeter = (Polyline)site.BaseCurve ;
ed.WriteMessage(
"\nSite Name : " + site.Name.ToString());
ed.WriteMessage(
"\nSite Area : " + site.Area.ToString());
ed.WriteMessage(
"\nSite Perimeter : " + sitePerimeter.Length.ToString());
I did a quick test on a sample and seems returning correct results.
Please let me know if you find this returns incorrect boundary in your DWG files.
Thanks,
Partha Sarkar
Autodesk
Hi Jeff -
I am just revisiting this and wondering if you want the Site boundary geometry to be visible / printed as part of your project report ?
Thanks,
Partha
Hi Jeff -
I am just revisiting this and wondering if you want the Site boundary geometry to be visible / printed as part of your project report ?
Thanks,
Partha
OK. Thx for the confirmation !
OK. Thx for the confirmation !
Can't find what you're looking for? Ask the community or share your knowledge.