예제 #1
0
 /// <summary>
 /// Write all load cases to the ETABS file
 /// </summary>
 /// <param name="cases"></param>
 /// <param name="context"></param>
 public void WriteLoadCases(LoadCaseCollection cases, ETABSConversionContext context)
 {
     foreach (var lc in cases)
     {
         int id = SapModel.LoadCases.StaticLinear.SetCase(lc.Name);
         context.IDMap.Add(lc, id.ToString());
     }
 }
예제 #2
0
        private RigidElement(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            nodeNumbers       = info.GetValue <int[]>("nodeNumbers");
            _useForAllLoads   = info.GetBoolean("_useForAllLoads");
            _appliedLoadCases = info.GetValue <LoadCaseCollection>("_appliedLoadCases");

            _centralNodeNumber = info.GetValue <int?>("_centralNodeNumber");
            //_hingedConnections = info.GetBoolean("_hingedConnections");

            this._nodes = new NodeList();
        }
예제 #3
0
        private RigidElement(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            this._appliedLoadTypes = (BriefFiniteElementNet.LoadTypeCollection)info.GetValue("_appliedLoadTypes", typeof(BriefFiniteElementNet.LoadTypeCollection));
            nodeNumbers            = (int[])info.GetValue("nodeNumbers", typeof(int[]));

            _useForAllLoads   = info.GetBoolean("_useForAllLoads");
            _appliedLoadCases = (LoadCaseCollection)info.GetValue("_appliedLoadCases", typeof(LoadCaseCollection));

            //_centralNodeNumber = info.GetValue<int>("_centralNodeNumber");
            //_hingedConnections = info.GetBoolean("_hingedConnections");

            this._nodes = new NodeList();
        }