Using Extension Methods - SolidEdgeCommunity/SolidEdge.Community GitHub Wiki
Extension methods make working with the Solid Edge API much easier. These are community provided methods that extend the base Solid Edge API.
C# Syntax
// The following statement enables all SolidEdgeCommunity extension methods.
using SolidEdgeCommunity.Extensions;
or
// Extension methods can also be called directly.
SolidEdgeCommunity.Extensions.ApplicationExtensions.StartCommand(application, SolidEdgeConstants.PartCommandConstants.PartEditCopy);
Visual Basic Syntax
' The following statement enables all SolidEdgeCommunity extension methods.
Imports SolidEdgeCommunity.Extensions
or
' Extension methods can also be called directly.
SolidEdgeCommunity.Extensions.ApplicationExtensions.StartCommand(objApplication, SolidEdgeConstants.PartCommandConstants.PartEditCopy)
Intellisense
When extension methods are enabled, they will appear next to the standard APIs. They have different icons and are marked (extension) in their description.