Welcome
Expand Getting StartedGetting Started
Expand SOLIDWORKS API HelpSOLIDWORKS API Help
Expand SOLIDWORKS Electrical API HelpSOLIDWORKS Electrical API Help
Collapse SOLIDWORKS PDM Professional API HelpSOLIDWORKS PDM Professional API Help
Expand FeatureWorks API HelpFeatureWorks API Help
Expand SOLIDWORKS Costing API HelpSOLIDWORKS Costing API Help
Expand SOLIDWORKS Document Manager API HelpSOLIDWORKS Document Manager API Help
Expand SOLIDWORKS Routing API HelpSOLIDWORKS Routing API Help
Expand SOLIDWORKS Simulation API HelpSOLIDWORKS Simulation API Help
Expand SOLIDWORKS Sustainability API HelpSOLIDWORKS Sustainability API Help
Expand SOLIDWORKS Toolbox API HelpSOLIDWORKS Toolbox API Help
Expand SOLIDWORKS Utilities API HelpSOLIDWORKS Utilities API Help
Expand eDrawings API HelpeDrawings API Help
Expand DraftSight API HelpDraftSight API Help
Expand Lisp Programming BasicsLisp Programming Basics
Expand Lisp Functions OverviewLisp Functions Overview
Expand Lisp Functions ReferenceLisp Functions Reference
Hide Table of Contents
EdmAddInInfo2 Structure
Provides SOLIDWORKS PDM Professional with information about your add-in.

Syntax

Visual Basic (Declaration) 
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

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 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 SP0 28 0
2020 SP01 28 1
2020 SP02 28 2
2020 SP03 28 3

Generally, you can find the major and minor versions for the SOLIDWORKS PDM Pro 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

Availability

Version 6.4 of SOLIDWORKS PDM Professional


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   EdmAddInInfo2 Structure
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2020 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.