Giter Club home page Giter Club logo

xcad-examples's Introduction

Box Macro Feature

This example demonstrates how to create a parametric box element in SOLIDWORKS using macro feature.

C#

Events Handler

Demonstration of handling SOLIDWORKS events using Document Manager service

VB.NET

Hosting Forms and WPF Controls

This example demonstrates how to customize various panels in SOLIDWORKS, such as Task Pane, Model View Manager Tab, Feature Manager Tab, Property Manager Page by adding custom WPF or WinForms controls.

VB.NET

Issues Manager

SOLIDWORKS Issues management example. Demonstration of using 3rd party storage to store custom information directly in document streams.

C#

Save As File Name Assigner

Example demonstrates how to dynamically assign the name for the Save As file in SOLIDWORKS.

C#

SQL Entity Framework

Example demonstrates how to access SQL data using Entity Framework in .NET Core SOLIDWORKS add-in

C#

Toggle Command

Example demonstrates how to create a toggle button in the SOLIDWORKS toolbar

C#

Top Ten List 2020

Implementation of 3 enhancements from the SOLIDWORKS Top Ten List 2020

C#

VB.NET

Model Generator Console

.NET Core console application to generate SOLIDWORKS model based on template and input parameters

C#

Commands Manager With Custom Icons

Example demonstrates how different size icons rendered in the menus and toolbars

VB.NET

C#

Weldment Profiles Selector

Example demonstrates how to create dynamic cascading combo boxes in the Property Manager Page which select weldment profiles (standard, type and size)

C#

Toggle Bitmap Buttons

Example demonstrates how to create Property Manager Page with checkable bitmap buttons

C#

Sweep Sketch

Example demonstrates how to insert macro feature to create solid sweep from input sketch

C#

Property Manager Page

Example demonstrates main features of building Property Manager Pages with xCAD.NET

C#

Properties Reader

Example demonstrates how to create WPF application to load custom properties for all components of the assembly using SOLIDWORKS API and SOLIDWORKS Document manager API with the same code base

C#

Document Feature Manager Tabs

Example demonstrates how to attach feature manager tabs to all created documents

C#

Task Pane AddIn and MSI-Installers

Example demonstrates how to host WPF control in Task Pane and how to create MSI-installers for SOLIDWORKS add-in

C#

Dimension Watcher Macro Feature

Example demonstrates how to create macro feature without geometry with custom error messages

C#

.NET 6 SOLIDWORKS Add-In With Public API

This example demonstrates how to create SOLIDWORKS add-in using C# .NET 6 and expose a public API

C#

xcad-examples's People

Contributors

artem1t avatar eddyalleman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xcad-examples's Issues

VS code build does not work

https://www.youtube.com/watch?v=0ubF-INE7bg
The example given for ModelGeneratorConsole does not load nor work in VScode. Additionally the .net framework used seems not to be up to date.

When trying to add the xarial.xcad.solidworks package it cannot find any available versions of said package.

Is there any way to include documentation on how to solve said issue?

I am currently running VScode 1.75.0

output from running the dotnet add package command:
PS C:\Users\name\Documents\vscode portable 1_75_0 v1> dotnet add package xarial.xcad.solidworks
Determining projects to restore...
Writing C:\Users\name\AppData\Local\Temp\tmp40EF.tmp
info : X.509 certificate chain validation will use the default trust store selected by .NET.
info : X.509 certificate chain validation will use the default trust store selected by .NET.
info : Adding PackageReference for package 'xarial.xcad.solidworks' into project 'C:\Users\name\Documents\vscode portable 1_75_0 v1\vscode portable 1_75_0 v1.csproj'.
error: There are no versions available for the package 'xarial.xcad.solidworks'.

Usage: NuGet.CommandLine.XPlat.dll package add [options]

Options:
-h|--help Show help information
--force-english-output Forces the application to run using an invariant, English-based culture.
--package Id of the package to be added.
--version Version of the package to be added.
-d|--dg-file Path to the dependency graph file to be used to restore preview and compatibility check.
-p|--project Path to the project file.
-f|--framework Frameworks for which the package reference should be added.
-n|--no-restore Do not perform restore preview and compatibility check. The added package reference will be unconditional.
-s|--source Specifies NuGet package sources to use during the restore.
--package-directory Directory to restore packages in.
--interactive Allow the command to block and require manual action for operations like authentication.
--prerelease Allows prerelease packages to be installed.
`

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.