コード例 #1
0
 public static Snap.NX.ProjectCurve Wrap(Tag nxopenProjectCurveTag)
 {
     if (nxopenProjectCurveTag == Tag.Null)
     {
         throw new ArgumentException("Input tag is NXOpen.Tag.Null");
     }
     NXOpen.Features.ProjectCurve objectFromTag = Snap.NX.NXObject.GetObjectFromTag(nxopenProjectCurveTag) as NXOpen.Features.ProjectCurve;
     if (objectFromTag == null)
     {
         throw new ArgumentException("Input tag doesn't belong to an NXOpen.Features.ProjectCurve object");
     }
     return(objectFromTag);
 }
コード例 #2
0
 internal ProjectCurve(NXOpen.Features.ProjectCurve projectCurve) : base(projectCurve)
 {
     this.NXOpenProjectCurve = projectCurve;
 }