Exemplo n.º 1
0
        public static bool SetISection(HndzISectionProfile Isection, HndzStructuralMaterial material)
        {
            SAPISection sapISection = default(SAPISection);

            sapISection.ConvertFromHndzIProfile(Isection, material);
            return(SAP2000API.SetISection(sapISection));
        }
Exemplo n.º 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);
        }