 |
SOLIDWORKS Electrical API
2020.0.5
Electrical API
|
Go to the documentation of this file.
4 midl_pragma warning(disable:2111)
13 import "EnumDefinition.idl";
14 import "EwCableObjects.idl";
15 import "EwManufacturerPartObjects.idl";
16 import "EwProjectObjects.idl";
17 import "EwSymbolObjects.idl";
18 import "EwTitleBlockObjects.idl";
19 import "EwLibraryObjects.idl";
20 import "EwServerObjects.idl";
21 import "EwApplicationObjects.idl";
22 import "EwApplicationRibbon.idl";
23 import "EwDialogMacroSelector.idl";
24 import "EwClassificationObjects.idl";
37 uuid(5FC8EA1F-028E-4C83-84D0-033DDBE69F33),
40 pointer_default(unique)
196 uuid(F29DB845-91B8-4469-B828-46A8D0396BA3),
200 helpstring(
"IEwEnvironmentX Interface"),
201 pointer_default(unique)
550 uuid(7D65CD4F-DBB9-4C7F-A36D-C493FCBCEA0B),
554 helpstring(
"IEwApplicationSettingsX Interface"),
555 pointer_default(unique)
612 uuid(83A173A9-B84B-4BA3-9A44-8F8C9E11CEC3),
616 helpstring(
"IEwApplicationX Interface"),
617 pointer_default(unique)
1110 uuid(0F5E85DA-88EF-4A63-83AF-6B11A048CD79),
1114 helpstring(
"IEwAPIX Interface"),
1115 pointer_default(unique),
1181 uuid(899CE40B-CBBC-4018-A65C-D20836ECD11C),
1184 pointer_default(unique)
1212 uuid(DE35BA2A-0566-40D3-AF1D-AD79D1133B09),
1216 pointer_default(unique)
1249 uuid(4714D4C0-5AA9-47F7-82FF-458B341E7052),
1251 helpstring(
"EwAPI 1.0 Type Library")
1255 importlib(
"stdole2.tlb");
1260 uuid(35A4E745-DA6D-4E70-9024-6CA11019E935),
1261 helpstring(
"_IEwEnvironmentXEvents Interface")
1263 dispinterface _IEwEnvironmentXEvents
1267 void onOpenConnectionNotify ();
1269 void onCloseConnectionNotify ();
1271 void onLostConnectionNotify ();
1273 void onEnvironmentObjectAdd (IDispatch* IEwObjectX);
1275 void onEnvironmentObjectUpdate (IDispatch* IEwObjectX);
1277 void onEnvironmentObjectDelete (IDispatch* IEwObjectX);
1282 uuid(AC05264E-0353-4518-99D8-7D50C8C2AC09),
1283 helpstring(
"EwEnvironmentX Class")
1286 coclass EwEnvironmentX
1289 [
default, source] dispinterface _IEwEnvironmentXEvents;
1293 uuid(A111EAC6-E900-4CB7-B23B-C31F85414F27),
1294 helpstring(
"EwAPIX Class"),
1302 uuid(390D98EC-9EF5-4012-A8D0-793670613DFE),
1303 helpstring(
"EwManufacturerPartX Class")
1306 coclass EwManufacturerPartX
1312 uuid(83FF8561-AD58-4DDB-9807-2791FD32CB21),
1313 helpstring(
"EwManufacturerPartCircuitX Class")
1316 coclass EwManufacturerPartCircuitX
1322 uuid(EE094E0E-B681-4985-BCF5-B19258145DC5),
1323 helpstring(
"EwManufacturerPartTerminalX Class")
1326 coclass EwManufacturerPartTerminalX
1332 uuid(FDE8F545-C7C3-41E5-AB82-3E25E3D2C682),
1333 helpstring(
"EwCableReferenceX Class")
1336 coclass EwCableReferenceX
1342 uuid(11E2D55A-8949-467F-9C6A-367B26C01825),
1343 helpstring(
"EwSymbolX Class")
1352 uuid(D2F9C9D9-A2F4-4B7E-A374-4D922FABF26F),
1353 helpstring(
"EwSymbolCircuitX Class")
1356 coclass EwSymbolCircuitX
1362 uuid(9E2EF920-743F-4703-B3E2-DD81B97E2110),
1363 helpstring(
"EwTitleBlockX Class")
1366 coclass EwTitleBlockX
1374 uuid(a2cace42-2bb5-11e5-b345-feff819cdc9f),
1375 helpstring(
"Event interface for EwProjectX")
1377 dispinterface _IEwProjectXEvents
1381 void onOpenConnectionNotify ();
1383 void onCloseConnectionNotify ();
1385 void onLostConnectionNotify ();
1387 void onProjectObjectAdd (IDispatch* IEwObjectX);
1389 void onProjectObjectUpdate (IDispatch* IEwObjectX);
1391 void onProjectObjectDelete (IDispatch* IEwObjectX);
1396 uuid(3A8D560A-0E58-4904-B83C-437EA056558A),
1397 helpstring(
"EwProjectX Class")
1403 [
default, source] dispinterface _IEwProjectXEvents;
1407 uuid(AD902791-AB59-4510-91A0-AF31B0D911BD),
1408 helpstring(
"EwProjectSymbolX Class")
1411 coclass EwProjectSymbolX
1417 uuid(6BB8114A-B327-4B00-851F-025B03955DA0),
1418 helpstring(
"EwProjectSymbolCircuitX Class")
1421 coclass EwProjectSymbolCircuitX
1423 [
default]
interface IEwProjectSymbolCircuitX;
1427 uuid(0CBB9594-3499-4482-A3EE-A9A991CF0B88),
1428 helpstring(
"EwProjectSymbolPointX Class")
1431 coclass EwProjectSymbolPointX
1433 [
default]
interface IEwProjectSymbolPointX;
1437 uuid(9489B473-9192-44A9-80F0-D896EFFC8F59),
1438 helpstring(
"EwProjectManufacturerPartX Class")
1441 coclass EwProjectManufacturerPartX
1447 uuid(005C71AD-78A0-40EA-AB7B-AA5F615BB01F),
1448 helpstring(
"EwProjectManufacturerPartCircuitX Class")
1451 coclass EwProjectManufacturerPartCircuitX
1457 uuid(FDCA0E46-F6BC-4A2C-889A-7D8820368B85),
1458 helpstring(
"EwProjectManufacturerPartTerminalX Class")
1461 coclass EwProjectManufacturerPartTerminalX
1468 uuid(7A280CE2-272F-489F-BC78-F462F8904946),
1469 helpstring(
"EwCableCoreX Class")
1472 coclass EwCableCoreX
1478 uuid(A89A23A9-1CAC-4E3D-A9A7-DCC09E30EE63),
1479 helpstring(
"EwSymbolPointX Class")
1482 coclass EwSymbolPointX
1488 uuid(232EC072-F4E2-45DC-9C5B-8C78B6AFCFCE),
1489 helpstring(
"EwSymbolFiltersX Class")
1492 coclass EwSymbolFiltersX
1498 uuid(FC9F5302-FEF0-4795-9098-C08009A6D9A5),
1499 helpstring(
"EwTitleBlockFiltersX Class")
1502 coclass EwTitleBlockFiltersX
1504 [
default]
interface IEwTitleBlockFiltersX;
1508 uuid(311A5E2C-49E5-422A-907B-F5BDD15067D5),
1509 helpstring(
"EwManufacturerPartFiltersX Class")
1512 coclass EwManufacturerPartFiltersX
1514 [
default]
interface IEwManufacturerPartFiltersX;
1518 uuid(E2D022F7-D315-489F-952E-B165A23F24C7),
1519 helpstring(
"EwCableReferenceFiltersX Class")
1522 coclass EwCableReferenceFiltersX
1524 [
default]
interface IEwCableReferenceFiltersX;
1530 uuid(9b2bd280-2c82-11e5-b345-feff819cdc9f),
1531 helpstring(
"Event interface for EwAppX")
1533 dispinterface _IEwAppXEvents
1539 void onSetActiveProjectNotify (
IEwProjectX *pProjectX);
1541 void onBeforeCloseProjectNotify (
IEwProjectX *pProjectX, BOOL* bRet);
1543 void onAfterCloseProjectNotify (LONG lProjectID);
1545 void onCloseApplication ();
1550 uuid(D6309FED-B0C6-46A5-8E2D-DB1504B8D2D3),
1551 helpstring(
"EwApplicationX Class"),
1554 coclass EwApplicationX
1557 [
default, source] dispinterface _IEwAppXEvents;
1561 uuid(D562B4FD-91C1-480F-A414-CD62A8E043A5)
1570 uuid(8119225E-3D60-4E7F-9AAA-C2CF39459C5B)
1573 coclass EwSymbolManagerX
1578 uuid(EE41C313-724F-4D98-91FA-EFA5C61FF613)
1581 coclass EwManufacturerPartManagerX
1586 uuid(1F8CC61B-8AC9-4F7A-B145-9757B60128D9)
1589 coclass EwCableReferenceManagerX
1594 uuid(535E31CF-D937-486B-834E-93259923FD30)
1597 coclass EwTitleBlockManagerX
1602 uuid(99FA453E-4EC3-4B3E-B9BE-BA764D87AC9D)
1605 coclass EwLibraryManagerX
1611 uuid(d4964eb2-03bd-11e5-8418-1697f925ec7b),
1612 helpstring(
"EwProjectWireX Class")
1615 coclass EwProjectWireX
1621 uuid(f1def7ac-03c3-11e5-8418-1697f925ec7b),
1622 helpstring(
"EwProjectComponentX Class")
1625 coclass EwProjectComponentX
1631 uuid(f59a7344-03c3-11e5-8418-1697f925ec7b),
1632 helpstring(
"EwProjectComponentCircuitX Class")
1635 coclass EwProjectComponentCircuitX
1641 uuid(f821dcba-03c3-11e5-8418-1697f925ec7b),
1642 helpstring(
"EwProjectComponentTerminalX Class")
1645 coclass EwProjectComponentTerminalX
1651 uuid(78a04b30-260e-11e5-b345-feff819cdc9f),
1652 helpstring(
"EwProjectComponentManagerX Class")
1655 coclass EwProjectComponentManagerX
1661 uuid(fdbaf854-5a20-44e4-8fbf-34396b4cae2a),
1662 helpstring(
"EwProjectFileX Class")
1665 coclass EwProjectFileX
1671 uuid(4bfbd9ae-1fcf-11e5-b5f7-727283247c7f),
1672 helpstring(
"EwProjectEntity3DX Class")
1675 coclass EwProjectEntity3DX
1681 uuid(8a0071b2-23ba-11e5-b696-feff819cdc9f),
1682 helpstring(
"EwProjectEntity3DManagerX Class")
1685 coclass EwProjectEntity3DManagerX
1691 uuid(48a57f62-2632-11e5-b345-feff819cdc9f),
1692 helpstring(
"EwProjectLocationX Class")
1695 coclass EwProjectLocationX
1701 uuid(2213574a-2635-11e5-b345-feff819cdc9f),
1702 helpstring(
"EwProjectLocationManagerX Class")
1705 coclass EwProjectLocationManagerX
1711 uuid(347bd3ce-26cd-11e5-b345-feff819cdc9f),
1712 helpstring(
"EwProjectManufacturerPartManagerX Class")
1715 coclass EwProjectManufacturerPartManagerX
1721 uuid(D4D1DBBB-DC42-454A-8BF5-1D2C2622B888)
1724 coclass EwRoutingDataX
1726 [
default]
interface IEwRoutingDataX;
1729 uuid(598B4EB1-43B5-45F3-B4FC-5D6254AFAF60)
1732 coclass EwRoutingComponentX
1734 [
default]
interface IEwRoutingComponentX;
1737 uuid(CCE980DB-12DC-43F5-99B3-722F26278DE2)
1740 coclass EwRoutingConnectionPointX
1742 [
default]
interface IEwRoutingConnectionPointX;
1745 uuid(97B261FE-0E45-41EE-B56B-DAE394C13501)
1748 coclass EwRoutingLineTypeX
1750 [
default]
interface IEwRoutingLineTypeX;
1753 uuid(A5E50777-1897-4DF6-8DE6-4279EE7A0140)
1756 coclass EwRoutingWireX
1758 [
default]
interface IEwRoutingWireX;
1761 uuid(138185B4-7631-4258-A1DA-EA32FB9A3ABE)
1764 coclass EwRoutingCableX
1766 [
default]
interface IEwRoutingCableX;
1769 uuid(E18AB237-860C-4156-8F61-F3B913B2D8CE)
1772 coclass EwRoutingLocationX
1774 [
default]
interface IEwRoutingLocationX;
1777 uuid(E1BAB237-860C-4156-8F61-F3B913B2DBCE)
1780 coclass EwRoutingConnectionX
1782 [
default]
interface IEwRoutingConnectionX;
1785 uuid(5BBBF2DB-BACA-42DF-A452-DA8C2E59C73A)
1788 coclass EwProjectWireManagerX
1793 uuid(BDCD2410-33D2-481D-AE32-7951684A5984)
1796 coclass EwProjectCableX
1801 uuid(E440E594-067F-4DA4-87AA-2AF6087278BF)
1804 coclass EwProjectCableManagerX
1809 uuid(D820FF91-1638-4286-B3C4-1716F1B6B375)
1812 coclass EwProjectConfigurationX
1817 uuid(DF204EB9-C693-4FC1-B6A7-E2D6C63A76B8)
1820 coclass EwLockStringX
1825 uuid(D21A6384-4E88-43BD-AB1A-C9B03D52AA86)
1828 coclass EwDialogSummaryX
1833 uuid(0B0363D8-4CD9-402D-B280-230E8370D946)
1836 coclass EwDialogManufacturerPartSelectorX
1841 uuid(FFD2A28E-210E-4D8A-9F5A-A2E88EC75A86)
1844 coclass EwDialogTaskX
1849 uuid(44F93A15-8A81-4B63-A883-8BD1C18A4624)
1852 coclass EwRightsManagerX
1857 uuid(FF40373F-2825-491E-AAE1-9B195F328B1D)
1860 coclass EwProjectManagerX
1865 uuid(BAC4182D-37D0-47EA-897A-7CC82D9D9822)
1868 coclass EwDialogManufacturerPartOrderingX
1873 uuid(8723FC5A-A0DE-4B6C-AD70-0CD3D2BF5273)
1876 coclass EwDialogAlignPartsParametersSelectorX
1882 uuid(EB4EF24F-9728-4E6F-AC11-1B43C77F3D4E),
1883 helpstring(
"EwProjectHarnessX Class")
1886 coclass EwProjectHarnessX
1892 uuid(8B8CF857-F6E5-4812-AD4B-11E2A5EC9650),
1893 helpstring(
"EwProjectHarnessManagerX Class")
1896 coclass EwProjectHarnessManagerX
1902 uuid(887AE501-9ECC-4175-9A37-30C9426367CA),
1903 helpstring(
"EwDialogLocationSelectorX Class")
1906 coclass EwDialogLocationSelectorX
1912 uuid(680F74CC-D9C3-4301-B268-0E2DC13427AB),
1913 helpstring(
"EwDialogMacroSelectorX Class")
1916 coclass EwDialogMacroSelectorX
1922 uuid(D9373C76-673B-4BB1-AC42-7A5F3ADAC89B),
1923 helpstring(
"EwApplicationSettingsX Class")
1926 coclass EwApplicationSettingsX
1932 uuid(DD97AA81-E40D-4D70-9F57-AF4D2E71E745),
1933 helpstring(
"EwProjectFileManagerX Class")
1936 coclass EwProjectFileManagerX
1942 uuid(0B47DA9A-189E-43EE-8481-0FAC91A1D0A0),
1943 helpstring(
"EwProjectPrintConfigManagerX Class")
1946 coclass EwProjectPrintConfigManagerX
1952 uuid(B371A307-2FF4-4F1F-95CC-BF05FE603884),
1953 helpstring(
"EwProjectPrintConfigX Class")
1956 coclass EwProjectPrintConfigX
1962 uuid(9FB8FC9D-2309-4E6D-B9F4-F9EA17F17D3D),
1963 helpstring(
"EwProjectExportDWGFilesX Class")
1966 coclass EwProjectExportDWGFilesX
1972 uuid(C412E861-00A9-4407-ACA1-0F5707A3A75E),
1973 helpstring(
"EwProjectPublishToeDrawingsX Class")
1976 coclass EwProjectPublishToeDrawingsX
1978 [
default]
interface IEwProjectPublishToeDrawingsX;
1982 uuid(842586D5-03FA-4E46-A870-945D9D4EB602)
1990 uuid(E10D44A9-1A2C-46BB-97BA-9E5EA04867A4)
1993 coclass EwProjectExportPDMX
1998 uuid(16FA24EA-7323-428A-B7C5-5B7D83426816)
2001 coclass EwProjectBookX
2006 uuid(812E317E-250E-4692-9683-589789AF1AFC)
2009 coclass EwProjectBookManagerX
2014 uuid(12E996E0-BC97-4C9C-AC6F-4B4005AFEFD3)
2017 coclass EwProjectReportManagerX
2022 uuid(56FB79F1-C64F-4FC2-AD06-BD0BC41224F4)
2026 coclass EwProjectReportX
2031 uuid(22D98533-CC09-4B05-BED0-1DAC55F821F8)
2035 coclass EwProjectExportReportX
2040 uuid(5E3C7F8C-E585-489F-8EC9-444C01A7BE28)
2044 coclass EwObjectBaseX
2050 uuid(7C4DC7D9-862C-4DD9-86B0-543A91F98150)
2054 coclass EwProjectTagObjectX
2060 uuid(E7594182-F250-4063-B752-C03797049796)
2064 coclass EwProjectFunctionX
2070 uuid(1D169FA4-D750-481F-93E6-9648749A2790)
2074 coclass EwProjectFunctionManagerX
2079 uuid(18737F1D-59FC-400E-9DF7-1655832F49CF)
2085 [
default]
interface IEwClassX;
2088 uuid(1B3CF726-F3C9-46B1-ACEE-FAF421DB5AD6)
2092 coclass EwClassificationX
2094 [
default]
interface IEwClassificationX;
2097 uuid(60553CE7-81DC-4EF7-BCD9-D8FCD97C1554)
2101 coclass EwClassificationManagerX
2103 [
default]
interface IEwClassificationManagerX;
2106 uuid(43D7CAB2-93F4-4F0B-9E0B-13CF3ACB88A1)
2110 coclass EwProjectFolderX
2115 uuid(29D73623-BAEE-483D-B5A6-9E2ACBB8D3D2)
2119 coclass EwProjectFolderManagerX
2125 uuid(F1593084-3F4F-43D9-AA6E-AD070AE3E5E5)
2128 coclass EwArchiveEnvironmentX
2134 uuid(89C33C8A-6B98-4237-B2EA-0C84855A8C6A)
2137 coclass EwDialogProgressX
2143 uuid(561782F5-7DAF-4F93-8531-3BEE3E06FA23)
2146 coclass EwCommandManagerX
2152 uuid(3F20DD28-2E57-414A-A79E-4B0DC6A31B2A)
2160 uuid(2B57DE04-47DA-4C0C-B6D5-37BA107C12A9)
2162 coclass EwCommandContextX
2169 uuid(2381BCF3-B55A-4F00-A22C-0D41B74A8916)
2178 uuid(03D5F256-C69F-42ED-8EC3-B0C747D05BBB)
2187 uuid(76125B7A-E5FC-4362-93F8-3B912EB85D51)
2189 coclass EwInteropFactoryX
2195 uuid(409D543C-A3AF-4A83-ACDA-16D3FACAE152)
2198 coclass EwDialogResumeX
2203 uuid(6A9F222F-0BCC-4A12-BBE6-D3FFF242FB89)
2206 coclass EwResumeRowX
2211 uuid(3048A375-C8E9-437B-A820-38A7B69C64B1)
2214 coclass EwProjectGenerateTSDrawingX
2220 uuid(C0A20628-B5FD-405E-983A-B562800BF6F2)
2223 coclass EwProjectSnapshotX
2229 uuid(C42D1252-2A82-4DA8-BC13-1E466FA01296)
2232 coclass EwProjectSnapshotManagerX
2238 uuid(9A272DBD-270B-491E-902B-8457CA696D14)
2241 coclass EwProjectUpdateReplaceDataX
2247 uuid(3BFB975A-DA41-4BEB-ADD3-613629333807)
2256 uuid(7F565914-9CAD-4719-863B-2C66B16EB56E)
2259 coclass EwRibbonTabX
2264 uuid(2F9C5121-22D2-4953-9DC1-973C520C85EF)
2267 coclass EwRibbonGroupX
2272 uuid(41BBBCA0-4750-4681-B1CE-C56A3A8C03DC)
2275 coclass EwRibbonControlX
2281 uuid(913ADEC7-4F0A-4EC4-8E48-068F695D7D47)
2284 coclass EwProjectNumberWiresX
2290 uuid(1F44AF7E-16DC-4297-AB1C-035FE01BBE8D)
2293 coclass EwProjectNumberMarksX
2299 uuid(BDC5DC3D-3EF0-4A90-BBBC-8F65C20EE15E)
2302 coclass EwProjectAutomaticArrowsX
2307 uuid(BD95B887-0207-438B-AD4A-BAD4F8E8DBA4)
2310 coclass EwProjectNumberDocumentsX
2316 uuid(05101195-CF52-4C96-B0D8-04C35958079A)
2319 coclass EwProjectOptimizeWireOrderX
2325 uuid(1EB320E5-9275-4995-969A-30AA4841B667)
2333 uuid(A962D51B-C75E-46EF-A910-8EC5ABDDFCD9)
2336 coclass EwProjectSymbolManagerX
2345 uuid(12781d9c-1e5f-4863-9a3f-de59541520d2),
2346 helpstring(
"Event interface for Project Manager Dialog.")
2348 dispinterface _IEwDialogProjectManagerXEvents
2352 void onOpenProjectManagerDialog ();
2354 void onSelectChangedProjectManagerDialog ();
2360 uuid(67c8f5d2-dfa3-49af-b94f-3b209fedf75c),
2361 helpstring(
"EwDialogProjectManagerX Class"),
2364 coclass EwDialogProjectManagerX
2367 [
default, source] dispinterface _IEwDialogProjectManagerXEvents;
2370 import "shobjidl.idl";
Use this interface to manage the report used inside the project.
Definition: EwProjectExportObjects.idl:821
Use this interface to manage the Harness inside a project.
Definition: EwProjectHarnessObjects.idl:27
BSTR getWorkingFolder(EwErrorCode *errorCode)
Return environment folder path.
Use this interface to manage an Entity3D inside a project.
Definition: EwProjectEntity3DObjects.idl:29
void disconnect()
Disconnect from environment previously connected to.
Use this interface to manage an EwLibraryX object.
Definition: EwLibraryObjects.idl:29
Use this interface to manage cables of a project.
Definition: EwProjectCableObjects.idl:161
IEwDialogAlignPartsParametersSelectorX getEwDialogAlignPartsParametersSelector(EwErrorCode *errorCode)
To get align parameters selector dialog wrapper.
Use this interface to connect to the application.
Definition: EwAPI.idl:1219
DATE getDate(EwErrorCode *errorCode)
Get the date for archive.
Use this interface to manage EwLibraryX objects.
Definition: EwLibraryObjects.idl:209
Generic interface for an object that belongs to a project.
Definition: EwObjectBase.idl:76
Use this interface to manage EwTitleBlockX objects.
Definition: EwTitleBlockObjects.idl:553
Use this interface to manage the align parameters from the user interface.
Definition: EwApplicationObjects.idl:26
BSTR getUserID(EwErrorCode *errorCode)
Get the user ID to connect to database.
Use this interface to manage EwProjectEntity3D objects.
Definition: EwProjectEntity3DObjects.idl:145
Use this interface to manage IEwProjectX objects.
Definition: EwProjectObjects.idl:1793
EwErrorCode setPassword(BSTR strPassword)
Set the password to connect to database.
VARIANT getValue(EwApplicationSettingsValue ewApplicationSettingsValues, EwErrorCode *errorCode)
Get an application settings value.
EwTimeStamp
Time stamps options.
Definition: EwEnumeration.idl:560
Use this interface to manage a manufacturer part.
Definition: EwManufacturerPartObjects.idl:400
Object for creating a command to be executed in the application.
Definition: EwApplicationObjects.idl:781
Use this interface to manage IEwProjectManufacturerPartX objects.
Definition: EwProjectManufacturerPartObjects.idl:350
BSTR getApplicationVersion()
Get the application version as: 2016.1.2 Version 2016 is the major number, 1 is for minor number,...
Use this interface to manage the export reports used inside the project.
Definition: EwProjectExportObjects.idl:986
EwErrorCode closeEwProjectID(LONG lID)
Close a project already opened in the application interface.
IEwArchiveEnvironmentX getEwArchiveEnvironment(EwErrorCode *errorCode)
Get a EwArchiveEnvironmentX object to archive the current environment;.
Use this interface to manage export DWG files inside a project.
Definition: EwProjectExportObjects.idl:648
Use this interface to manage the update of project data from libraries.
Definition: EwProjectProcessObjects.idl:242
VARIANT_BOOL getArchiveProject(EwErrorCode *errorCode)
Get option for archiving projects.
IEwProjectX getEwProjectCurrent(EwErrorCode *errorCode)
To get the active project.
Use this interface to manage ComponentTerminal inside a project.
Definition: EwProjectComponentObjects.idl:27
Use this interface to display a progress dialog.
Definition: EwApplicationObjects.idl:611
IEwTitleBlockManagerX getEwTitleBlockManager(EwErrorCode *errorCode)
get EwTitleBlockManager of the current environment
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwErrorCode deleteWorkingDirectory()
Delete the current working directory.
Use this interface to manage for reports used inside the project.
Definition: EwProjectExportObjects.idl:916
EwErrorCode setWorkingFolder(BSTR strFolderPath)
Set the working folder of this environment.
EwProjecManagerDialogNotify
All the project manager dialog reactors IDs.
Definition: EnumDefinition.idl:136
Use this interface to manage a print configuration manager inside a project.
Definition: EwProjectExportObjects.idl:513
IEwCommandManagerX getEwCommandManager(EwErrorCode *errorCode)
Get the IEwCommandManagerX command manager interface.
Use this interface to the Project Manager Dialog.
Definition: EwApplicationObjects.idl:1020
Use this interface to display a dialog that allows the user to select build of materials.
Definition: EwApplicationObjects.idl:255
Use this interface to display a task dialog.
Definition: EwApplicationObjects.idl:301
IEwRightsManagerX getEwRightsManager(EwErrorCode *errorCode)
To get the rights manager.
EwErrorCode loadRespan(BSTR bstrFilePath)
Load a file with extention .respan containing the definition of a ribbon tab to be added to the appli...
VARIANT_BOOL isEwProjectOpened(long lProjectId, EwErrorCode *errorCode)
Return true if the project is opened in application user interface.
IEwDialogProgressX getEwDialogProgress(EwErrorCode *errorCode)
Get the progress dialog wrapper.
IEwAPIX getEwAPI(EwErrorCode *errorCode)
Return an IEwAPIX object.
IEwLibraryManagerX getEwLibraryManager(EwErrorCode *errorCode)
get EwLibraryManager of the current environment
EwLogOutputType
Log support type for database errors.
Definition: EwEnumeration.idl:380
IEwDialogSummaryX getEwDialogSummary(EwErrorCode *errorCode)
To get the summary dialog wrapper.
Use this interface to manage a circuit inside a manufacturer part.
Definition: EwManufacturerPartObjects.idl:195
Use this interface to manage the Harness objects inside a project.
Definition: EwProjectHarnessObjects.idl:44
EwErrorCode closeEwMacroID(LONG lID)
Close a macro already opened in the application interface.
EwErrorCode setTimeStamp(EwTimeStamp eTimeStamp)
Set the time stamp that will be added to the filename of the archive file when calling archive method...
EwErrorCode archive()
Archive the current environment.
EwErrorCode setUserID(BSTR strUserID)
Set the user ID to connect to database.
Use this interface to manage a cable core inside a cable reference.
Definition: EwCableObjects.idl:39
Interface that allow applications to create add-ins.
Definition: EwAPI.idl:1187
Use this interface to manage the numbering or renumbering of wires.
Definition: EwProjectProcessObjects.idl:289
IEwEnvironmentX getEwEnvironment(EwErrorCode *errorCode)
EwErrorCode setArchivePath(BSTR strArchivePath)
Set the path of the destination file where the archive will be done.
EwErrorCode openEwMacroID(LONG lID)
Open a macro in the application interface.
Use this interface to manage a definition of a title block.
Definition: EwTitleBlockObjects.idl:37
Use this interface to manage filter for EwSymbolX.
Definition: EwSymbolObjects.idl:253
VARIANT_BOOL isEwMacroOpened(long lMacroId, EwErrorCode *errorCode)
Return true if the macro is opened in application user interface.
Use this interface to display a summary dialog.
Definition: EwApplicationObjects.idl:213
Use this interface to manage a XLS file.
Definition: EwApplicationObjects.idl:945
EwApISoftType
All the selection types.
Definition: EnumDefinition.idl:265
Use this interface to manage IEwProjectBookX objects.
Definition: EwProjectObjects.idl:788
Use this interface to manage the application rights.
Definition: EwApplicationObjects.idl:102
Use this interface to specify a resume row for the resume dialog.
Definition: EwApplicationObjects.idl:444
Use this interface to manage IEwProjectSymbolManagerX objects.
Definition: EwProjectObjects.idl:325
This interface is a generic interface to define the coordinate of a 2D point.
Definition: EwUtilDefinition.idl:26
Use this interface to manage the Ribbon group.
Definition: EwApplicationRibbon.idl:269
Use this interface to manage IEwProjectFunctionX objects.
Definition: EwProjectObjects.idl:845
EwErrorCode setEwPdmType(EwPdmType ewPdmType)
Set type of PDM integration.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:26
Use this interface to manage the application settings.
Definition: EwAPI.idl:557
Use this interface to manage cable reference.
Definition: EwCableObjects.idl:190
BSTR getArchivePath(EwErrorCode *errorCode)
Get the archive path combined with the timestamp and the path given by user.
IEwDialogMacroSelectorX getEwDialogMacroSelector(EwErrorCode *errorCode)
To get the macro selector dialog wrapper.
EwArchiveMode getArchiveMode(EwErrorCode *errorCode)
Get the Archive mode.
Use this interface to manage symbol inside a project.
Definition: EwProjectObjects.idl:51
EwPdmType getEwPdmType(EwErrorCode *errorCode)
Return current EwPdmType enum type.
Context of command containing specific data to process.
Definition: EwApplicationObjects.idl:762
Use this interface to manage a circuit inside a symbol.
Definition: EwSymbolObjects.idl:184
EwErrorCode connect()
Connect to environment previously identify by the function setWorkingFolder.
IEwCableReferenceManagerX getEwCableReferenceManager(EwErrorCode *errorCode)
get EwCableReferenceManager of the current environment
Use this interface to manage the archive environment with options.
Definition: EwAPI.idl:43
VARIANT getLibraries(EwErrorCode *errorCode)
Get libraries to archive in EwArchiveMode::kArchiveModeObjectFromLibrary mode.
Use this interface to manage manufacturer part terminal inside a project.
Definition: EwProjectManufacturerPartObjects.idl:44
Use this interface to manage the Ribbon tabs.
Definition: EwApplicationRibbon.idl:376
IEwDialogManufacturerPartSelectorX getEwDialogManufacturerPartSelector(EwErrorCode *errorCode)
To get the manufacturer part selector dialog wrapper.
EwErrorCode unloadRespan(BSTR bstrFilePath)
Unload a .respan file.
Use this interface to manage IEwManufacturerPartX objects.
Definition: EwManufacturerPartObjects.idl:1118
Use this to manage an excel sheet.
Definition: EwApplicationObjects.idl:888
IEwApplicationX getEwApplication(BSTR strKey, EwErrorCode *errorCode)
Create a IEwApplicationX object from the current API.
EwEnvironmentFolderPathValue
Used with getFolderPath of EwEnvironmentX object.
Definition: EwEnumeration.idl:14
Use this interface to manage the Ribbon Bar.
Definition: EwApplicationRibbon.idl:556
Use this interface to manage manufacturer part circuit inside a project.
Definition: EwProjectManufacturerPartObjects.idl:27
EwErrorCode setArchiveProject(VARIANT_BOOL bArchiveProject)
Set option for archiving projects.
Use this interface to manage the location objects inside a project.
Definition: EwProjectLocationObjects.idl:65
VARIANT getLanguageArray(EwErrorCode *errorCode)
Get an array of all languages code in application.
IEwXLSBookX newEwXLSBook(EwErrorCode *errorCode)
To get a new XLSBookX wrapper.
BSTR findFile(BSTR bstrFileName, EwErrorCode *pErrorCode)
Find a file in application folders.
Use this interface to manage a cable inside a project.
Definition: EwProjectCableObjects.idl:26
Use this interface to manage configuration of the project.
Definition: EwProjectObjects.idl:721
EwErrorCode openEwProjectID(LONG lID)
Open a project in the application interface.
Use this interface to manage the renumber marks.
Definition: EwProjectProcessObjects.idl:404
EwErrorCode setArchiveMode(EwArchiveMode eArchiveMode)
Set the Archive mode.
EwPdmType
All Type of Pdm integration.
Definition: EwEnumeration.idl:896
Use this interface to manage a connection point.
Definition: EwSymbolObjects.idl:33
EwErrorCode save()
This method will save any modification done using setValue method.
BSTR getName()
return name of application
BSTR getSOLIDWORKSFolderPath()
Return SOLIDWORKS folder path where SOLIDWORKS files are stored.
EwErrorCode setLibraries(VARIANT aLibrariesArray)
Set libraries to archive and object associated.
BSTR getApiDllVersion()
Get the version of the ActiveX dll loaded in memory.
Use this interface to display the order of manufacturer parts dialog.
Definition: EwApplicationObjects.idl:62
Use this interface to manage snapshot manager inside a project.
Definition: EwProjectProcessObjects.idl:181
EwErrorCode create(BSTR strFolderPath, VARIANT_BOOL bAutoConnect)
Create a new environment.
IEwDialogResumeX getEwDialogResume(EwErrorCode *errorCode)
Get the resume dialog wrapper.
BSTR getFolderPath(EwApplicationFolderPathValue ewApplicationFolderPathValue, EwErrorCode *errorCode)
Return path of utility application folder, next to binary folder.
Use this interface to manage the generation of terminal strip drawing inside the project.
Definition: EwProjectExportObjects.idl:1315
Use this interface to manage a project.
Definition: EwProjectObjects.idl:1079
EwErrorCode setValue(EwApplicationSettingsValue ewApplicationSettingsValues, VARIANT value)
Set an application settings value.
EwApplicationFolderPathValue
Used with getFolderPath of application object.
Definition: EwEnumeration.idl:56
IEwDialogProjectManagerX getEwDialogProjectManager(EwErrorCode *errorCode)
To get the Project Manager dialog wrapper with the IEwDialogProjectManagerX interface.
Use this interface to manage a component inside a project.
Definition: EwProjectComponentObjects.idl:104
BSTR getCreoTemplateFolderPath()
Use this interface to manage the components inside a project.
Definition: EwProjectComponentObjects.idl:178
Use this interface to manage IEwProjectWireX objects.
Definition: EwProjectWireObjects.idl:207
VARIANT_BOOL getCopy3DParts(EwErrorCode *errorCode)
Use this interface to manage snapshot inside a project.
Definition: EwProjectProcessObjects.idl:24
Use this interface to manage macro selector dialog.
Definition: EwDialogMacroSelector.idl:22
Use this interface to manage the location inside a project.
Definition: EwProjectLocationObjects.idl:27
EwErrorCode close()
Close the application.
EwErrorCode setHostname(BSTR strHostname)
Set the hostname to connect to database.
Use this interface to manage the Origin Destination automatic insertion.
Definition: EwProjectProcessObjects.idl:480
BSTR getFolderPath(EwEnvironmentFolderPathValue ewEnvironmentFolderPathValue, EwErrorCode *errorCode)
Return folder path associated to enumeration type EwEnvironmentFolderPathValue.
Use this interface to manage a print configuration inside a project.
Definition: EwProjectExportObjects.idl:26
Use this interface to display a location selector dialog.
Definition: EwApplicationObjects.idl:379
IEwApplicationSettingsX getEwApplicationSettings(EwErrorCode *errorCode)
Get the application settings interface.
EwApISoftType getApplicationType(EwErrorCode *pErrorCode)
Return application type.
VARIANT_BOOL connectToEwAPI(LPDISPATCH ewInteropFactory)
Method called to initialize add-in when add-in is loaded.
EwCommandType
Flag type for custom commands created by users.
Definition: EwEnumeration.idl:670
EwErrorCode unarchive(BSTR strArchivePath, BSTR strOutputFolderPath)
Unarchive a tewzip archive.
EwErrorCode setDebugInfoType(EwLogOutputType eEwSupportLogType)
Modify the output type to display log in, default value is kLogOutputNone: for No error shown.
EwErrorCode setDate(DATE archiveDate)
Set the date for archive.
EwErrorCode runCommand(BSTR strCommand)
Run a command.
Use this interface to manage function inside a project.
Definition: EwProjectObjects.idl:607
Use this interface to manage wire inside a project.
Definition: EwProjectWireObjects.idl:29
EwErrorCode initializeInBackgroundWithUserRight(ULONGLONG mainHwnd, BSTR strUserLogin, BSTR strUserPassword)
Initialize this API to use the application in background.
IEwProjectManagerX getEwMacroManager(EwErrorCode *errorCode)
Get a project manager object for macros, macro manager.
Use this interface to manage EwCableReferenceX objects.
Definition: EwCableObjects.idl:749
Use this interface to manage folder inside a project.
Definition: EwProjectObjects.idl:903
Use this interface to manage the renumber documents.
Definition: EwProjectProcessObjects.idl:663
BSTR getPassword(EwErrorCode *errorCode)
Get the password to connect to database.
VARIANT_BOOL disconnectFromEwApi()
methode call by application to disconnected add-in return false if you don't want to unload your add-...
EwTimeStamp getTimeStamp(EwErrorCode *errorCode)
Get the time stamp that will be added to the filename of the archive file when calling archive method...
EwArchiveMode
Classification type.
Definition: EwEnumeration.idl:545
EwErrorCode archive(BSTR strArchivePath, VARIANT_BOOL bDelete)
Archive the current data folder in a tewzip file.
EwAppNotify
All the application reactors IDs.
Definition: EnumDefinition.idl:95
IEwSymbolManagerX getEwSymbolManager(EwErrorCode *errorCode)
get IEwSymbolManagerX of the current environment
Use this interface to manage a terminal inside a manufacturer part.
Definition: EwManufacturerPartObjects.idl:36
Use this interface to manage file inside a project.
Definition: EwProjectObjects.idl:354
IEwApplicationX getEwApplication(BSTR strKey, EwErrorCode *errorCode)
Return an IEwApplicationX object connect to the application.
Use this interface to manage IEwProjectFolderX objects.
Definition: EwProjectObjects.idl:1021
Use this interface to manage software environment.
Definition: EwAPI.idl:203
Use this interface to manage component element inside a project.
Definition: EwProjectComponentObjects.idl:45
EwErrorCode unarchiveEnvironment(BSTR *strArchivePath)
Unarchive a tewzip file without showing any dialog, using default options.
IEwEnvironmentX newEwEnvironment()
Create a IEwEnvironmentX object from the current API.
EwErrorCode importFile(BSTR bstrFileToImport, BSTR bstrOutputPath)
To import .ema, .ems files.
IEwRibbonX getEwRibbon(EwErrorCode *errorCode)
return an IEwRibbonX interface to EwRibbonX object.
IEwManufacturerPartManagerX getEwManufacturerPartManager(EwErrorCode *errorCode)
get IEwManufacturerPartManagerX of the current environment
EwErrorCode getSystemInformation(BSTR bstrPath)
Collect information on electrical application.
Use this interface to manage manufacturer part inside a project.
Definition: EwProjectManufacturerPartObjects.idl:62
Use this interface to manage a symbol.
Definition: EwSymbolObjects.idl:556
IEwProjectManagerX getEwProjectManager(EwErrorCode *errorCode)
get EwProjectManager of the current environment
Use this manager to add or remove custom commands.
Definition: EwApplicationObjects.idl:837
Use this interface to allow to lock a string inside the collaborative server.
Definition: EwServerObjects.idl:28
Use this interface to display a resume dialog.
Definition: EwApplicationObjects.idl:544
IEwDialogTaskX getEwDialogTask(EwErrorCode *errorCode)
To get the task dialog wrapper.
BSTR getCreoFolderPath(EwErrorCode *errorCode)
Return Creo folder path where Creo files are stored.
Use this interface to manage the control on Ribbon tab.
Definition: EwApplicationRibbon.idl:24
BSTR getWinAppName()
return 2D application name, to substitute WIN_APP_NAME in the resource strings
BSTR getHostname(EwErrorCode *errorCode)
Get the hostname of database.
EwApplicationSettingsValue
Values for application settings.
Definition: EwEnumeration.idl:67
IEwProjectX openProjectFromFilePath(BSTR strFilePath, EwErrorCode *errorCode)
Open a project from the input file path.
Use this interface to manage EwSymbolX objects.
Definition: EwSymbolObjects.idl:1052
IEwDialogLocationSelectorX getEwDialogLocationSelector(EwErrorCode *errorCode)
To get the location selector dialog wrapper.
Use this interface to manage the command "Export to PDM".
Definition: EwProjectExportObjects.idl:752
IEwDialogManufacturerPartOrderingX getEwDialogManufacturerPartOrdering(EwErrorCode *errorCode)
To get the manufacturer part ordering dialog wrapper.
Use this interface to manage book inside a project.
Definition: EwProjectObjects.idl:590
Use this interface to manage EwProjectFileManagerx objects.
Definition: EwProjectObjects.idl:634
EwErrorCode activate()
Activate the application.
Use this interface to initilalize this API.
Definition: EwAPI.idl:1118
Use this interface to manage the optimize wire order.
Definition: EwProjectProcessObjects.idl:821
Use this interface to manage the application.
Definition: EwAPI.idl:619
EwErrorCode initializeInBackground(ULONGLONG mainHwnd)
Initialize this API to use the application in background.
EwProjectNotify
All the project reactors IDs.
Definition: EnumDefinition.idl:122
IEwClassificationManagerX getEwClassificationManager(EwErrorCode *errorCode)
Get a manager object for classifications.