protected override void SolveInstance(IGH_DataAccess DA)
        {
            FemDesign.Materials.MaterialDatabase materialDatabase = null;
            string materialName = null;

            if (!DA.GetData(0, ref materialDatabase))
            {
                return;
            }
            if (!DA.GetData(1, ref materialName))
            {
                return;
            }
            if (materialDatabase == null || materialName == null)
            {
                return;
            }

            Materials.CltPanelLibraryType cltPaneltype = materialDatabase.GetCltPanelLibraryTypeByName(materialName);

            DA.SetData(0, cltPaneltype);
        }
        protected override void SolveInstance(IGH_DataAccess DA)
        {
            Materials.CltPanelLibraryType cltPanelLibraryType = null;
            if (!DA.GetData("CltPanelLibraryType", ref cltPanelLibraryType))
            {
                return;
            }

            Materials.TimberFactors factors = null;
            if (!DA.GetData("TimberFactors", ref factors))
            {
                return;
            }

            bool shearCoupling = true, gluedNarrowSides = true;

            DA.GetData("ShearCoupling", ref shearCoupling);
            DA.GetData("GluedNarrowSides", ref gluedNarrowSides);

            FemDesign.Materials.TimberPanelType obj = new Materials.TimberPanelType(cltPanelLibraryType, factors, shearCoupling, gluedNarrowSides);

            DA.SetData(0, obj);
        }