예제 #1
0
        public static bool SetISection(HndzISectionProfile Isection, HndzStructuralMaterial material)
        {
            SAPISection sapISection = default(SAPISection);

            sapISection.ConvertFromHndzIProfile(Isection, material);
            return(SAP2000API.SetISection(sapISection));
        }
예제 #2
0
        public static HndzISectionProfile GetISection(HndzISectionProfile profile, ref HndzStructuralMaterial material)
        {
            SAPISection section = new SAPISection();

            section.ConvertFromHndzIProfile(profile, material);
            section = SAP2000API.GetISection(section);
            HndzISectionProfile hndzProfile = new HndzISectionProfile();

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