Пример #1
0
            public override bool ShouldDisplay(RhinoObject obj)
            {
                if (obj_Props == null)
                {
                    obj_Props = new Pach_objProps();
                }
                List <RhinoObject> Selected = this.GetSelected();

                if (Selected.Count > 0)
                {
                    obj_Props.Load_Doc(Selected);
                    return(true);
                }
                return(false);
            }
 public override bool ShouldDisplay(RhinoObject obj)
 {
     if (obj_Props == null) obj_Props = new Pach_objProps();
     List<RhinoObject> Selected = this.GetSelected();
     if (Selected.Count > 0)
     {
         obj_Props.Load_Doc(Selected);
         return true;
     }
     return false;
 }