Hide Table of Contents
SOLIDWORKS Electrical API 2024.0.0
Electrical API
EwAPI.idl
Go to the documentation of this file.
1#pragma once
2
3#if (__midl >= 501)
4midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */
5#endif
6
7// EwAPI.idl : IDL source for EwAPI
8//
9
10// This file will be processed by the MIDL tool to
11// produce the type library (EwAPI.tlb) and marshalling code.
12import "EnumDefinition.idl";
13import "EwClassificationObjects.idl";
14import "EwCableObjects.idl";
15import "EwManufacturerPartObjects.idl";
16import "EwProjectObjects.idl";
17import "EwSymbolObjects.idl";
18import "EwTitleBlockObjects.idl";
19import "EwLibraryObjects.idl";
20import "EwTerminalObjects.idl";
21import "EwServerObjects.idl";
22import "EwApplicationObjects.idl";
23import "EwApplicationRibbon.idl";
24import "EwDialogMacroSelector.idl";
25import "EwApplicationDockingPane.idl";
26import "EwUiCommonResourceText.idl";
27import "EwDocumentObjects.idl";
28import "EwApplicationCaptionBarObjects.idl";
29import "EwApplicationMenu.idl";
30import "EwProjectFileConfigurationObjects.idl";
31import "EwESX3DExperienceObjects.idl";
32import "EwProjectFunctionObjects.idl";
33
34
35/************************************************************************/
36/* INTERFACES */
37/************************************************************************/
38
44[
45 object,
46 uuid(5FC8EA1F-028E-4C83-84D0-033DDBE69F33),
47 dual,
48 nonextensible,
49 pointer_default(unique)
50]
51interface IEwArchiveEnvironmentX : IDispatch
52{
62 EwErrorCode setArchivePath (BSTR strArchivePath);
63
64
72 BSTR getArchivePath (EwErrorCode * errorCode);
73
74
83
84
93
94
103
104
113
114
123 EwErrorCode setDate (DATE archiveDate);
124
125
134 DATE getDate (EwErrorCode* errorCode);
135
136
148
149
150
161 EwErrorCode setLibraries (VARIANT vLibrariesArray);
162
163
172 VARIANT getLibraries (EwErrorCode* errorCode);
173
174
183 VARIANT_BOOL getArchiveProject (EwErrorCode* errorCode);
184
185
195 EwErrorCode setArchiveProject (VARIANT_BOOL bArchiveProject);
196
197};
198
203[
204 object,
205 uuid(F29DB845-91B8-4469-B828-46A8D0396BA3),
206 dual,
207 oleautomation,
208 nonextensible,
209 helpstring("IEwEnvironmentX Interface"),
210 pointer_default(unique)
211]
212interface IEwEnvironmentX : IDispatch {
213
220 EwErrorCode setWorkingFolder (BSTR strFolderPath);
221
222
235 EwErrorCode create (BSTR strFolderPath, VARIANT_BOOL bAutoConnect);
236
237
247
248
252 void disconnect ();
253
254
264
265
266
276
277
278
292 EwErrorCode archive (BSTR strArchivePath, VARIANT_BOOL bDelete);
293
294
309 EwErrorCode unarchive (BSTR strArchivePath, BSTR strOutputFolderPath);
310
311
312
321
322
323
333
334
335
346
347
348
354
355
356
366
367
368
378
379
385
386
391 BSTR getWorkingFolder (EwErrorCode* errorCode);
392
393
397 VARIANT_BOOL getCopy3DParts (EwErrorCode* errorCode);
398
399
405
406
407
417 BSTR getFolderPath (EwEnvironmentFolderPathValue eEnvironmentFolderPathValue, EwErrorCode* errorCode);
418
419
429
430
434 BSTR getVersion ();
435
436
447 EwErrorCode unarchiveEnvironment (BSTR* strArchivePath);
448
449
457 EwErrorCode setHostname (BSTR strHostname);
458
459
467 BSTR getHostname (EwErrorCode* errorCode);
468
469
477 EwErrorCode setUserID (BSTR strUserID);
478
479
487 BSTR getUserID (EwErrorCode* errorCode);
488
489
497 EwErrorCode setPassword (BSTR strPassword);
498
499
507 BSTR getPassword (EwErrorCode* errorCode);
508
509
519
520
530
531
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
567
568
579
580
591 BSTR getXMLConfigFolder (EwXMLConfigFolderType eXMLConfigFolderType, EwErrorCode* errorCode);
592
593
594
595
605 BSTR getLogFilePath (EwErrorCode* errorCode);
606
607
608
609};
610
611
616[
617 object,
618 uuid(7D65CD4F-DBB9-4C7F-A36D-C493FCBCEA0B),
619 dual,
620 oleautomation,
621 nonextensible,
622 helpstring("IEwApplicationSettingsX Interface"),
623 pointer_default(unique)
624]
625interface IEwApplicationSettingsX : IDispatch {
626
634 VARIANT getLanguageArray (EwErrorCode* errorCode);
635
636
646 VARIANT getValue (EwApplicationSettingsValue eApplicationSettingsValues, EwErrorCode* errorCode);
647
648
659 EwErrorCode setValue (EwApplicationSettingsValue eApplicationSettingsValues, VARIANT vValue);
660
661
671
672
673
674
675
676
677
678
679};
680
685[
686 object,
687 uuid(83A173A9-B84B-4BA3-9A44-8F8C9E11CEC3),
688 dual,
689 oleautomation,
690 nonextensible,
691 helpstring("IEwApplicationX Interface"),
692 pointer_default(unique)
693]
694interface IEwApplicationX : IDispatch {
695
707 EwErrorCode runCommand (BSTR strCommand);
708
709
719
720
726
727
738
739
749
750
760
761
771
772
782
783
795
796
807
808
818
819
829
830
844 EwErrorCode importFile (BSTR strFileToImport, BSTR strOutputPath);
845
846
847
848
856
857
865
866
876
877
887
888
889
899
900
909 EwErrorCode loadRespan (BSTR strFilePath);
910
911
920 EwErrorCode unloadRespan (BSTR strFilePath);
921
922
926 BSTR getName ();
927
928
938
939
949
950
959
960
969
970
982 IEwProjectX openProjectFromFilePath (BSTR strFilePath, EwErrorCode* errorCode);
983
984
997 VARIANT_BOOL isEwProjectOpened (long lProjectId, EwErrorCode* errorCode);
998
999
1000
1013 VARIANT_BOOL isEwMacroOpened (long lMacroId, EwErrorCode* errorCode);
1014
1015
1028
1029
1041
1042
1043
1054 BSTR findFile (BSTR strFileName, EwErrorCode* errorCode);
1055
1056
1061
1062
1073
1074
1075
1076
1090 BSTR getFolderPath (EwApplicationFolderPathValue eApplicationFolderPathValue , EwErrorCode* errorCode);
1091
1101
1102
1113
1114
1127
1128
1138
1139
1152
1153
1163
1164
1176
1177
1188
1189
1190
1191
1192
1202
1203
1214
1215
1227
1228
1240
1241
1242
1243
1244
1256
1257
1269
1270
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1304 IEwESX3DExperienceX getEwESX3DExperienceX (EwErrorCode* errorCode);
1305
1306
1307
1308
1320 IDispatch getSWCEFComApplication (EwErrorCode* errorCode);
1321
1322};
1323
1328[
1329 object,
1330 uuid(0F5E85DA-88EF-4A63-83AF-6B11A048CD79),
1331 dual,
1332 oleautomation,
1333 nonextensible,
1334 helpstring("IEwAPIX Interface"),
1335 pointer_default(unique),
1336 hidden
1337]
1338interface IEwAPIX : IDispatch {
1339
1340
1341
1342
1343
1344
1345
1356
1357
1358
1372
1373
1390 EwErrorCode initializeInBackgroundWithUserRight (ULONGLONG mainHwnd, BSTR strUserLogin , BSTR strUserPassword);
1391
1392
1393
1394
1395
1396
1397
1398};
1399
1404[
1405 object,
1406 uuid(899CE40B-CBBC-4018-A65C-D20836ECD11C),
1407 dual,
1408 nonextensible,
1409 pointer_default(unique)
1410]
1411interface IEwAddIn : IDispatch
1412{
1418 VARIANT_BOOL connectToEwAPI (LPDISPATCH ewInteropFactory);
1419
1420
1425 VARIANT_BOOL disconnectFromEwApi ();
1426
1427
1428
1429};
1430
1436[
1437 object,
1438 uuid(6c56f4f9-3277-4cbc-8227-f7e7df9f9bdc),
1439 dual,
1440 nonextensible,
1441 pointer_default(unique)
1442]
1443interface IEwAddinInternalX : IDispatch
1444{
1445};
1446
1451[
1452 object,
1453 uuid(A8F9E04C-539F-4A1B-A38B-8219C7234C90),
1454 dual,
1455 helpstring("IInteropFactoryX Interface"),
1456 nonextensible,
1457 pointer_default(unique)
1458]
1459interface IInteropFactoryX : IDispatch
1460{
1472
1473
1482
1483
1484
1485};
1486
1491[
1492 object,
1493 uuid(DE35BA2A-0566-40D3-AF1D-AD79D1133B09),
1494 dual,
1495 helpstring("IEwInteropFactoryX Interface"),
1496 nonextensible,
1497 pointer_default(unique)
1498]
1500{
1501}
1502
1503
EwApISoftType
All the selection types.
Definition: EnumDefinition.idl:323
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
EwEnvironmentFolderPathValue
Used with getFolderPath of EwEnvironmentX object.
Definition: EwEnumeration.idl:14
EwApplicationFolderPathValue
Used with getFolderPath of application object.
Definition: EwEnumeration.idl:68
EwApplicationSettingsValue
Values for application settings.
Definition: EwEnumeration.idl:81
EwDialogManagerType
All the Library/Configuration Manager Dialogs.
Definition: EwEnumeration.idl:1249
EwLogOutputType
Log support type for database errors.
Definition: EwEnumeration.idl:420
EwDialogSelectorType
All the Selector Dialogs.
Definition: EwEnumeration.idl:1287
EwXMLConfigFolderType
XML Config Folder.
Definition: EwEnumeration.idl:1224
EwPdmType
All Type of PDM integration.
Definition: EwEnumeration.idl:972
EwArchiveMode
Classification type.
Definition: EwEnumeration.idl:597
EwTimeStamp
Time stamps options.
Definition: EwEnumeration.idl:613
Use this interface to initilalize this API.
Definition: EwAPI.idl:1338
IEwApplicationX getEwApplication(BSTR strKey, EwErrorCode *errorCode)
Create a IEwApplicationX object from the current API.
EwErrorCode initializeInBackground(ULONGLONG mainHwnd)
Initialize this API to use the application in background.
EwErrorCode initializeInBackgroundWithUserRight(ULONGLONG mainHwnd, BSTR strUserLogin, BSTR strUserPassword)
Initialize this API to use the application in background.
Interface that allow applications to create add-ins.
Definition: EwAPI.idl:1412
VARIANT_BOOL connectToEwAPI(LPDISPATCH ewInteropFactory)
Method called to initialize add-in when add-in is loaded.
VARIANT_BOOL disconnectFromEwApi()
methode call by application to disconnected add-in return false if you don't want to unload your add-...
Interface that allow applications to create add-ins.
Definition: EwAPI.idl:1444
Use this interface to manage the application settings.
Definition: EwAPI.idl:625
VARIANT getValue(EwApplicationSettingsValue eApplicationSettingsValues, EwErrorCode *errorCode)
Get an application settings value.
EwErrorCode save()
This method will save any modification done using setValue method.
EwErrorCode setValue(EwApplicationSettingsValue eApplicationSettingsValues, VARIANT vValue)
Set an application settings value.
VARIANT getLanguageArray(EwErrorCode *errorCode)
Get an array of all languages code in application.
Use this interface to manage the application.
Definition: EwAPI.idl:694
BSTR getName()
Return the name of application.
IEwSaveDWGImageX newEwSaveDWGImage(EwErrorCode *errorCode)
Create an object to convert DWG on picture.
IEwDialogTaskX getEwDialogTask(EwErrorCode *errorCode)
To get the task dialog wrapper.
IEwRibbonX getEwRibbon(EwErrorCode *errorCode)
return an IEwRibbonX interface to EwRibbonX object.
IEwCaptionBarX getEwCaptionBar(EwErrorCode *errorCode)
Return an IEwCaptionBarX interface to manage the software Caption Bar.
EwErrorCode getSystemInformation(BSTR strPath)
Collect information on electrical application.
EwErrorCode runCommand(BSTR strCommand)
Run a command.
IEwDockingPaneManagerX getEwDockingPaneManager(EwErrorCode *errorCode)
return an IEwDockingPaneManagerX interface to EwDockingPaneManagerX object.
IEwDialogManufacturerPartOrderingX getEwDialogManufacturerPartOrdering(EwErrorCode *errorCode)
To get the manufacturer part ordering dialog wrapper.
EwErrorCode activate()
Activate the application.
IEwESX3DExperienceX getEwESX3DExperienceX(EwErrorCode *errorCode)
Get the IEwESX3DExperienceX object to manage 3DExperience platform operation.
IEwMenuManagerX getEwMenuManager(EwErrorCode *errorCode)
Get the IEwMenuManagerX object to manage all the API context menu in the application.
BSTR getApplicationVersion()
Get the application version as: 2016.1.2 Version 2016 is the major number, 1 is for minor number,...
IEwManagerDialogX getEwManagerDialogObject(EwDialogManagerType eDialogManager, EwErrorCode *errorCode)
Get the Manager dialog wrapper with the IEwManagerDialogX interface.
IEwDialogManufacturerPartSelectorX getEwDialogManufacturerPartSelector(EwErrorCode *errorCode)
To get the manufacturer part selector dialog wrapper.
IEwDialogProjectManagerX getEwDialogProjectManager(EwErrorCode *errorCode)
IEwCommandManagerX getEwCommandManager(EwErrorCode *errorCode)
Get the IEwCommandManagerX command manager interface.
IEwDialogResumeX getEwDialogResume(EwErrorCode *errorCode)
Get the resume dialog wrapper.
IEwProjectX getEwProjectCurrent(EwErrorCode *errorCode)
To get the active project.
IDispatch getSWCEFComApplication(EwErrorCode *errorCode)
Get SWCEFComApplication in a singleton way.
EwErrorCode openEwMacroID(LONG lID)
Open a macro in the application interface.
IEwDocumentManagerX getEwDocumentManager(EwErrorCode *errorCode)
Get IEwDocumentManagerX object to manage all the Document in the application.
IEwApplicationSettingsX getEwApplicationSettings(EwErrorCode *errorCode)
Get the application settings interface.
EwErrorCode closeEwProjectID(LONG lID)
Close a project already opened in the application interface.
VARIANT_BOOL isEwProjectOpened(long lProjectId, EwErrorCode *errorCode)
Return true if the project is opened in application user interface.
BSTR getWinAppName()
return 2D application name, to substitute WIN_APP_NAME in the resource strings
IEwDialogSummaryX getEwDialogSummary(EwErrorCode *errorCode)
To get the summary dialog wrapper.
IEwEnvironmentX newEwEnvironment()
Create a IEwEnvironmentX object from the current API.
IEwXLSBookX newEwXLSBook(EwErrorCode *errorCode)
To get a new XLSBookX wrapper.
IEwDialogProgressX getEwDialogProgress(EwErrorCode *errorCode)
Get the progress dialog wrapper.
IEwDialogAlignPartsParametersSelectorX getEwDialogAlignPartsParametersSelector(EwErrorCode *errorCode)
To get align parameters selector dialog wrapper.
EwPdmType getEwPdmType(EwErrorCode *errorCode)
Return current EwPdmType enum type.
EwErrorCode closeEwMacroID(LONG lID)
Close a macro already opened in the application interface.
EwErrorCode openEwProjectID(LONG lID)
Open a project in the application interface.
IEwSelectorDialogX getEwSelectorDialogObject(EwDialogSelectorType eDialogSelector, EwErrorCode *errorCode)
Get the Selector dialog wrapper with the IEwSelectorDialogX interface.
IEwProjectX openProjectFromFilePath(BSTR strFilePath, EwErrorCode *errorCode)
Open a project from the input file path.
EwErrorCode loadRespan(BSTR strFilePath)
Load a file with extention .respan containing the definition of a ribbon tab to be added to the appli...
VARIANT_BOOL isEwMacroOpened(long lMacroId, EwErrorCode *errorCode)
Return true if the macro is opened in application user interface.
IEwDialogMacroSelectorX getEwDialogMacroSelector(EwErrorCode *errorCode)
To get the macro selector dialog wrapper.
IEwDocumentX getEwDocumentCurrent(EwErrorCode *errorCode)
Get the IEwDocumentX from current document.
IEwRightsManagerX getEwRightsManager(EwErrorCode *errorCode)
To get the rights manager.
EwErrorCode importFile(BSTR strFileToImport, BSTR strOutputPath)
To import .ema, .ems files.
EwErrorCode close()
Close the application.
EwApISoftType getApplicationType(EwErrorCode *errorCode)
Return application type.
BSTR getFolderPath(EwApplicationFolderPathValue eApplicationFolderPathValue, EwErrorCode *errorCode)
Return path of utility application folder, next to binary folder.
EwErrorCode setEwPdmType(EwPdmType ePdmType)
Set type of PDM integration.
BSTR getApiDllVersion()
Get the version of the ActiveX dll loaded in memory.
BSTR findFile(BSTR strFileName, EwErrorCode *errorCode)
Find a file in application folders.
IEwDialogLocationSelectorX getEwDialogLocationSelector(EwErrorCode *errorCode)
To get the location selector dialog wrapper.
EwErrorCode unloadRespan(BSTR strFilePath)
Unload a .respan file.
IEwEnvironmentX getEwEnvironment(EwErrorCode *errorCode)
Use this interface to manage the archive environment with options.
Definition: EwAPI.idl:52
BSTR getArchivePath(EwErrorCode *errorCode)
Get the archive path combined with the timestamp and the path given by user.
EwTimeStamp getTimeStamp(EwErrorCode *errorCode)
Get the time stamp that will be added to the filename of the archive file when calling archive method...
VARIANT_BOOL getArchiveProject(EwErrorCode *errorCode)
Get option for archiving projects.
EwErrorCode setArchiveProject(VARIANT_BOOL bArchiveProject)
Set option for archiving projects.
EwErrorCode setLibraries(VARIANT vLibrariesArray)
Set libraries to archive and object associated.
VARIANT getLibraries(EwErrorCode *errorCode)
Get libraries to archive in EwArchiveMode::kArchiveModeObjectFromLibrary mode.
EwErrorCode archive()
Archive the current environment.
EwErrorCode setArchivePath(BSTR strArchivePath)
Set the path of the destination file where the archive will be done.
EwErrorCode setTimeStamp(EwTimeStamp eTimeStamp)
Set the time stamp that will be added to the filename of the archive file when calling archive method...
DATE getDate(EwErrorCode *errorCode)
Get the date for archive.
EwErrorCode setDate(DATE archiveDate)
Set the date for archive.
EwArchiveMode getArchiveMode(EwErrorCode *errorCode)
Get the Archive mode.
EwErrorCode setArchiveMode(EwArchiveMode eArchiveMode)
Set the Archive mode.
Use this interface to manage EwCableReferenceX objects.
Definition: EwCableObjects.idl:866
Use this interface to manage the caption Bar.
Definition: EwApplicationCaptionBarObjects.idl:196
Use this interface to manage EwClassificationX objects.
Definition: EwClassificationObjects.idl:406
Use this manager to add or remove custom commands.
Definition: EwApplicationObjects.idl:856
Use this interface to manage the align parameters from the user interface.
Definition: EwApplicationObjects.idl:27
Use this interface to display a location selector dialog.
Definition: EwApplicationObjects.idl:372
Use this interface to manage macro selector dialog.
Definition: EwDialogMacroSelector.idl:22
Use this interface to display the order of manufacturer parts dialog.
Definition: EwApplicationObjects.idl:68
Use this interface to display a dialog that allows the user to select build of materials.
Definition: EwApplicationObjects.idl:248
Use this interface to display a progress dialog.
Definition: EwApplicationObjects.idl:604
Use this interface to the Project Manager Dialog.
Definition: EwApplicationObjects.idl:1039
Use this interface to display a resume dialog.
Definition: EwApplicationObjects.idl:537
Use this interface to display a summary dialog.
Definition: EwApplicationObjects.idl:206
Use this interface to display a task dialog.
Definition: EwApplicationObjects.idl:294
Use this interface to manage all the docking Pane in the application.
Definition: EwApplicationDockingPane.idl:308
Use this interface to manage the documents in the application.
Definition: EwDocumentObjects.idl:128
Use this interface to manage an EwDocumentX object.
Definition: EwDocumentObjects.idl:34
Use this interface to manage software environment.
Definition: EwAPI.idl:212
EwErrorCode setWorkingFolder(BSTR strFolderPath)
Set the working folder of this environment.
EwErrorCode unarchiveEnvironment(BSTR *strArchivePath)
Unarchive a tewzip file without showing any dialog, using default options.
IEwClassificationManagerX getEwClassificationManager(EwErrorCode *errorCode)
Get a manager object for classifications.
BSTR getFolderPath(EwEnvironmentFolderPathValue eEnvironmentFolderPathValue, EwErrorCode *errorCode)
Return folder path associated to enumeration type EwEnvironmentFolderPathValue.
BSTR getWorkingFolder(EwErrorCode *errorCode)
Return environment folder path.
IEwSymbolManagerX getEwSymbolManager(EwErrorCode *errorCode)
get IEwSymbolManagerX of the current environment
IEwManufacturerPartManagerX getEwManufacturerPartManager(EwErrorCode *errorCode)
get IEwManufacturerPartManagerX of the current environment
EwErrorCode setHostname(BSTR strHostname)
Set the hostname to connect to database.
IEwProjectManagerX getEwProjectManager(EwErrorCode *errorCode)
get EwProjectManager of the current environment
IEwTerminalTypeManagerX getEwTerminalTypeManager(EwErrorCode *errorCode)
Get IEwTerminalTypeManagerX of the current environment.
IEwProjectManagerX getEwMacroManager(EwErrorCode *errorCode)
Get a project manager object for macros, macro manager.
BSTR getCreoTemplateFolderPath()
IEwTitleBlockManagerX getEwTitleBlockManager(EwErrorCode *errorCode)
get EwTitleBlockManager of the current environment
BSTR getLogFilePath(EwErrorCode *errorCode)
Return the path of logfile for query errors.
BSTR getUserID(EwErrorCode *errorCode)
Get the user ID to connect to database.
IEwArchiveEnvironmentX getEwArchiveEnvironment(EwErrorCode *errorCode)
Get a EwArchiveEnvironmentX object to archive the current environment;.
EwErrorCode connect()
Connect to environment previously identify by the function setWorkingFolder.
void disconnect()
Disconnect from environment previously connected to.
VARIANT_BOOL getCopy3DParts(EwErrorCode *errorCode)
EwErrorCode setUserID(BSTR strUserID)
Set the user ID to connect to database.
EwErrorCode deleteWorkingDirectory()
Delete the current working directory.
EwErrorCode create(BSTR strFolderPath, VARIANT_BOOL bAutoConnect)
Create a new environment.
BSTR getCreoFolderPath(EwErrorCode *errorCode)
IEwCableReferenceManagerX getEwCableReferenceManager(EwErrorCode *errorCode)
get EwCableReferenceManager of the current environment
BSTR getSOLIDWORKSFolderPath()
Return SOLIDWORKS folder path where SOLIDWORKS files are stored.
BSTR getXMLConfigFolder(EwXMLConfigFolderType eXMLConfigFolderType, EwErrorCode *errorCode)
Return XML config folder path of configuration.
IEwLibraryManagerX getEwLibraryManager(EwErrorCode *errorCode)
get EwLibraryManager of the current environment
EwErrorCode setPassword(BSTR strPassword)
Set the password to connect to database.
EwErrorCode unarchive(BSTR strArchivePath, BSTR strOutputFolderPath)
Unarchive a tewzip archive.
EwErrorCode archive(BSTR strArchivePath, VARIANT_BOOL bDelete)
Archive the current data folder in a tewzip file.
BSTR getHostname(EwErrorCode *errorCode)
Get the hostname of database.
BSTR getPassword(EwErrorCode *errorCode)
Get the password to connect to database.
EwErrorCode setDebugInfoType(EwLogOutputType eLogOutputType)
Modify the output type to display log in, default value is kLogOutputNone: for No error shown.
IEwWireTerminationTypeManagerX getEwWireTerminationTypeManager(EwErrorCode *errorCode)
Get IEwWireTerminationTypeManagerX of the current environment.
Use this interface to connect to the application.
Definition: EwAPI.idl:1500
Use this interface to manage EwLibraryX objects.
Definition: EwLibraryObjects.idl:161
Use this interface to manage the Library/Configuration manager dialogs.
Definition: EwApplicationObjects.idl:1098
Use this interface to manage IEwManufacturerPartX objects.
Definition: EwManufacturerPartObjects.idl:1264
Use this interface to manage an EwMenuManagerX object.
Definition: EwApplicationMenu.idl:522
Use this interface to manage IEwProjectX objects.
Definition: EwProjectObjects.idl:2521
Use this interface to manage a project.
Definition: EwProjectObjects.idl:1665
Use this interface to manage the Ribbon Bar.
Definition: EwApplicationRibbon.idl:1245
Use this interface to manage the application rights.
Definition: EwApplicationObjects.idl:108
This interface for export DWG to image.
Definition: EwUtilDefinition.idl:95
Use this interface to manage Selector dialogs.
Definition: EwApplicationObjects.idl:1215
Use this interface to manage EwSymbolX objects.
Definition: EwSymbolObjects.idl:1057
Use this interface to manage terminal strip Type.
Definition: EwTerminalObjects.idl:242
Use this interface to manage EwTitleBlockX objects.
Definition: EwTitleBlockObjects.idl:544
Use this interface to manage termination Type.
Definition: EwTerminalObjects.idl:96
Use this interface to manage a XLS file.
Definition: EwApplicationObjects.idl:964
Use this interface to connect to the application.
Definition: EwAPI.idl:1460
IEwAPIX getEwAPI(EwErrorCode *errorCode)
Return an IEwAPIX object.
IEwApplicationX getEwApplication(BSTR strKey, EwErrorCode *errorCode)
Return an IEwApplicationX object connect to the application.


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/EwAPI.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) 2024 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.