예제 #1
0
 public override void CreateAttributes()
 {
     if (Properties.Settings.Default.Is_Hu_Attribute)
     {
         m_attributes = new Hu_Attribute(this);
     }
     else
     {
         m_attributes = new GH_ComponentAttributes(this);
     }
 }
예제 #2
0
 public override void CreateAttributes()
 {
     //   base.CustomAttributes(this,3);
     if (Properties.Settings.Default.Is_Hu_Attribute)
     {
         m_attributes = new Hu_Attribute(this);
     }
     else
     {
         m_attributes = new Grasshopper.Kernel.Attributes.GH_ComponentAttributes(this);
     }
 }