Ejemplo n.º 1
0
        private List <DB.BoundarySegment> GetBoundarySegment()
        {
            List <DB.BoundarySegment> output = new List <DB.BoundarySegment>();

            DB.SpatialElementBoundaryOptions opt = new DB.SpatialElementBoundaryOptions();

            foreach (List <DB.BoundarySegment> segments in InternalRoom.GetBoundarySegments(opt))
            {
                foreach (DB.BoundarySegment segment in segments)
                {
                    output.Add(segment);
                }
            }

            return(output.Distinct().ToList());
        }