General

This section provides general guidelines and some how-to articles for working with the SystemWeaver API. If you do not find what you are looking for, we suggest that you refer to the SystemWeaverClientAPI.XML for a list of methods.

How to Get a Part Type and Add it to Another Item
This article describes how to get a part type from one item and add it to another item. Example static void Main() { SWConnection.Instance.ServerM...
Fri, 13 Mar, 2020 at 1:01 PM
How to Get and Set XML Configurations
All configurations, i.e., for build-in views, extension views, features, etc. in SystemWeaver have a guid. This articles describes how to use the API to get...
Wed, 22 Apr, 2020 at 8:02 PM
How to Get Enumeration Attribute Value Information
The following code snippet shows how to get information such as Name, Description and Color of the defined enumeration values for an Attribute Type using th...
Tue, 7 Mar, 2023 at 10:23 PM
How to Open a SystemWeaver URL in a Custom Program or Web Page
This article provides examples of how you can open a specific item using the same URL protocol used by the swExplorerLauncher from a web page or a custom ap...
Tue, 18 Aug, 2020 at 3:53 PM
How to Handle External References Using the API
An external reference attribute is a single or an array of multiple references in the form of a URI and a reference name. Below are examples of how to handl...
Tue, 29 Jan, 2019 at 2:30 PM
How to Remove a Part
The following snippets show two ways to remove parts using the SystemWeaver API. Setting Up the Example             IswLibrary library = SWConnection.I...
Wed, 24 Mar, 2021 at 12:22 PM
How to Remove an Attachment From an Item
This article provides an example of how to remove an attachment from an Item. Note: There must be a file repository initialized for your SystemWeaver se...
Wed, 6 Feb, 2019 at 3:02 PM
How to Replace to Next Version
The follwing snippet shows how to perform a replace to next version for a part using the SystemWeaver API. Example IswLibrary library = SWConnection.In...
Fri, 18 Jan, 2019 at 9:50 AM
How to Upload an Attachment to an Item
This article provides an example of how to upload an attachment to an Item, taking into consideration that the file may already exist as an attachment on th...
Tue, 29 Oct, 2019 at 11:24 AM
Adding a Note to an Item
This article provides an example of how to add a note to an item using the SystemWeaver Client API. Make sure that you have RVFUtility.dll added as an item ...
Thu, 12 Mar, 2020 at 4:22 PM