Ejemplo n.º 1
0
 public static Snap.NX.Category Wrap(Tag nxopenCategoryTag)
 {
     if (nxopenCategoryTag == Tag.Null)
     {
         throw new ArgumentException("Input tag is NXOpen.Tag.Null");
     }
     NXOpen.Layer.Category objectFromTag = Snap.NX.NXObject.GetObjectFromTag(nxopenCategoryTag) as NXOpen.Layer.Category;
     if (objectFromTag == null)
     {
         throw new ArgumentException("Input tag doesn't belong to an NXOpen.Layer.Category object");
     }
     return(objectFromTag);
 }
Ejemplo n.º 2
0
 internal Category(NXOpen.Layer.Category category)
 {
     this.NXOpenCategory = category;
 }