4midl_pragma warning(disable:2111)
13import "EnumDefinition.idl";
14import "EwClassificationObjects.idl";
15import "EwCableObjects.idl";
16import "EwManufacturerPartObjects.idl";
17import "EwProjectObjects.idl";
18import "EwSymbolObjects.idl";
19import "EwTitleBlockObjects.idl";
20import "EwLibraryObjects.idl";
21import "EwTerminalObjects.idl";
22import "EwServerObjects.idl";
23import "EwApplicationObjects.idl";
24import "EwApplicationRibbon.idl";
25import "EwDialogMacroSelector.idl";
26import "EwApplicationDockingPane.idl";
27import "EwUiCommonResourceText.idl";
28import "EwDocumentObjects.idl";
29import "EwApplicationCaptionBarObjects.idl";
30import "EwApplicationMenu.idl";
31import "EwProjectFileConfigurationObjects.idl";
32import "EwESX3DExperienceObjects.idl";
45 uuid(5FC8EA1F-028E-4C83-84D0-033DDBE69F33),
48 pointer_default(unique)
206 uuid(F29DB845-91B8-4469-B828-46A8D0396BA3),
210 helpstring(
"IEwEnvironmentX Interface"),
211 pointer_default(unique)
617 uuid(7D65CD4F-DBB9-4C7F-A36D-C493FCBCEA0B),
621 helpstring(
"IEwApplicationSettingsX Interface"),
622 pointer_default(unique)
680 uuid(83A173A9-B84B-4BA3-9A44-8F8C9E11CEC3),
684 helpstring(
"IEwApplicationX Interface"),
685 pointer_default(unique)
1309 uuid(0F5E85DA-88EF-4A63-83AF-6B11A048CD79),
1313 helpstring(
"IEwAPIX Interface"),
1314 pointer_default(unique),
1385 uuid(899CE40B-CBBC-4018-A65C-D20836ECD11C),
1388 pointer_default(unique)
1417 uuid(6c56f4f9-3277-4cbc-8227-f7e7df9f9bdc),
1420 pointer_default(unique)
1432 uuid(A8F9E04C-539F-4A1B-A38B-8219C7234C90),
1434 helpstring(
"IInteropFactoryX Interface"),
1436 pointer_default(unique)
1472 uuid(DE35BA2A-0566-40D3-AF1D-AD79D1133B09),
1474 helpstring(
"IEwInteropFactoryX Interface"),
1476 pointer_default(unique)
EwApISoftType
All the selection types.
Definition: EnumDefinition.idl:312
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
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
EwLogOutputType
Log support type for database errors.
Definition: EwEnumeration.idl:416
EwXMLConfigFolderType
XML Config Folder.
Definition: EwEnumeration.idl:1219
EwPdmType
All Type of Pdm integration.
Definition: EwEnumeration.idl:967
EwArchiveMode
Classification type.
Definition: EwEnumeration.idl:594
EwTimeStamp
Time stamps options.
Definition: EwEnumeration.idl:610
Use this interface to initilalize this API.
Definition: EwAPI.idl:1317
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:1391
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:1423
Use this interface to manage the application settings.
Definition: EwAPI.idl:624
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:687
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.
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:51
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:830
Use this interface to manage the caption Bar.
Definition: EwApplicationCaptionBarObjects.idl:196
Use this interface to manage EwClassificationX objects.
Definition: EwClassificationObjects.idl:392
Use this manager to add or remove custom commands.
Definition: EwApplicationObjects.idl:855
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:1038
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:213
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:1479
Use this interface to manage EwLibraryX objects.
Definition: EwLibraryObjects.idl:148
Use this interface to manage the Library/Configuration manager dialogs.
Definition: EwApplicationObjects.idl:1097
Use this interface to manage IEwManufacturerPartX objects.
Definition: EwManufacturerPartObjects.idl:1250
Use this interface to manage IEwProjectX objects.
Definition: EwProjectObjects.idl:2398
Use this interface to manage a project.
Definition: EwProjectObjects.idl:1557
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:1214
Use this interface to manage EwSymbolX objects.
Definition: EwSymbolObjects.idl:1043
Use this interface to manage terminal strip Type.
Definition: EwTerminalObjects.idl:242
Use this interface to manage EwTitleBlockX objects.
Definition: EwTitleBlockObjects.idl:530
Use this interface to manage termination Type.
Definition: EwTerminalObjects.idl:96
Use this interface to manage a XLS file.
Definition: EwApplicationObjects.idl:963
Use this interface to connect to the application.
Definition: EwAPI.idl:1439
IEwAPIX getEwAPI(EwErrorCode *errorCode)
Return an IEwAPIX object.
IEwApplicationX getEwApplication(BSTR strKey, EwErrorCode *errorCode)
Return an IEwApplicationX object connect to the application.