当前位置: 首页 > news >正文

五百人建站游戏挂机赚钱一小时20

五百人建站,游戏挂机赚钱一小时20,2021年给我一个网站,建设银行对公网站标题如何在ObjectARX或。net中访问AutoCAD实体的子实体? 下面是c和c#中的两个示例#xff0c;它们演示了如何访问AssocPersSubentityIdPE并使用它遍历所选实体的顶点和边缘。 void ArxSubEntityPE(){Acad::ErrorStatus err;ads_name name;ads_point pt;if(acedEntSel(L和c#中的两个示例它们演示了如何访问AssocPersSubentityIdPE并使用它遍历所选实体的顶点和边缘。 void ArxSubEntityPE(){Acad::ErrorStatus err;ads_name name;ads_point pt;if(acedEntSel(L\nSelect an Entity: , name, pt) ! RTNORM)return;AcDbObjectId id;acdbGetObjectId(id, name);AcDbObjectPointer AcDbEntity pEntity(id, AcDb::kForRead);// Get the Protocol extension associated with the entityAcDbAssocPersSubentIdPE* const pAssocPersSubentIdPE AcDbAssocPersSubentIdPE::cast(pEntity-queryX(AcDbAssocPersSubentIdPE::desc()));if( pAssocPersSubentIdPE NULL)return;AcArray AcDbSubentId vertexIds;pAssocPersSubentIdPE-getAllSubentities(pEntity,AcDb::kVertexSubentType,vertexIds);acutPrintf(L\n- Vertex Subentities: );for (int i 0; ivertexIds.length(); i){AcDbFullSubentPath path(id, vertexIds[i]);AcDbPoint* pPoint AcDbPoint::cast(pEntity-subentPtr(path));if (pPoint ! NULL){AcGePoint3d pos pPoint-position();acutPrintf(L\n . Vertex: [%.2f, %.2f, %.2f],pos.x, pos.y, pos.z);delete pPoint;}}AcArray AcDbSubentId edgeIds;pAssocPersSubentIdPE-getAllSubentities(pEntity,AcDb::kEdgeSubentType,edgeIds);acutPrintf(L\n- Edge Subentities: );for (int i 0; iedgeIds.length(); i){AcDbFullSubentPath path(id, edgeIds[i]);AcDbEntity* pSubEntity pEntity-subentPtr(path);if (pSubEntity ! NULL){acutPrintf(L\n . %s (Id %d),pSubEntity-isA()-name(),edgeIds[i].index());delete pSubEntity;}}} [CommandMethod(SubEntityPE)]public void SubEntityPE(){Document doc Application.DocumentManager.MdiActiveDocument;Database db doc.Database;Editor ed doc.Editor;PromptEntityOptions peo new PromptEntityOptions(\nSelect an Entity: );PromptEntityResult per ed.GetEntity(peo);if (per.Status ! PromptStatus.OK)return; using (Transaction Tx db.TransactionManager.StartTransaction()){Entity entity Tx.GetObject(per.ObjectId, OpenMode.ForRead)as Entity;ObjectId[] entId new ObjectId[] { entity.ObjectId };IntPtr pSubentityIdPE entity.QueryX(AssocPersSubentityIdPE.GetClass(typeof(AssocPersSubentityIdPE)));if (pSubentityIdPE IntPtr.Zero)//Entity doesnt support the subentityPEreturn;AssocPersSubentityIdPE subentityIdPE AssocPersSubentityIdPE.Create(pSubentityIdPE, false)as AssocPersSubentityIdPE;SubentityId[] vertexIds subentityIdPE.GetAllSubentities(entity,SubentityType.Vertex);ed.WriteMessage(\n- Vertex Subentities: );foreach (SubentityId subentId in vertexIds){FullSubentityPath path new FullSubentityPath(entId, subentId);DBPoint vertex entity.GetSubentity(path) as DBPoint;if (vertex ! null){ed.WriteMessage(\n . Vertex: [{0}, {1}, {2}],vertex.Position.X,vertex.Position.Y,vertex.Position.Z);vertex.Dispose();}}SubentityId[] edgeIds subentityIdPE.GetAllSubentities(entity,SubentityType.Edge);ed.WriteMessage(\n- Edge Subentities: );foreach (SubentityId subentId in edgeIds){FullSubentityPath path new FullSubentityPath(entId, subentId);Entity edgeEntity entity.GetSubentity(path);if (edgeEntity ! null){ed.WriteMessage(\n . edgeEntity.ToString());edgeEntity.Dispose();}}SubentityId[] faceIds subentityIdPE.GetAllSubentities(entity,SubentityType.Face);ed.WriteMessage(\n- Face Subentities: );foreach (SubentityId subentId in faceIds){FullSubentityPath path new FullSubentityPath(entId, subentId);Entity faceEntity entity.GetSubentity(path);if (faceEntity ! null){ed.WriteMessage(\n . faceEntity.ToString());faceEntity.Dispose();}}}}
http://www.pierceye.com/news/131101/

相关文章:

  • 熊掌号网站的基础建设费用网站的建设ppt模板
  • 有口碑的坪山网站建设王野天 演员
  • 建e网怎么赚钱衡水网站优化
  • 做牙科设计的网站域名一定要备案才能用吗
  • 哪个网站做团购要求低点河北省住房和城乡建设厅网站
  • 华为商城网站建设世界杯大数据
  • 网站流量指标高埗镇仿做网站
  • 网站建设颊算校园网站的作用
  • 云南公司网站制作外贸网站推广外包
  • 甘肃住房建设厅的网站数据中心idc机房
  • wordpress开发视频网站模板下载wordpress qq 微信登录
  • 上海网站建设网站营销推广费计入什么科目
  • 云南培训网站建设网站建设的公司太多了
  • 洛阳网站建设招聘信息ppt设计师兼职
  • 建工网官方网站电子商务网站设计岗位主要是
  • 保险网站建设平台青岛设计公司排名
  • 伊利网站建设评价做的最好的宠物网站
  • 沈阳的网站制作公司哪家好常用设计资源网站
  • 做网站需要什么技术文化传媒公司 网站备案
  • 郑州市建设厅网站html5 网站开发定制
  • 网站制作网站建站公司用wordpress
  • 做资讯网站盈利措美网站建设
  • 山东建设工程执业证书查询网站建网是什么
  • 大型服装网站建设wordpress留言板模版
  • 延安做网站沈阳学网站制作学校
  • 网站添加新闻网站免费正能量软件不良
  • asp c 网站开发互动网门户网站建设
  • 图书馆网站结构怎么做国外超酷设计网站
  • 网站开发软件搭配学室内设计去哪好
  • 南通营销网站制作河南省大型项目建设办公室网站