Hide Table of Contents
SOLIDWORKS Electrical API 2025.0.0
Electrical API
EwProjectFileConfigurationObjects.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
8import "oaidl.idl";
9import "ocidl.idl";
10
11import "EnumDefinition.idl";
12import "EwObjectBaseObjects.idl";
13
14
19[
20 object,
21 uuid(f5e142ad-942b-4a83-bcd2-7e699ea0606b),
22 dual,
23 helpstring("IEwProjectFileConfigurationX Interface"),
24 nonextensible,
25 pointer_default(unique)
26]
27interface IEwProjectFileConfigurationX : IDispatch
28{
39 BSTR getFileVersion (EwErrorCode* errorCode);
40
41
51
52
64
65
74 BSTR getName (EwErrorCode* errorCode);
75
76
86
87
97
98
99 /*
100 * Get the file measurement type
101 * \param[out] errorCode EwErrorCode enum type, can be:
102 * \li EW_UNDEFINED_ERROR if another error occurred
103 * \li EW_INVALID_OBJECT if object is not initialized
104 * \li EW_NO_ERROR if no error detected
105 * \return Measurement type
106 */
108
109
110 /*
111 * Get the configuration type, this value indicate on what the current file work.
112 * \param[out] errorCode EwErrorCode enum type, can be:
113 * \li EW_UNDEFINED_ERROR if another error occurred
114 * \li EW_INVALID_OBJECT if object is not initialized
115 * \li EW_NO_ERROR if no error detected
116 * \return configuration type.
117 */
119
120
131 BSTR getDescription (BSTR strLanguageCode, EwErrorCode* errorCode);
132
133
145 EwErrorCode setDescription (BSTR setDescription, BSTR strLanguageCode);
146
147
163 EwErrorCode setName (BSTR strName);
164
165
166
167
168};
169
174[
175 object,
176 uuid(2743a7c1-b501-400a-93a1-f40dbe3a0d04),
177 dual,
178 helpstring("IEwProjectFileConfigurationManagerX Interface"),
179 nonextensible,
180 pointer_default(unique)
181]
183{
196
197};
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
EwXMLConfigFolderType
XML Config Folder.
Definition: EwEnumeration.idl:1242
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:287
EwMeasurementType
All measurement type.
Definition: EwEnumeration.idl:300
Use this interface to manage the file configuration.
Definition: EwProjectFileConfigurationObjects.idl:183
IEwProjectFileConfigurationX getEwProjectFileConfiguration(BSTR strFilePath, EwErrorCode *errorCode)
Return the IEwProjectFileConfigurationX by this configuration file.
Use this interface to manage a project file configuration.
Definition: EwProjectFileConfigurationObjects.idl:28
LONG getDataVersionNumber(EwErrorCode *errorCode)
get a version of current file data
BSTR getFileVersion(EwErrorCode *errorCode)
Get the file configuration version as: 2022.1.3 Version 2022 is the major number, 1 is for minor numb...
EwXMLConfigFolderType getConfigurationFileType(EwErrorCode *errorCode)
Return the file configuration type.
EwMeasurementType getEwMeasurementType(EwErrorCode *errorCode)
BSTR getApplicationVersion(EwErrorCode *errorCode)
Get the application version as: 2022.1.3.30 Version 2022 is the major number, 1 is for minor number,...
long getConfigurationType(EwErrorCode *errorCode)
EwErrorCode setName(BSTR strName)
Set the name for this configuration file.
EwErrorCode setDescription(BSTR setDescription, BSTR strLanguageCode)
Set a description for this configuration file.
BSTR getName(EwErrorCode *errorCode)
Get the name of the file configuration.
EwCreatorType getEwCreatorType(EwErrorCode *errorCode)
Get the creator of the current object.
BSTR getDescription(BSTR strLanguageCode, EwErrorCode *errorCode)
Get a description of this file configuration.


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/EwProjectFileConfigurationObjects.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) 2025 SP2

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.