Next Allu - DraftSight’s Associate Portfolio Technical Manager - used the API to design a Bill of Materials (BOM) table. Using existing code and cut/paste of various DraftSight commands, in less than five minutes Allu wrote a simple routine that places selected geometry in response to user input. There is a snippet of code that is needed no matter the app, which he copied into the work space. He said it is best to work in DraftSight’s Admin mode. And the best thing of all, for the potential users of an app, is that the DraftSight User Interface carries over into the app.Īllu started his presentation by using Visual Basic to build a simple app. All entity types in DraftSight are accessible by the API. All API apps created for DraftSight 2019 will be forward compatible. There are a series of Visual Basic templates available by request from DraftSight. Several programming languages can be used to create new apps for DraftSight, including C++ (native or. Once you pass the hurdle of needing to know how to write code, DraftSight becomes a very flexible work environment. DraftSight 2019 users can interact with HomeByMe to import and export design data. Dassault Systemès HomeByMe is a free online utility for interior design. Several add-on products are available for DraftSight they were written primarily using the DraftSight API (known internally as “DSAPI”.) The API was also used to create a connection between the online utility HomeByMe, a Dassault Systemès free tool for personal interior design. In DraftSight, you write instructions that execute DraftSight commands to retrieve and use design data. Two, it is possible for someone with only basic programming knowledge to quickly build functional add-on apps in DraftSight 2019.īy definition an API is a set of programming features for creating applications that access both the features of a program (or operating system, etc.) and the data created or held by it. One, this is programming, so prior experience in writing code is necessary. When Vivek Allu introduced his SOLIDWORKS World 2019 session on the DraftSight API, two facts quickly became clear. Instead, this is an introduction to the capabilities and possibilities in the DraftSight Application Programming Interface (API). First of all, in this article I’m writing for the widest possible audience, so there won’t be code snippets or specific instructions in the article.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |