예제 #1
0
 public HndzOpening(string name, string description, HndzProfile profile = null, HndzLine extrusionLine = null, HndzExtrudedElement relatedProduct = null, Double baseOffset = 0) : base()
 {
     Name           = name;
     Description    = description;
     Profile        = profile;
     ExtrusionLine  = extrusionLine;
     RelatedProduct = relatedProduct;
     BaseOffset     = baseOffset;
     if (RelatedProduct != null)
     {
         base.BuildingStorey = RelatedProduct.BuildingStorey;
     }
     AddToAssociatedProduct();
     base.AddToAssociatedStorey();
 }
예제 #2
0
 public HndzOpening(HndzProfile profile, HndzLine extrusionLine, HndzExtrudedElement relatedProduct = null,
                    Double baseOffset = 0) :
     this(HndzResources.DefaultName, HndzResources.DefaultDescription, profile,
          extrusionLine, relatedProduct, baseOffset)
 {
 }