Example #1
0
        /// <summary>
        /// This function assumes that an IBuiltUpSection consists of a start and end section, further development to send an array of sections is recommended
        /// </summary>
        /// <param name="IBuiltUpSection"></param>
        /// <returns></returns>
        public static bool SetITaperedSection(HndzITaperedProfile profile, HndzStructuralMaterial material)
        {
            SAPITaperedSection section = new SAPITaperedSection();

            section.ConvertFromHndzTaperedI(profile, material);
            return(SAP2000API.SetITaperedSection(section));
        }
Example #2
0
        public static HndzITaperedProfile GetITaperedSection(HndzITaperedProfile profile, ref HndzStructuralMaterial material)
        {
            SAPITaperedSection section = new SAPITaperedSection();

            section.ConvertFromHndzTaperedI(profile, material);
            section = SAP2000API.GetITaperedSection(section);
            HndzITaperedProfile hndzProfile = new HndzITaperedProfile();

            hndzProfile = section.ConvertToHndzTaperedI(ref material);
            return(hndzProfile);
        }