コード例 #1
0
        public IGH_Param CreateParameter(GH_ParameterSide side, int index)
        {
            var param = new Param_NewObjectProperty();

            param.NickName = String.Empty;
            param.Access   = GH_ParamAccess.item;
            return(param);
        }
コード例 #2
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            var param1 = new Param_NewObjectProperty();

            param1.NickName = String.Empty;
            param1.Access   = GH_ParamAccess.item;
            pManager.AddParameter(param1);
            var param2 = new Param_NewObjectProperty();

            param2.NickName = String.Empty;
            param2.Access   = GH_ParamAccess.item;
            pManager.AddParameter(param2);
            VariableParameterMaintenance();
        }