public static Snap.NX.OffsetCurve Wrap(Tag nxopenOffsetCurveTag) { if (nxopenOffsetCurveTag == Tag.Null) { throw new ArgumentException("Input tag is NXOpen.Tag.Null"); } NXOpen.Features.OffsetCurve objectFromTag = Snap.NX.NXObject.GetObjectFromTag(nxopenOffsetCurveTag) as NXOpen.Features.OffsetCurve; if (objectFromTag == null) { throw new ArgumentException("Input tag doesn't belong to an NXOpen.Features.OffsetCurve object"); } return(objectFromTag); }
internal OffsetCurve(NXOpen.Features.OffsetCurve offsetCurve) : base(offsetCurve) { this.NXOpenOffsetCurve = offsetCurve; }