c3d-parcels
Installation
SKILL.md
Civil 3D Parcels
Use this skill when creating, modifying, or querying parcels and sites, working with parcel segments and topology, or configuring parcel styles and labels.
Sites
Sites are containers that enforce topology between parcels and alignments. All parcels must belong to a site.
CivilDocument doc = CivilApplication.ActiveDocument;
// Get all sites
ObjectIdCollection siteIds = doc.GetSiteIds();
foreach (ObjectId siteId in siteIds)
{
Site site = ts.GetObject(siteId, OpenMode.ForRead) as Site;
ed.WriteMessage("Site: {0}\n", site.Name);