摘要: #======================================================================proc output_desr { } {#====================================================================== global tool_name cut_descr cut_stock cut_depth global mom_group_name mom_machine_time global mom_output_file_basename mom_... 阅读全文
posted @ 2014-01-27 16:14 yizongxing 阅读(816) 评论(0) 推荐(0) 编辑
摘要: using NXOpen;using NXOpen.UF;//通过NXOpen.UF命名空间包装了UFun来实现。//C语言中UFun(API);面向过程开发;主要支持造型功能using NXOpen.Utilities;using NXOpenUI;未完 阅读全文
posted @ 2014-01-26 10:19 yizongxing 阅读(256) 评论(0) 推荐(0) 编辑
摘要: try { int total = int.Parse(tBox_PGNum.Text);//取得输入的数量 string begin_str = tBox_BeginChar.Text; int begin = int.Parse(Regex.Match(begin_str, @"\d+[^\d]*$").ToString());//取得输入开始字符的最后一组数字 begin_str = begin_str.Substring(0, begin_st... 阅读全文
posted @ 2014-01-20 16:40 yizongxing 阅读(312) 评论(0) 推荐(0) 编辑
摘要: Session theSession = Session.GetSession(); Part workPart = theSession.Parts.Work; Part displayPart = theSession.Parts.Display; NXOpen.CAM.CAMObject[] objects1 = new NXOpen.CAM.CAMObject[1]; NXOpen.CAM.NCGroup nCGroup1 = (NXOpen.CAM.NCGroup)workPart.CAMS... 阅读全文
posted @ 2014-01-18 15:03 yizongxing 阅读(842) 评论(0) 推荐(0) 编辑
摘要: 1.实例层View Code using System;using System.Collections.Generic;using System.Text;namespace OA.Entity{ public class user { private int _id; public int Id { get { return _id; } set { _id = value; } } private string _name; public strin... 阅读全文
posted @ 2012-05-03 16:44 yizongxing 阅读(179) 评论(0) 推荐(0) 编辑