Example #1
0
            public override bool ShouldDisplay(RhinoObject obj)
            {
                if (Source_Props == null)
                {
                    Source_Props = new Pach_SourceControl();
                }

                List <RhinoObject> Selected = GetSelected();

                if (Selected.Count > 0)
                {
                    Source_Props.Load_Doc(Selected);
                    return(true);
                }
                //default case is not to support the selected object type
                return(false);
            }
            public override bool ShouldDisplay(RhinoObject obj)
            {
                if (Source_Props == null) Source_Props = new Pach_SourceControl();

                List<RhinoObject> Selected = GetSelected();
                if (Selected.Count > 0)
                {
                    Source_Props.Load_Doc(Selected);
                    return true;
                }
                //default case is not to support the selected object type 
                return false;
            }