Exemplo n.º 1
0
 public override void InitializeList()
 {
     base.AddRange(APIObjectList.GetElements(false, new BuiltInCategory[]
     {
         this.m_category
     }));
 }
Exemplo n.º 2
0
 public override void InitializeList()
 {
     Category[] categorys = (from c in APIObjectList.ActiveDocument.Settings.Categories.OfType <Category>()
                             where c != null && c.HasMaterialQuantities
                             select c).ToArray <Category>();
     base.AddRange(APIObjectList.GetElements(false, categorys));
 }