Exemplo n.º 1
0
 protected SAPLoad(string name, SAPLoadPattern loadType, HndzLoadDirectionEnum loadDirection, bool isReplacement = true)
 {
     Name          = name;
     LoadType      = loadType;
     LoadDirection = loadDirection;
     IsReplacement = isReplacement;
 }
Exemplo n.º 2
0
 public SAPDistributedLoad(string name, SAPLoadPattern loadType, double dist1, double dist2,
                           double val1, double val2, HndzLoadDirectionEnum loadDirection, bool isRelativeDist = true, bool isReplacement = true) :
     base(name, loadType, loadDirection, isReplacement)
 {
     IsRelativeDist = isRelativeDist;
     Dist1          = dist1;
     Dist2          = dist2;
     Val1           = val1;
     Val2           = val2;
 }
Exemplo n.º 3
0
        public static bool AddLoadPattern(SAPLoadPattern pattern)
        {
            int flag = mySapModel.LoadPatterns.Add(pattern.Name, pattern.Type, pattern.SelfWeightMultiplyer, pattern.IsAnalysisCase);

            if (flag != 0)
            {
                pattern.IsDefinedInSAP = false;
                return(false);
            }
            pattern.IsDefinedInSAP = true;
            return(true);
        }
Exemplo n.º 4
0
 public SAPPointLoad(string name, SAPLoadPattern loadType, HndzLoadDirectionEnum loadDirection, double distance, double value, bool isReplacement = true) : base(name, loadType, loadDirection, isReplacement)
 {
     Distance = distance;
     Value    = value;
 }