4midl_pragma warning(disable:2111)
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";
46 uuid(5FC8EA1F-028E-4C83-84D0-033DDBE69F33),
49 pointer_default(unique)
205 uuid(F29DB845-91B8-4469-B828-46A8D0396BA3),
209 helpstring(
"IEwEnvironmentX Interface"),
210 pointer_default(unique)
618 uuid(7D65CD4F-DBB9-4C7F-A36D-C493FCBCEA0B),
622 helpstring(
"IEwApplicationSettingsX Interface"),
623 pointer_default(unique)
687 uuid(83A173A9-B84B-4BA3-9A44-8F8C9E11CEC3),
691 helpstring(
"IEwApplicationX Interface"),
692 pointer_default(unique)
1330 uuid(0F5E85DA-88EF-4A63-83AF-6B11A048CD79),
1334 helpstring(
"IEwAPIX Interface"),
1335 pointer_default(unique),
1406 uuid(899CE40B-CBBC-4018-A65C-D20836ECD11C),
1409 pointer_default(unique)
1438 uuid(6c56f4f9-3277-4cbc-8227-f7e7df9f9bdc),
1441 pointer_default(unique)
1453 uuid(A8F9E04C-539F-4A1B-A38B-8219C7234C90),
1455 helpstring(
"IInteropFactoryX Interface"),
1457 pointer_default(unique)
1493 uuid(DE35BA2A-0566-40D3-AF1D-AD79D1133B09),
1495 helpstring(
"IEwInteropFactoryX Interface"),
1497 pointer_default(unique)
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 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.