<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
EdmAddInInfo2 Structure
See Also Members

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace : EdmAddInInfo2 Structure

Visual Basic
C#
C++/CLI
Provides SOLIDWORKS PDM Professional with information about your add-in.

# Syntax

Visual Basic |
--- | ---

    Public Structure EdmAddInInfo2
       Inherits System.ValueType

C# |
--- | ---

    public struct EdmAddInInfo2 : System.ValueType

C++/CLI |
--- | ---

    public value class EdmAddInInfo2 : public System.ValueType

# Example

struct EdmAddInInfo2{
string mbsAddInName;
string mbsCompany;
string mbsDescription;
integer mlAddInVersion;
integer mlRequiredVersionMajor;
integer mlRequiredVersionMinor;
string mbsClassID;
string mbsModulePath;
};

# Example

Install Add-in (VB.NET)
Install Add-in (C#)

# Remarks

Extends EdmAddInInfo and is returned by IEdmAddInMgr6::GetAddInInfo2.

The data is displayed in the Administrate Add-ins dialog box. If your add-in relies on features in a specific version of SOLIDWORKS PDM Professional, make it impossible to load the add-in in older versions of SOLIDWORKS PDM Professional by populating the mlRequiredVersionMajor and mlRequiredVersionMinor members.

If your add-in relies on features in a specific version of SOLIDWORKS PDM Professional, make it impossible to load the add-in in other versions of SOLIDWORKS PDM Professional by populating the mlRequiredVersionMajor and mlRequiredVersionMinor members.

To restrict your add-in to run only in PDM Pro version... | Populate mlRequiredVersionMajor with... | Populate mlRequiredVersionMinor with...
--- | --- | ---
2019 SP05 | 27 | 5
2020 SP03 | 28 | 3
2021 SP0 | 29 | 0

In general, you can find the major and minor versions for the PDM client version you are running in the Build number field of SOLIDWORKS PDM Administration Tool's Help > About.

C++ programmers must set string members to strings allocated with the Win32 function SysAllocString.

# See Also

####

EdmAddInInfo2 Members
EPDM.Interop.epdm Namespace

# Availability

Version 6.4 of SOLIDWORKS PDM Professional