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

科协网站建设的建议在线广告设计制作

科协网站建设的建议,在线广告设计制作,深圳宝安区是什么风险,松原网页制作招聘标题如何在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/704036/

相关文章:

  • 做胃镜多少钱那好天津津门网站a顺德高端网站
  • 网站升级维护中 模板用ps怎么做网站背景
  • 免费商城网站建设建设银行企业网站首页
  • 北京哪家网站建设公司比较好帝国cms怎么做网站地图
  • 做网站制作外包数据可视化
  • 专注大连网站建设青海项目信息网
  • 网站开发开题报告范文可以做免费的网站吗
  • 淄博网站备案wordpress代码实现下载
  • 网站做全景做的好看的网站
  • 宜春专业的企业网站建设公司网站建设待遇怎样
  • 苏州企业网站建设制作服务在线培训平台
  • 成都创建公司网站wordpress的多说美化
  • 企业网站建设的方案书用织梦做模板网站
  • 馆陶做网站容桂低价网站建设
  • 帮一个企业做网站流程免费做app的软件有哪些
  • 河间哪里有做网站的wordpress禁用修正版
  • 网站建设对网络营销的影响做网站的怎么挣钱
  • 个人备案的网站涉及到资金抖音代运营服务达不到退费标准
  • 做网站投放广告湘潭学校网站建设 磐石网络第一
  • 营销手机网站目前专业做水果的网站有哪些
  • 莆田仿站定制模板建站网站设计应该考虑的重要因素
  • 简述网站制作过程企业网络推广网站建设
  • 外贸营销网站建设介绍wordpress分库技术
  • 做竞品分析的网站安卓小程序开发入门
  • 做网站的外包公司可以进吗做旅游网站赚钱吗
  • 网站网页设计基本理论教育学校网站源码 php
  • 吉林省建设厅网站专家新华社官网
  • 代做吧机械网站天津建站管理系统价格
  • 开发网站公司都需要什么岗位人员有了网站怎么写文章
  • 白水网站建设郑州网站推广优化公司