Hide Table of Contents
SOLIDWORKS Electrical API  2020.0.5
Electrical API
EwDialogMacroSelector.idl
Go to the documentation of this file.
1 #pragma once
2 
3 #if (__midl >= 501)
4  midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */
5 #endif
6 
7 import "EnumDefinition.idl";
8 
13 [
14  object,
15  uuid(7CF315D5-B575-409D-9057-6DA23CB170CF),
16  dual,
17  oleautomation,
18  nonextensible,
19  helpstring("IEwDialogMacroSelectorX Interface"),
20  pointer_default(unique)
21 ]
22 interface IEwDialogMacroSelectorX : IDispatch{
23 
33 
34 
42  EwErrorCode setMultiSelect (VARIANT_BOOL bMultiSelect);
43 
44 
52  EwErrorCode setMacroId (long lMacroId);
53 
54 
62  EwErrorCode setProjectId (long lProjectId);
63 
64 
72  EwErrorCode setMacroName (BSTR strMacroName);
73 
74 
82  EwErrorCode setLibraryName (BSTR strLibraryName);
83 
84 
93  EwErrorCode setClassificationNodeId (long lClassificationNodeId);
94 
95 
106  VARIANT_BOOL show (VARIANT * pVariantMacroIdArray, EwErrorCode* errorCode);
107 
108 
109 };
EwErrorCode setProjectId(long lProjectId)
Initialize the ProjectId option to select only the macro of a project identified by the id.
EwErrorCode setLibraryName(BSTR strLibraryName)
Initialize the library name filter.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwErrorCode setMultiSelect(VARIANT_BOOL bMultiSelect)
Initialize the MultiSelect option.
EwErrorCode setMacroId(long lMacroId)
Initialize the MacroId option to specify the name of the macro that will be selected by default (-1 b...
EwMacroFilterType
All possible items type for the macro filter type.
Definition: EwEnumeration.idl:320
VARIANT_BOOL show(VARIANT *pVariantMacroIdArray, EwErrorCode *errorCode)
ShowDialog to select a macro.
EwErrorCode setMacroFilterType(EwMacroFilterType nMacroFilterType)
Initialize the EwMacroFilterType option, (kUnknownMacroFilterType by default).
EwErrorCode setMacroName(BSTR strMacroName)
Initialize the macro name filter to select only the macro of a project identified by the name.
Use this interface to manage macro selector dialog.
Definition: EwDialogMacroSelector.idl:22
EwErrorCode setClassificationNodeId(long lClassificationNodeId)
Initialize the classification node filter.


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:   SOLIDWORKS Electrical API: idl_converted/EwDialogMacroSelector.idl Source File
*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.