- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
SolidWorks二次开发类层次结构(SolidWorks secondary development class hierarchy)
SolidWorks二次开发类层次结构(SolidWorks secondary development class hierarchy)
The SolidWorks 2008 API is provided by the COM component that makes up SolidWorks 2008 software.
Introduction to object model structure:
SldWorks objects are the most basic, and there are other objects that he can directly or indirectly access
Some objects can only be accessed indirectly, such as SketchSpline, which cannot appear on its own and can only exist in some object, which can only be called by the previous level
The other part of the API can only be called separately because there is no object in the user interface for interaction
SolidWorks class hierarchy
With MFC or.net hierarchy is not the same, because they are very dependent on class inheritance, etc., can get many benefits from the class system, while the SolidWorks based on COM API, using an interface, the interface inheritance, method library returns the known or new object interface
Jump through the interface through the QueryInterface
QueryInterface:
IAssemblyDoc, IDrawingDoc, or IPartDoc can QueryInterface to IModelDoc2.
IEdge, IFace2, ILoop2, or IVertex can QueryInterface to IEntity.
IBomTableAnnotation IHoleTableAnnotation, IRevisionTableAnnotation, or IWeldmentCutListAnnotation can QueryInterface to ITableAnnotation.
IAttribute also can QueryInterface to IFeature.
ISketchArc, ISketchEllipse, ISketchLine, ISketchParabola, ISketchPoint, ISketchSpline, or ISketchText can QueryInterface to ISketchSegment.
PropertyManagerPage controls, to the as IPropertyManagerPageActiveX IPropertyManagerPageBitmap, IPropertyManagerPageBitmapButton, IPropertyManagerPageButton, etc., can QueryInterface to IPropertyManagerPageControl.
Each SolidWorks 2008 object is constructed using COM technology and has the same properties as the generic COM objects, which are made up of interfaces/attributes/methods/events
If a PartDoc object - manages the object of a part document
The SolidWorks API provided is IPartDoc.
Properties of three MaterialIdName Mat
您可能关注的文档
- Inventor钣金造型指南(Inventor sheet metal modeling guide).doc
- iPad2和iPad有什么区别和不同(What's the difference between iPad 2 and iPad).doc
- IT日语(日译中)(IT Japanese (Japanese translation)).doc
- javascript55小技巧(Javascript55 tips).doc
- Intouch视频培训教程_主讲 钱立湘(Intouch video training course).doc
- JavaScript实现无缝滚动 原理详细讲解(JavaScript implements seamless rolling principle in detail).doc
- javascript试题(Javascript questions).doc
- Java_2实用教程课件(第3版第7章)(Practical courseware for Java_2 (chapter 7)).doc
- Java中抽象类和接口的区别(The difference between abstract classes and interfaces in Java).doc
- java接口和工厂及抽象类理解解析(Java interfaces and factories and abstract classes understand parsing).doc
- SolidWorks技巧100条(SolidWorks skill 100).doc
- solidworks技巧(Solidworks skills).doc
- Sony磁带随身听年鉴(Sony tape walkman almanac).doc
- song法理学(Song jurisprudence).doc
- sony笔记本驱动安装顺序(SONY laptop driver installation sequence).doc
- SONY的耳塞(SONY earbuds).doc
- solidworks问题详解(Solidworks problems are detailed).doc
- Spa深度睡眠音乐 曲目(Spa deep sleep music tracks).doc
- SpecialSciDBS使用指南(The SpecialSciDBS usage guide).doc
- solomo(solomo).doc
最近下载
- NB_T35106-2017 国家行业标准.pdf VIP
- 建设项目海绵设施施工验收标准.pdf VIP
- 2024-2025学年小学信息科技湘教版2024五年级上册-湘教版(2024)教学设计合集.docx
- 热控专业简介(基础系统介绍)(精品课件).ppt VIP
- 2025湘美版美术八年级上册第一单元第1课《假期视觉笔记》课件.pptx
- 2025-2030中国相容剂行业市场发展分析及前景趋势与投资机会研究报告.docx
- TSG 11-2020 锅炉安全技术监察规程.docx VIP
- 2023-2024年版中国运动康复产业白皮书.pdf
- 小学生抽屉整理课件.pptx VIP
- 打字员速录技能培训课件.pptx VIP
文档评论(0)