public static BbRectangleOpening Create(BbElement hostElement,
                              BbCoordinate2D position,
                              double width,
                              double height,
                              SemHoleLocation location,
                              bool through)
 {
     var hole = new BbRectangleOpening(hostElement, position, width, height, location, through);
     BbInstanceDB.AddToExport(hole);
     return hole;
 }
        public static BbRectangleOpening Create(BbElement hostElement,
                                                BbCoordinate2D position,
                                                double width,
                                                double height,
                                                SemHoleLocation location,
                                                bool through)
        {
            var hole = new BbRectangleOpening(hostElement, position, width, height, location, through);

            BbInstanceDB.AddToExport(hole);
            return(hole);
        }
 public static BbRectangleOpening Create(BbElement hostElement,
                      BbCoordinate2D position,
                      double width,
                      double height,
                      SemHoleLocation location,
                      bool through,
                      BbPropertySet bbPropertySet,
                      string featureSubType,
                      double rectangleOpeningRoundRadius)
 {
     var hole = new BbRectangleOpening(hostElement, position, width, height, location, through);
     hole.AddRectangleOpeningProperty(bbPropertySet, featureSubType, width, height, rectangleOpeningRoundRadius);
     BbInstanceDB.AddToExport(hole);
     return hole;
 }
        public static BbRectangleOpening Create(BbElement hostElement,
                                                BbCoordinate2D position,
                                                double width,
                                                double height,
                                                SemHoleLocation location,
                                                bool through,
                                                BbPropertySet bbPropertySet,
                                                string featureSubType,
                                                double rectangleOpeningRoundRadius)
        {
            var hole = new BbRectangleOpening(hostElement, position, width, height, location, through);

            hole.AddRectangleOpeningProperty(bbPropertySet, featureSubType, width, height, rectangleOpeningRoundRadius);
            BbInstanceDB.AddToExport(hole);
            return(hole);
        }