Hide Table of Contents
SOLIDWORKS Electrical API 2023.0.0
Electrical API
EwLibraryObjects.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
7import "oaidl.idl";
8import "ocidl.idl";
9
10import "EwObjectBaseObjects.idl";
11
12/************************************************************************/
13/* */
14/************************************************************************/
15
21[
22 object,
23 uuid(FB1C5D7A-5B0C-44F6-A8E7-271EBFC18627),
24 dual,
25 oleautomation,
26 nonextensible,
27 pointer_default(unique)
28]
30{
34 long getID ();
35
36
46
47
55 EwErrorCode setName (BSTR strName);
56
57
65 BSTR getName (EwErrorCode* errorCode);
66
67
77 EwErrorCode setDescription (BSTR strLgCode, BSTR strVal);
78
79
89 BSTR getDescription (BSTR strLgCode, EwErrorCode* errorCode);
90
91
100
101
109 LONG getVersionNumber (EwErrorCode* errorCode);
110
111
120
121
130
131
132};
133
138[
139 object,
140 uuid(7817B1F0-12A0-4539-AB67-DD43A2F290D3),
141 dual,
142 oleautomation,
143 nonextensible,
144 helpstring("IEwLibraryManagerX Interface"),
145 pointer_default(unique)
146]
147interface IEwLibraryManagerX : IDispatch
148{
154
155
159 LONG getCount ();
160
161
168 VARIANT getEwLibraryArray (EwErrorCode* errorCode);
169
170
181
182}
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:267
EwLibContentType
All library content types.
Definition: EwEnumeration.idl:292
This interface is a generic interface for environment object methods.
Definition: EwObjectBaseObjects.idl:293
Use this interface to manage EwLibraryX objects.
Definition: EwLibraryObjects.idl:148
IEwLibraryX newEwLibrary()
Create a IEwLibraryX object from the associated environnement.
IEwLibraryX findEwLibraryById(long lId, EwErrorCode *errorCode)
return IEwLibraryX by id
VARIANT getEwLibraryArray(EwErrorCode *errorCode)
return the array of IEwLibraryX of associated environment
Use this interface to manage an EwLibraryX object.
Definition: EwLibraryObjects.idl:30
long getID()
LONG getVersionNumber(EwErrorCode *errorCode)
get a version of current Library
EwErrorCode setEwLibContentType(EwLibContentType eLibContentType)
set a content type of current Library
EwErrorCode setName(BSTR strName)
set the name of library
BSTR getName(EwErrorCode *errorCode)
return name of current Library
EwLibContentType getEwLibContentType(EwErrorCode *errorCode)
return content type of current Library
EwErrorCode setDescription(BSTR strLgCode, BSTR strVal)
set a description of Library
BSTR getDescription(BSTR strLgCode, EwErrorCode *errorCode)
return a description of language parameter
EwCreatorType getEwCreator(EwErrorCode *errorCode)
Deprecated use getEwCreatorType interface now.
EwErrorCode setVersionNumber(LONG lValueId)
set a version Number of current Library


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/EwLibraryObjects.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) 2023 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.