摘要: 1: 过滤所有的工作集 2:过滤工作集中的所有元素 阅读全文
posted @ 2017-01-23 14:02 HongEgg 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: private void spinEdit1_EditValueChanging(object sender, DevExpress.XtraEditors.Controls.ChangingEventArgs e) { string s = Convert.ToString(e.NewValue); if (s == "") ... 阅读全文
posted @ 2017-01-05 16:43 HongEgg 阅读(1425) 评论(0) 推荐(0) 编辑
摘要: declare mycur cursor for( select RowGuid,PositionX,PositionY FROM [LY_BIMPM_RoadBridge].[dbo].[SpacePositionCategory] WHERE PositionX>0 AND PositionY>0) OPEN mycur; declare @rowguid varchar(50... 阅读全文
posted @ 2016-12-30 11:39 HongEgg 阅读(279) 评论(0) 推荐(0) 编辑
摘要: USE [BIMPM_ModelData] GO INSERT INTO [dbo].[Model_ItemEFile] ([RowGuid] ,[ParentRowGuid] ,[Title] ,[Description] ,[Size] ,[ExtendNam... 阅读全文
posted @ 2016-10-30 19:02 HongEgg 阅读(348) 评论(0) 推荐(0) 编辑
摘要: ----循环查找构件表,在构件关系表中,给每个构件关联4张图纸declare @itemRowGuid varchar(50) declare auth_cur cursor for select RowGuid from [BIMPM_RoadBridge].[dbo].[ProjectConstructionItemInfo] where BidSectionRowGuid = '8373... 阅读全文
posted @ 2016-10-30 16:53 HongEgg 阅读(113) 评论(0) 推荐(0) 编辑
摘要: /// /// 获取整棵树的所有选中的节点 /// /// /// private List GetSelectedNodes(DevExpress.XtraTreeList.TreeList treeList) { List sNodes = new List(); ... 阅读全文
posted @ 2016-08-15 15:57 HongEgg 阅读(591) 评论(0) 推荐(0) 编辑
摘要: USE [R_BIMPM_RoadBridge]GOINSERT INTO [dbo].[ProjectConstructionType_Relation] ([RowGuid] ,[ProjectRowGuid] ,[Constructi... 阅读全文
posted @ 2016-01-26 11:15 HongEgg 阅读(324) 评论(0) 推荐(0) 编辑
摘要: DECLARE My_Cursor1 CURSOR --定义游标FOR (SELECT RowGuid , ProjectRowGuid FROM [BIMPM_Base].[dbo].[ProjectPermission_Role] where SubSystemRowGuid = 'A93183... 阅读全文
posted @ 2016-01-26 10:25 HongEgg 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 在autocad使用代码生成三维模型[CommandMethod("cww")] public void CreateWedge() { // Get the current document and database, and start a transaction Document acDoc = Application.DocumentManager.MdiActiveDocument; Database acCurDb = acDoc.Database; Editor ed = acDoc.Editor; using (Transaction acTrans = a 阅读全文
posted @ 2012-12-19 15:06 HongEgg 阅读(218) 评论(0) 推荐(0) 编辑