Coder Social home page Coder Social logo

mdecourse / solidworks-api-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codestackdev/solidworks-api-examples

0.0 0.0 0.0 328 KB

Examples of SOLIDWORKS API and add-in development

Home Page: https://www.codestack.net/labs/solidworks/swex/

License: MIT License

C# 74.78% Visual Basic 24.76% HTML 0.46%

solidworks-api-examples's Introduction

SOLIDWORKS, SOLIDWORKS PDM, SOLIDWORKS Document Manager, eDrawings API examples

Example projects for SwEx Framework

Export Components

C# Source Code VB.NET Source Code

Add-in which allows quick exporting of the selected component in the assembly to one of neutral formats (IGES, STEP or Parasolid)

Export commands available in the menu, toolbar and the command tab box.

Commands are disabled unless component is selected.

Components are saved into the Export folder in the root assembly location and named the same as the source component.

Insert Note

C# Source Code

Add-in which allows inserting similar notes multipe times. Note can be inserted relative to the drawing sheet coordintae system or relative to the selected object coordinate.

User needs to specify the note text, size and offset in the property manager page. These options are preserved across the session.

Convert Solid Body To Surface Body

VB.NET Source Code

Add-in allows converting selected solid body or bodies into the corresponding surface bodies.

Add-in utilizes macro feature so the converted body preserves parametric functionality.

Create Geometry API

C# Source Code

Example demonstrates how to create API in SOLIDWORKS add-in and call it from the stand-alone application or macro. API allows to create cylindrical body with specified parameters.

Distance Heat Map

C# Source Code

Add-in is using documents handler utility of the framework to setup custom model colorizer to display the heat map for distance of selected point.

Face Indexer

C# Source Code

Demonstration of technique to call SOLIDWORKS add-in API from stand-alone application as in-process call. This improves the performance in 100s of times.

Geometry Helper API (ROT)

C# Source Code

Demonstration of alternative approach to create SOLIDWORKS add-in API. Running object table (ROT) is used in this case. This technique enables the ability to call API without the need to reference SOLIDWORKS interop libraries.

Issues Manager

C# Source Code VB.NET Source Code

Demonstration of using of 3rd party storage store and streams to manage issues associated with documents. WPF interface is added to task pane allowing to view and edit issues.

Insert Linked Geometry

C# Source Code VB.NET Source Code

Demonstration of using macro feature to create a geometry linked to external file with an ability to regenerate the geometry when the source file is updated.

eDrawings API Examples

Batch Export To PDF

VB.NET Source Code

Tool to export SOLIDWORKS drawings to PDF by printing them to PDF printer via eDrawings

eDrawings Windows Forms Host

C# Source Code

Demonstration hosting of eDrawings control in the Windows Forms Application

eDrawings Windows Presentation Foundation (WPF) Host

C# Source Code

Demonstration hosting of eDrawings control in the Windows Presentation Foundation (WPF)

Measurement Surveying

C# Source Code

Demonstration of eDrawings Markup API to collect the measurement data

solidworks-api-examples's People

Contributors

codestackdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.