Discovery Add-ins

Discovery Add-ins

SpaceClaim Add-in: Sample Add-ins for 2024 R2 (API V242)

Tagged:

    • FAQFAQ
      Participant

      SpaceClaim Add-in: Sample Add-ins for 2024 R2 API V242

      SpaceClaim Add-Ins show the potential for customizing the user experience inside of SpaceClaim for specific tasks. An add-in is a managed code DLL that uses the SpaceClaim API. The SpaceClaim Application Programming Interface (API) contains samples projects that allow you to create add-in applications that extend the functionality of SpaceClaim. To learn about creating custom experiences for your company contact your Ansys sales representative.

      What is included?

      The Sample Projects shows programming examples of how to use various areas of functionality in the API.

      Sample Add-in (C#): Shows how to Create Context Menu, Copy Component, Create Assembly Block, Gear, Hole, Layers, Notes, Torus, Dump Object, Export a Document, Find Matching Faces, Select Loop, Show BOM, Create Sketch Tool, Profile Tool and Animation Tool.
      Sample Add-in (C++): The C++ equivalent of the Sample Add-in commands.
      Sample Add-in (F#): The F# equivalent of many of the Sample Add-in commands. Visual Studio 2010 has no interactive tools for creating resources in F#, so a companion C# project is used just for resources and is referenced by the F# add-in project.
      Sample Add-in (Visual Basic): The Visual Basic equivalent of many of the Sample Add-in commands.
      BodyPrimitives API Extension: A sample project showing how to create an API extension.
      Dimension Editor Add-in: Displays a dialog with all the dimensions of groups in the active part, so they can be edited. Also shows sheet metal properties if the active part is a sheet metal part.

      Information about the SpaceClaim API can be found in help files in a sub-folder in the SpaceClaim installation folder. The sub-folder has a name of the form “SpaceClaim.Api.Vx”, where “Vx” refers to the version of the API. For example, information about API V242 can be found in the “SpaceClaim.Api.V242” sub-folder.
      The following documents are provided in the above folder:

      SpaceClaim_API.chm- the Developer’s Guide to writing an add-in. Refer the section ‘Sample Projects’ from the guide to build various sample add-in projects.
      API_Class_Library.chm- documentation for classes, structs, methods, and properties in the API.
      Developers Guide.pdf- an overview of the SpaceClaim API and its concepts.

      You can find the previous versions Sample add-ins from SpaceClaim Sample Add-ins – Previous Versions knowledge article.

       

      ?THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OR SUPPORT OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. FULL DETAILS OF THE TERMS OF USE OF THIS SOFTWARE CAN BE FOUND HERE.