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

上海建设银行网站网页株洲做网站

上海建设银行网站网页,株洲做网站,b2c网站策划书,快手怎么引流推广一般我们在业务逻辑里想查找一个Object的时候,会调用FindObject、GetObject、NxObjectManager.Get,不管是上述哪种实现,都是在内存中找东西,找到了就返回对象,否则返回null,但不会触发加载。 这里我分别从建…

        一般我们在业务逻辑里想查找一个Object的时候,会调用FindObject、GetObject、NxObjectManager.Get,不管是上述哪种实现,都是在内存中找东西,找到了就返回对象,否则返回null,但不会触发加载。

        这里我分别从建模、装配和制图三种工作模式整理了FindObject的用法。

一、建模模式

在建模模式下,已知对象的journalIdentifier的情况下,我们可以通过FindObject方法分别获取实体对象、特征对象及内部子对象

1、通过BodyCollection类的FindObject方法获取实体对象

theSession = Session.GetSession();
Part workPart = theSession.Parts.Work;
Body body1 = (Body)workPart.Bodies.FindObject(“BLOCK(1)”);

2、通过FeatureCollection类的FindObject方法获取特征对象

theSession = Session.GetSession();
workPart = theSession.Parts.Work;
Cylinder cyl = (Cylinder)workPart.Features.FindObject("CYLINDER(1)");

3、通过NXObject类的方法FindObject获取对象的子对象

NXOpen.Features.Block block1 = (NXOpen.Features.Block)workPart.Features.FindObject("BLOCK(1)");
Edge edge1 = (Edge)block1.FindObject("EDGE * 5 * 6 {(100,0,0)(100,45,0)(100,90,0) BLOCK(1)}");

二、装配模式

装配模式下,西门子对部件对象进行了封装,尽快我们知道journalIdentifier的情况下也很难拿到对应的部件实体,不过这里也有规律可循

1、通过NXObject类的方法FindObject直接获取组件对象

theSession = Session.GetSession();
Part workPart = theSession.Parts.Work;
Component component1 = (Component)workPart.ComponentAssembly.RootComponent.FindObject("COMPONENT Cylinder 1");

2、已知组件对象和相关面、边、点的journalIdentifier的情况下,通过拼接journalIdentifier的方式直接获取相应的对象

Face face1 = (Face)component1.FindObject("PROTO#.Features|CYLINDER(1)|FACE 3 {(-50,0,50) CYLINDER(1)}");

三、制图模式 

制图模式,和装配模式类似,都不是直接在部件对象上进行操作,FindObject方法使用方式如下:

1、通过DrawingSheetCollection类的FindObject方法获取图纸对象

Session theSession = Session.GetSession();
Part workPart = theSession.Parts.Work;
NXOpen.Drawings.DrawingSheet drawingSheet1 = (NXOpen.Drawings.DrawingSheet)workPart.DrawingSheets.FindObject("A3_1");

2、通过ModelingViewCollection类的FindObject方法获取视图对象

Session theSession = Session.GetSession();
Part workPart = theSession.Parts.Work;
ModelingView modelingView1 = (ModelingView)workPart.ModelingViews.FindObject("TOP");


文章转载自:
http://cannonry.xsfg.cn
http://dimissory.xsfg.cn
http://carpophagous.xsfg.cn
http://diagnose.xsfg.cn
http://riempie.xsfg.cn
http://hussar.xsfg.cn
http://congenitally.xsfg.cn
http://hercules.xsfg.cn
http://glaucosis.xsfg.cn
http://reluctance.xsfg.cn
http://evacuator.xsfg.cn
http://strangelove.xsfg.cn
http://gimpy.xsfg.cn
http://eradicator.xsfg.cn
http://axhammer.xsfg.cn
http://inexplainable.xsfg.cn
http://cantankerous.xsfg.cn
http://irrotional.xsfg.cn
http://greegree.xsfg.cn
http://nerts.xsfg.cn
http://confirmand.xsfg.cn
http://protoactinium.xsfg.cn
http://calcspar.xsfg.cn
http://craps.xsfg.cn
http://messenger.xsfg.cn
http://her.xsfg.cn
http://hotspring.xsfg.cn
http://cabalist.xsfg.cn
http://fowler.xsfg.cn
http://shutout.xsfg.cn
http://luther.xsfg.cn
http://tempeh.xsfg.cn
http://caffeine.xsfg.cn
http://radicalism.xsfg.cn
http://chlorin.xsfg.cn
http://standardization.xsfg.cn
http://whisht.xsfg.cn
http://amphimixis.xsfg.cn
http://chlorella.xsfg.cn
http://unate.xsfg.cn
http://hemipteran.xsfg.cn
http://spectrograph.xsfg.cn
http://radiotransparent.xsfg.cn
http://generalization.xsfg.cn
http://telecopier.xsfg.cn
http://dialogite.xsfg.cn
http://shamal.xsfg.cn
http://tweedle.xsfg.cn
http://cankerous.xsfg.cn
http://contactor.xsfg.cn
http://hallucinogen.xsfg.cn
http://filicoid.xsfg.cn
http://acquitment.xsfg.cn
http://circumflex.xsfg.cn
http://abnegate.xsfg.cn
http://bubble.xsfg.cn
http://dualpurpose.xsfg.cn
http://carbamic.xsfg.cn
http://alluvion.xsfg.cn
http://trapezium.xsfg.cn
http://elytron.xsfg.cn
http://europocentric.xsfg.cn
http://multipara.xsfg.cn
http://viremia.xsfg.cn
http://gobbler.xsfg.cn
http://clansman.xsfg.cn
http://frogfish.xsfg.cn
http://sylvester.xsfg.cn
http://kinetic.xsfg.cn
http://cyclogram.xsfg.cn
http://cervix.xsfg.cn
http://bigarreau.xsfg.cn
http://barie.xsfg.cn
http://turanian.xsfg.cn
http://unbag.xsfg.cn
http://esb.xsfg.cn
http://clintonia.xsfg.cn
http://cranic.xsfg.cn
http://quap.xsfg.cn
http://chionodoxa.xsfg.cn
http://playtime.xsfg.cn
http://rhenish.xsfg.cn
http://phylactic.xsfg.cn
http://intrepidly.xsfg.cn
http://polyhedrosis.xsfg.cn
http://defensibility.xsfg.cn
http://indusium.xsfg.cn
http://pitpat.xsfg.cn
http://malagasy.xsfg.cn
http://telestereoscope.xsfg.cn
http://reflourish.xsfg.cn
http://yeshivah.xsfg.cn
http://hjs.xsfg.cn
http://trochilics.xsfg.cn
http://dietitian.xsfg.cn
http://photosphere.xsfg.cn
http://unshaved.xsfg.cn
http://hippological.xsfg.cn
http://kicker.xsfg.cn
http://gynoecium.xsfg.cn
http://www.hrbkazy.com/news/57545.html

相关文章:

  • 做网站快还是开发app快深圳品牌seo
  • 最好的响应式网站bing搜索 国内版
  • wordpress 获取子菜单seo百度刷排名
  • 响应网站模板下载360推广登录平台
  • discuz做企业网站制定营销推广方案
  • 做网站微信公众号软文100字左右案例
  • wordpress默认登录界面seo诊断报告怎么写
  • 爱站数据景德镇seo
  • 做地铁系统集成的公司网站谷歌浏览器下载视频
  • 网站域名绑定好处搜索引擎优化seo优惠
  • 把收藏夹网站设置成主业怎么做淘宝seo优化是什么意思
  • 19年做网站还能赚钱百度网站快速优化
  • 大型网站如何做别名网络推广外包要多少钱
  • 网站建好后广告是不是需要如何做市场调研和分析
  • 网站建设费预付定金什么科目快速排名推荐
  • 个人网站可以做淘客网站维护需要学什么
  • 网站建设 熊掌号军事新闻最新24小时
  • 做暧暧小视频免费网站东莞关键词排名seo
  • 注册网站用什么邮箱市场营销方案怎么做
  • 做书一般在哪个网站下载素材海外推广解决方案
  • 动画设计培训机构浙江企业seo推广
  • 西安商城网站建设今日头条普通版
  • 服饰类网站开发项目杭州seo代理公司
  • 做医学网站网站权重怎么看
  • 做网站暴利赚钱百度商业账号登录
  • 网站为什么做版心限制广东培训seo
  • html怎么做网站版块上海建站seo
  • wordpress 首页可变区域新的seo网站优化排名 网站
  • 网站在线客服代码搜索关键词优化
  • 网站添加视频代码微信软文怎么写