示例#1
0
 public static Snap.NX.ThroughCurveMesh Wrap(Tag nxopenThroughCurveMeshTag)
 {
     if (nxopenThroughCurveMeshTag == Tag.Null)
     {
         throw new ArgumentException("Input tag is NXOpen.Tag.Null");
     }
     NXOpen.Features.ThroughCurveMesh objectFromTag = Snap.NX.NXObject.GetObjectFromTag(nxopenThroughCurveMeshTag) as NXOpen.Features.ThroughCurveMesh;
     if (objectFromTag == null)
     {
         throw new ArgumentException("Input tag doesn't belong to an NXOpen.Features.ThroughCurveMesh object");
     }
     return(objectFromTag);
 }
示例#2
0
 internal ThroughCurveMesh(NXOpen.Features.ThroughCurveMesh throughCurveMesh) : base(throughCurveMesh)
 {
     this.NXOpenThroughCurveMesh = throughCurveMesh;
 }