网站大量收购独家精品文档,联系QQ:2885784924

创建自定义程序和宏的SolidWorks.doc

  1. 1、本文档共3页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
创建自定义程序和宏的SolidWorks

创建自定义程序和宏的SolidWorks Both VB and C++ can be used to create executable (exe) programs that can be run inside, and interact with, SolidWorks? software. 双方VB和 C + +中可以用来建立可执行文件( exe )的程序可以运行内,并与其互动,的SolidWorks ?软件。 VB (Visual Basic?) and VBA (Visual Basic for Applications) allow all levels of programmers, especially novice programmers, to easily create programs that automate common functions and extend the capabilities of SolidWorks using the SolidWorks API (Application Programming Interface). VB的(在Visual Basic ? )和VBA ( Visual Basic for Applications中) ,让所有层次的程序员,特别是新手程序员,轻松地创建程序自动化的共同职能和扩大的能力SolidWorks的使用SolidWorks的API (应用编程接口) 。 The example VB application provided is well commented to help novice programmers create customized versions of the application. 的例子, VB应用程序,以及所提供的评论,以帮助新手程序员创建自定义版本的应用程序。 The custom properties VB program that was made available in last months issue is an example of a simple VB application. 自定义属性VB程序,这是提供在上个月的问题就是一个例子,一个简单的VB应用程序。 To modify and recompile this application requires Microsoft?? 修改和重新编译此应用程序需要的Microsoft ? ? Visual Basic 6.0 or higher. Visual Basic 6.0或更高。 This section lists some general programming practices that will make creating, maintaining, and modifying applications easier. 本节列出了一些一般性的编程做法,这将使创造,维护和修改应用程序更容易。 Before starting, read the following good programming practices and tips: 在开始之前,请阅读以下良好的编程做法和提示: Review the code within Visual Basic. 审查代码的Visual Basic 。 Each section of the code is commented to help novice programmers understand what is happening. 每一节的守则是评论,以帮助新手程序员了解正在发生什么事情。 Placing comments within code is a good idea even if you are the only person to modify the program. 配售评论内部代码是一个好主意,即使你是唯一的人修改程序。 It does not take long to place a simple comment in the code, it helps make the program more legible, and it makes the program easier to modify in the future. 它没有考虑,只要把一个简单的评论在程式码中,它有助于使程序更加易读,它使得程序更容易修改,在未来。 To comment a line of code, just place a in front of the line and the rest of the line is ignored by VB. 评

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档