- 1、本文档共3页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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. 评
您可能关注的文档
- 常用电源电路资料--调压器、DC-DC电路和电源监视器引脚及主要特性.doc
- 章程范本yzj.doc
- 2006.5二、三级案例问答题.doc
- 学习总结汇报2.ppt
- 安徽大学第十三届“挑战杯”大学生课外学术科技作品竞赛复赛通知.doc
- 景观化校园.doc
- FMR245的调试和抑制.doc
- 第九讲消费者的自我意识和生活方式.doc
- 2011年新课程政治科(重点选择).doc
- 5.2晶体管的高频等效模型.ppt
- 2024年头灯资金筹措计划书代可行性研究报告.docx
- 2024年澳代巴豆酸乙酯资金需求报告代可行性研究报告.docx
- 2024年水污染防治设备资金筹措计划书代可行性研究报告.docx
- 2024年纸卷包装输送系统资金申请报告代可行性研究报告.docx
- 2024年湿疹药物资金申请报告代可行性研究报告.docx
- 2024年家用通风电器具资金筹措计划书代可行性研究报告.docx
- 2024年数字模拟混合输出仪表通讯模板资金申请报告代可行性研究报告.docx
- 2024年计算器及货币专用设备资金需求报告代可行性研究报告.docx
- 2024年手工制纸及纸板项目投资申请报告代可行性研究报告.docx
- 2024年抗生素类药物资金筹措计划书代可行性研究报告.docx
文档评论(0)