Example #1
0
        /// <summary>
        /// Write the specified panel element set to the ETABS group with the specified name.
        /// </summary>
        /// <param name="groupName"></param>
        /// <param name="pES"></param>
        /// <param name="context"></param>
        public void WriteSet(string groupName, PanelElementSet pES, ETABSConversionContext context)
        {
            var items = pES.Items;

            foreach (var item in items)
            {
                string id = context.IDMap.GetSecondID(item);
                if (id != null)
                {
                    SapModel.AreaObj.SetGroupAssign(id, groupName);
                }
            }
        }
Example #2
0
 /// <summary>
 /// Initialise a set to contain the items and filters from another set
 /// </summary>
 /// <param name="other"></param>
 public ElementSet(PanelElementSet other) : this((ElementSet)other)
 {
 }