public static bool SetISection(HndzISectionProfile Isection, HndzStructuralMaterial material) { SAPISection sapISection = default(SAPISection); sapISection.ConvertFromHndzIProfile(Isection, material); return(SAP2000API.SetISection(sapISection)); }
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); }