Hide Table of Contents
SOLIDWORKS Electrical API  2020.0.5
Electrical API
EwAPI.idl
Go to the documentation of this file.
1 #pragma once
2 
3 #if (__midl >= 501)
4  midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */
5 #endif
6 
7 // 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.
12 
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";
25 
26 /************************************************************************/
27 /* INTERFACES */
28 /************************************************************************/
29 
35 [
36  object,
37  uuid(5FC8EA1F-028E-4C83-84D0-033DDBE69F33),
38  dual,
39  nonextensible,
40  pointer_default(unique)
41 ]
42 interface IEwArchiveEnvironmentX : IDispatch
43 {
53  EwErrorCode setArchivePath (BSTR strArchivePath);
54 
55 
63  BSTR getArchivePath (EwErrorCode* errorCode);
64 
65 
74 
75 
84 
85 
94 
95 
104 
105 
114  EwErrorCode setDate (DATE archiveDate);
115 
116 
125  DATE getDate (EwErrorCode* errorCode);
126 
127 
138 
139 
140 
151  EwErrorCode setLibraries (VARIANT aLibrariesArray);
152 
153 
162  VARIANT getLibraries (EwErrorCode* errorCode);
163 
164 
173  VARIANT_BOOL getArchiveProject (EwErrorCode* errorCode);
174 
175 
185  EwErrorCode setArchiveProject (VARIANT_BOOL bArchiveProject);
186 
187 };
188 
189 
194 [
195  object,
196  uuid(F29DB845-91B8-4469-B828-46A8D0396BA3),
197  dual,
198  oleautomation,
199  nonextensible,
200  helpstring("IEwEnvironmentX Interface"),
201  pointer_default(unique)
202 ]
203 interface IEwEnvironmentX : IDispatch{
204 
211  EwErrorCode setWorkingFolder (BSTR strFolderPath);
212 
213 
226  EwErrorCode create (BSTR strFolderPath, VARIANT_BOOL bAutoConnect);
227 
228 
238 
239 
243  void disconnect ();
244 
245 
255 
256 
257 
267 
268 
269 
283  EwErrorCode archive (BSTR strArchivePath, VARIANT_BOOL bDelete);
284 
285 
298  EwErrorCode unarchive (BSTR strArchivePath, BSTR strOutputFolderPath);
299 
300 
301 
310 
311 
312 
322 
323 
324 
335 
336 
337 
343 
344 
345 
355 
356 
357 
367 
368 
373  BSTR getCreoFolderPath (EwErrorCode* errorCode);
374 
375 
380  BSTR getWorkingFolder (EwErrorCode* errorCode);
381 
382 
386  VARIANT_BOOL getCopy3DParts (EwErrorCode* errorCode);
387 
388 
393 
394 
395 
405  BSTR getFolderPath (EwEnvironmentFolderPathValue ewEnvironmentFolderPathValue, EwErrorCode* errorCode);
406 
407 
417 
418 
422  BSTR getVersion ();
423 
424 
435  EwErrorCode unarchiveEnvironment (BSTR *strArchivePath);
436 
437 
445  EwErrorCode setHostname (BSTR strHostname);
446 
447 
455  BSTR getHostname (EwErrorCode* errorCode);
456 
457 
465  EwErrorCode setUserID (BSTR strUserID);
466 
467 
475  BSTR getUserID (EwErrorCode* errorCode);
476 
477 
485  EwErrorCode setPassword (BSTR strPassword);
486 
487 
495  BSTR getPassword (EwErrorCode* errorCode);
496 
497 
507 
508 
517  IEwClassificationManagerX getEwClassificationManager (EwErrorCode* errorCode);
518 
519 
528 
529 
530 
531 
532 
533 
534 
535 
536 
537 
538 
539 
540 
541 };
542 
543 
548 [
549  object,
550  uuid(7D65CD4F-DBB9-4C7F-A36D-C493FCBCEA0B),
551  dual,
552  oleautomation,
553  nonextensible,
554  helpstring("IEwApplicationSettingsX Interface"),
555  pointer_default(unique)
556 ]
557 interface IEwApplicationSettingsX : IDispatch{
558 
566  VARIANT getLanguageArray (EwErrorCode* errorCode);
567 
568 
578  VARIANT getValue (EwApplicationSettingsValue ewApplicationSettingsValues, EwErrorCode* errorCode);
579 
580 
590  EwErrorCode setValue (EwApplicationSettingsValue ewApplicationSettingsValues, VARIANT value);
591 
592 
602 
603 
604 };
605 
610 [
611  object,
612  uuid(83A173A9-B84B-4BA3-9A44-8F8C9E11CEC3),
613  dual,
614  oleautomation,
615  nonextensible,
616  helpstring("IEwApplicationX Interface"),
617  pointer_default(unique)
618 ]
619 interface IEwApplicationX : IDispatch{
620 
632  EwErrorCode runCommand (BSTR strCommand);
633 
634 
644 
645 
651 
652 
663 
664 
674 
675 
685 
686 
696 
697 
707 
708 
720 
721 
732 
733 
743 
744 
754 
755 
768  EwErrorCode importFile (BSTR bstrFileToImport, BSTR bstrOutputPath);
769 
770 
771 
772 
780 
781 
789 
790 
800 
801 
811 
812 
813 
823 
824 
833  EwErrorCode loadRespan (BSTR bstrFilePath);
834 
835 
844  EwErrorCode unloadRespan (BSTR bstrFilePath);
845 
846 
848  BSTR getName ();
849 
850 
860 
861 
871 
872 
881 
882 
891 
892 
904  IEwProjectX openProjectFromFilePath (BSTR strFilePath, EwErrorCode* errorCode);
905 
906 
919  VARIANT_BOOL isEwProjectOpened (long lProjectId, EwErrorCode* errorCode);
920 
921 
922 
935  VARIANT_BOOL isEwMacroOpened (long lMacroId, EwErrorCode* errorCode);
936 
937 
950 
951 
963 
964 
965 
976  BSTR findFile (BSTR bstrFileName, EwErrorCode* pErrorCode);
977 
978 
982  BSTR getWinAppName ();
983 
984 
995 
996 
997 
998 
999 
1012  BSTR getFolderPath (EwApplicationFolderPathValue ewApplicationFolderPathValue , EwErrorCode* errorCode);
1013 
1014 
1024 
1025 
1026 
1037 
1038 
1039 
1052 
1053 
1054 
1064 
1065 
1066 
1078 
1079 
1089 
1090 
1101 
1102 };
1103 
1108 [
1109  object,
1110  uuid(0F5E85DA-88EF-4A63-83AF-6B11A048CD79),
1111  dual,
1112  oleautomation,
1113  nonextensible,
1114  helpstring("IEwAPIX Interface"),
1115  pointer_default(unique),
1116  hidden
1117 ]
1118 interface IEwAPIX : IDispatch{
1119 
1120 
1121 
1122 
1123 
1124 
1125 
1135  IEwApplicationX getEwApplication (BSTR strKey, EwErrorCode* errorCode);
1136 
1137 
1138 
1151  EwErrorCode initializeInBackground (ULONGLONG mainHwnd);
1152 
1153 
1170  EwErrorCode initializeInBackgroundWithUserRight (ULONGLONG mainHwnd, BSTR strUserLogin , BSTR strUserPassword);
1171 
1172 
1173 };
1174 
1179 [
1180  object,
1181  uuid(899CE40B-CBBC-4018-A65C-D20836ECD11C),
1182  dual,
1183  nonextensible,
1184  pointer_default(unique)
1185 ]
1186 interface IEwAddIn : IDispatch
1187 {
1193  VARIANT_BOOL connectToEwAPI (LPDISPATCH ewInteropFactory);
1194 
1195 
1200  VARIANT_BOOL disconnectFromEwApi ();
1201 
1202 
1203 };
1204 
1205 
1210 [
1211  object,
1212  uuid(DE35BA2A-0566-40D3-AF1D-AD79D1133B09),
1213  dual,
1214  helpstring(""),
1215  nonextensible,
1216  pointer_default(unique)
1217 ]
1218 interface IEwInteropFactoryX : IDispatch
1219 {
1230  IEwApplicationX getEwApplication (BSTR strKey, EwErrorCode* errorCode);
1231 
1232 
1241 
1242 
1243 
1244 
1245 };
1246 
1247 // \cond HideCoClass
1248 [
1249  uuid(4714D4C0-5AA9-47F7-82FF-458B341E7052),
1250  version(1.0),
1251  helpstring("EwAPI 1.0 Type Library")
1252 ]
1253 library EwAPI
1254 {
1255  importlib("stdole2.tlb");
1256 
1257  enum EwCommandType;
1258 
1259  [
1260  uuid(35A4E745-DA6D-4E70-9024-6CA11019E935),
1261  helpstring("_IEwEnvironmentXEvents Interface")
1262  ]
1263  dispinterface _IEwEnvironmentXEvents
1264  {
1265  properties:
1266  methods:
1267  void onOpenConnectionNotify ();
1268 
1269  void onCloseConnectionNotify ();
1270 
1271  void onLostConnectionNotify ();
1272 
1273  void onEnvironmentObjectAdd (IDispatch* IEwObjectX);
1274 
1275  void onEnvironmentObjectUpdate (IDispatch* IEwObjectX);
1276 
1277  void onEnvironmentObjectDelete (IDispatch* IEwObjectX);
1278 
1279  };
1280 
1281  [
1282  uuid(AC05264E-0353-4518-99D8-7D50C8C2AC09),
1283  helpstring("EwEnvironmentX Class")
1284  , noncreatable
1285  ]
1286  coclass EwEnvironmentX
1287  {
1288  [default] interface IEwEnvironmentX;
1289  [default, source] dispinterface _IEwEnvironmentXEvents;
1290  };
1291 
1292  [
1293  uuid(A111EAC6-E900-4CB7-B23B-C31F85414F27),
1294  helpstring("EwAPIX Class"),
1295  noncreatable
1296  ]
1297  coclass EwAPIX
1298  {
1299  [default] interface IEwAPIX;
1300  };
1301  [
1302  uuid(390D98EC-9EF5-4012-A8D0-793670613DFE),
1303  helpstring("EwManufacturerPartX Class")
1304  , noncreatable
1305  ]
1306  coclass EwManufacturerPartX
1307  {
1308  [default] interface IEwManufacturerPartX;
1309  };
1310 
1311  [
1312  uuid(83FF8561-AD58-4DDB-9807-2791FD32CB21),
1313  helpstring("EwManufacturerPartCircuitX Class")
1314  , noncreatable
1315  ]
1316  coclass EwManufacturerPartCircuitX
1317  {
1318  [default] interface IEwManufacturerPartCircuitX;
1319  };
1320 
1321  [
1322  uuid(EE094E0E-B681-4985-BCF5-B19258145DC5),
1323  helpstring("EwManufacturerPartTerminalX Class")
1324  , noncreatable
1325  ]
1326  coclass EwManufacturerPartTerminalX
1327  {
1328  [default] interface IEwManufacturerPartTerminalX;
1329  };
1330 
1331  [
1332  uuid(FDE8F545-C7C3-41E5-AB82-3E25E3D2C682),
1333  helpstring("EwCableReferenceX Class")
1334  , noncreatable
1335  ]
1336  coclass EwCableReferenceX
1337  {
1338  [default] interface IEwCableReferenceX;
1339  };
1340 
1341  [
1342  uuid(11E2D55A-8949-467F-9C6A-367B26C01825),
1343  helpstring("EwSymbolX Class")
1344  , noncreatable
1345  ]
1346  coclass EwSymbolX
1347  {
1348  [default] interface IEwSymbolX;
1349  };
1350 
1351  [
1352  uuid(D2F9C9D9-A2F4-4B7E-A374-4D922FABF26F),
1353  helpstring("EwSymbolCircuitX Class")
1354  , noncreatable
1355  ]
1356  coclass EwSymbolCircuitX
1357  {
1358  [default] interface IEwSymbolCircuitX;
1359  };
1360 
1361  [
1362  uuid(9E2EF920-743F-4703-B3E2-DD81B97E2110),
1363  helpstring("EwTitleBlockX Class")
1364  , noncreatable
1365  ]
1366  coclass EwTitleBlockX
1367  {
1368  [default] interface IEwTitleBlockX;
1369  };
1370 
1371  enum EwProjectNotify;
1372 
1373  [
1374  uuid(a2cace42-2bb5-11e5-b345-feff819cdc9f),
1375  helpstring("Event interface for EwProjectX")
1376  ]
1377  dispinterface _IEwProjectXEvents
1378  {
1379  properties:
1380  methods:
1381  void onOpenConnectionNotify ();
1382 
1383  void onCloseConnectionNotify ();
1384 
1385  void onLostConnectionNotify ();
1386 
1387  void onProjectObjectAdd (IDispatch* IEwObjectX);
1388 
1389  void onProjectObjectUpdate (IDispatch* IEwObjectX);
1390 
1391  void onProjectObjectDelete (IDispatch* IEwObjectX);
1392 
1393  }
1394 
1395  [
1396  uuid(3A8D560A-0E58-4904-B83C-437EA056558A),
1397  helpstring("EwProjectX Class")
1398  , noncreatable
1399  ]
1400  coclass EwProjectX
1401  {
1402  [default] interface IEwProjectX;
1403  [default, source] dispinterface _IEwProjectXEvents;
1404  };
1405 
1406  [
1407  uuid(AD902791-AB59-4510-91A0-AF31B0D911BD),
1408  helpstring("EwProjectSymbolX Class")
1409  , noncreatable
1410  ]
1411  coclass EwProjectSymbolX
1412  {
1413  [default] interface IEwProjectSymbolX;
1414  };
1415 
1416  [
1417  uuid(6BB8114A-B327-4B00-851F-025B03955DA0),
1418  helpstring("EwProjectSymbolCircuitX Class")
1419  , noncreatable
1420  ]
1421  coclass EwProjectSymbolCircuitX
1422  {
1423  [default] interface IEwProjectSymbolCircuitX;
1424  };
1425 
1426  [
1427  uuid(0CBB9594-3499-4482-A3EE-A9A991CF0B88),
1428  helpstring("EwProjectSymbolPointX Class")
1429  , noncreatable
1430  ]
1431  coclass EwProjectSymbolPointX
1432  {
1433  [default] interface IEwProjectSymbolPointX;
1434  };
1435 
1436  [
1437  uuid(9489B473-9192-44A9-80F0-D896EFFC8F59),
1438  helpstring("EwProjectManufacturerPartX Class")
1439  , noncreatable
1440  ]
1441  coclass EwProjectManufacturerPartX
1442  {
1443  [default] interface IEwProjectManufacturerPartX;
1444  };
1445 
1446  [
1447  uuid(005C71AD-78A0-40EA-AB7B-AA5F615BB01F),
1448  helpstring("EwProjectManufacturerPartCircuitX Class")
1449  , noncreatable
1450  ]
1451  coclass EwProjectManufacturerPartCircuitX
1452  {
1453  [default] interface IEwProjectManufacturerPartCircuitX;
1454  };
1455 
1456  [
1457  uuid(FDCA0E46-F6BC-4A2C-889A-7D8820368B85),
1458  helpstring("EwProjectManufacturerPartTerminalX Class")
1459  , noncreatable
1460  ]
1461  coclass EwProjectManufacturerPartTerminalX
1462  {
1463  [default] interface IEwProjectManufacturerPartTerminalX;
1464  };
1465 
1466 
1467  [
1468  uuid(7A280CE2-272F-489F-BC78-F462F8904946),
1469  helpstring("EwCableCoreX Class")
1470  , noncreatable
1471  ]
1472  coclass EwCableCoreX
1473  {
1474  [default] interface IEwCableCoreX;
1475  };
1476 
1477  [
1478  uuid(A89A23A9-1CAC-4E3D-A9A7-DCC09E30EE63),
1479  helpstring("EwSymbolPointX Class")
1480  , noncreatable
1481  ]
1482  coclass EwSymbolPointX
1483  {
1484  [default] interface IEwSymbolPointX;
1485  };
1486 
1487  [
1488  uuid(232EC072-F4E2-45DC-9C5B-8C78B6AFCFCE),
1489  helpstring("EwSymbolFiltersX Class")
1490  , noncreatable
1491  ]
1492  coclass EwSymbolFiltersX
1493  {
1494  [default] interface IEwSymbolFiltersX;
1495  };
1496 
1497  [
1498  uuid(FC9F5302-FEF0-4795-9098-C08009A6D9A5),
1499  helpstring("EwTitleBlockFiltersX Class")
1500  , noncreatable
1501  ]
1502  coclass EwTitleBlockFiltersX
1503  {
1504  [default] interface IEwTitleBlockFiltersX;
1505  };
1506 
1507  [
1508  uuid(311A5E2C-49E5-422A-907B-F5BDD15067D5),
1509  helpstring("EwManufacturerPartFiltersX Class")
1510  , noncreatable
1511  ]
1512  coclass EwManufacturerPartFiltersX
1513  {
1514  [default] interface IEwManufacturerPartFiltersX;
1515  };
1516 
1517  [
1518  uuid(E2D022F7-D315-489F-952E-B165A23F24C7),
1519  helpstring("EwCableReferenceFiltersX Class")
1520  ,noncreatable
1521  ]
1522  coclass EwCableReferenceFiltersX
1523  {
1524  [default] interface IEwCableReferenceFiltersX;
1525  };
1526 
1527  enum EwAppNotify;
1528 
1529  [
1530  uuid(9b2bd280-2c82-11e5-b345-feff819cdc9f),
1531  helpstring("Event interface for EwAppX")
1532  ]
1533  dispinterface _IEwAppXEvents
1534  {
1535  properties:
1536  methods:
1537  void openProjectNotify (IEwProjectX *pProjectX);
1538 
1539  void onSetActiveProjectNotify (IEwProjectX *pProjectX);
1540 
1541  void onBeforeCloseProjectNotify (IEwProjectX *pProjectX, BOOL* bRet);
1542 
1543  void onAfterCloseProjectNotify (LONG lProjectID);
1544 
1545  void onCloseApplication ();
1546 
1547  }
1548 
1549  [
1550  uuid(D6309FED-B0C6-46A5-8E2D-DB1504B8D2D3),
1551  helpstring("EwApplicationX Class"),
1552  noncreatable
1553  ]
1554  coclass EwApplicationX
1555  {
1556  [default] interface IEwApplicationX;
1557  [default, source] dispinterface _IEwAppXEvents;
1558  };
1559 
1560  [
1561  uuid(D562B4FD-91C1-480F-A414-CD62A8E043A5)
1562  , noncreatable
1563  ]
1564  coclass EwLibraryX
1565  {
1566  [default] interface IEwLibraryX;
1567  };
1568 
1569  [
1570  uuid(8119225E-3D60-4E7F-9AAA-C2CF39459C5B)
1571  , noncreatable
1572  ]
1573  coclass EwSymbolManagerX
1574  {
1575  [default] interface IEwSymbolManagerX;
1576  };
1577  [
1578  uuid(EE41C313-724F-4D98-91FA-EFA5C61FF613)
1579  , noncreatable
1580  ]
1581  coclass EwManufacturerPartManagerX
1582  {
1583  [default] interface IEwManufacturerPartManagerX;
1584  };
1585  [
1586  uuid(1F8CC61B-8AC9-4F7A-B145-9757B60128D9)
1587  , noncreatable
1588  ]
1589  coclass EwCableReferenceManagerX
1590  {
1591  [default] interface IEwCableReferenceManagerX;
1592  };
1593  [
1594  uuid(535E31CF-D937-486B-834E-93259923FD30)
1595  , noncreatable
1596  ]
1597  coclass EwTitleBlockManagerX
1598  {
1599  [default] interface IEwTitleBlockManagerX;
1600  };
1601  [
1602  uuid(99FA453E-4EC3-4B3E-B9BE-BA764D87AC9D)
1603  , noncreatable
1604  ]
1605  coclass EwLibraryManagerX
1606  {
1607  [default] interface IEwLibraryManagerX;
1608  };
1609 
1610  [
1611  uuid(d4964eb2-03bd-11e5-8418-1697f925ec7b),
1612  helpstring("EwProjectWireX Class")
1613  , noncreatable
1614  ]
1615  coclass EwProjectWireX
1616  {
1617  [default] interface IEwProjectWireX;
1618  };
1619 
1620  [
1621  uuid(f1def7ac-03c3-11e5-8418-1697f925ec7b),
1622  helpstring("EwProjectComponentX Class")
1623  , noncreatable
1624  ]
1625  coclass EwProjectComponentX
1626  {
1627  [default] interface IEwProjectComponentX;
1628  };
1629 
1630  [
1631  uuid(f59a7344-03c3-11e5-8418-1697f925ec7b),
1632  helpstring("EwProjectComponentCircuitX Class")
1633  , noncreatable
1634  ]
1635  coclass EwProjectComponentCircuitX
1636  {
1637  [default] interface IEwProjectComponentCircuitX;
1638  };
1639 
1640  [
1641  uuid(f821dcba-03c3-11e5-8418-1697f925ec7b),
1642  helpstring("EwProjectComponentTerminalX Class")
1643  , noncreatable
1644  ]
1645  coclass EwProjectComponentTerminalX
1646  {
1647  [default] interface IEwProjectComponentTerminalX;
1648  };
1649 
1650  [
1651  uuid(78a04b30-260e-11e5-b345-feff819cdc9f),
1652  helpstring("EwProjectComponentManagerX Class")
1653  , noncreatable
1654  ]
1655  coclass EwProjectComponentManagerX
1656  {
1657  [default] interface IEwProjectComponentManagerX;
1658  };
1659 
1660  [
1661  uuid(fdbaf854-5a20-44e4-8fbf-34396b4cae2a),
1662  helpstring("EwProjectFileX Class")
1663  , noncreatable
1664  ]
1665  coclass EwProjectFileX
1666  {
1667  [default] interface IEwProjectFileX;
1668  };
1669 
1670  [
1671  uuid(4bfbd9ae-1fcf-11e5-b5f7-727283247c7f),
1672  helpstring("EwProjectEntity3DX Class")
1673  , noncreatable
1674  ]
1675  coclass EwProjectEntity3DX
1676  {
1677  [default] interface IEwProjectEntity3DX;
1678  };
1679 
1680  [
1681  uuid(8a0071b2-23ba-11e5-b696-feff819cdc9f),
1682  helpstring("EwProjectEntity3DManagerX Class")
1683  , noncreatable
1684  ]
1685  coclass EwProjectEntity3DManagerX
1686  {
1687  [default] interface IEwProjectEntity3DManagerX;
1688  };
1689 
1690  [
1691  uuid(48a57f62-2632-11e5-b345-feff819cdc9f),
1692  helpstring("EwProjectLocationX Class")
1693  , noncreatable
1694  ]
1695  coclass EwProjectLocationX
1696  {
1697  [default] interface IEwProjectLocationX;
1698  };
1699 
1700  [
1701  uuid(2213574a-2635-11e5-b345-feff819cdc9f),
1702  helpstring("EwProjectLocationManagerX Class")
1703  , noncreatable
1704  ]
1705  coclass EwProjectLocationManagerX
1706  {
1707  [default] interface IEwProjectLocationManagerX;
1708  };
1709 
1710  [
1711  uuid(347bd3ce-26cd-11e5-b345-feff819cdc9f),
1712  helpstring("EwProjectManufacturerPartManagerX Class")
1713  , noncreatable
1714  ]
1715  coclass EwProjectManufacturerPartManagerX
1716  {
1717  [default] interface IEwProjectManufacturerPartManagerX;
1718  };
1719 
1720  [
1721  uuid(D4D1DBBB-DC42-454A-8BF5-1D2C2622B888)
1722  , noncreatable
1723  ]
1724  coclass EwRoutingDataX
1725  {
1726  [default] interface IEwRoutingDataX;
1727  };
1728  [
1729  uuid(598B4EB1-43B5-45F3-B4FC-5D6254AFAF60)
1730  , noncreatable
1731  ]
1732  coclass EwRoutingComponentX
1733  {
1734  [default] interface IEwRoutingComponentX;
1735  };
1736  [
1737  uuid(CCE980DB-12DC-43F5-99B3-722F26278DE2)
1738  , noncreatable
1739  ]
1740  coclass EwRoutingConnectionPointX
1741  {
1742  [default] interface IEwRoutingConnectionPointX;
1743  };
1744  [
1745  uuid(97B261FE-0E45-41EE-B56B-DAE394C13501)
1746  , noncreatable
1747  ]
1748  coclass EwRoutingLineTypeX
1749  {
1750  [default] interface IEwRoutingLineTypeX;
1751  };
1752  [
1753  uuid(A5E50777-1897-4DF6-8DE6-4279EE7A0140)
1754  , noncreatable
1755  ]
1756  coclass EwRoutingWireX
1757  {
1758  [default] interface IEwRoutingWireX;
1759  };
1760  [
1761  uuid(138185B4-7631-4258-A1DA-EA32FB9A3ABE)
1762  , noncreatable
1763  ]
1764  coclass EwRoutingCableX
1765  {
1766  [default] interface IEwRoutingCableX;
1767  };
1768  [
1769  uuid(E18AB237-860C-4156-8F61-F3B913B2D8CE)
1770  , noncreatable
1771  ]
1772  coclass EwRoutingLocationX
1773  {
1774  [default] interface IEwRoutingLocationX;
1775  };
1776  [
1777  uuid(E1BAB237-860C-4156-8F61-F3B913B2DBCE)
1778  , noncreatable
1779  ]
1780  coclass EwRoutingConnectionX
1781  {
1782  [default] interface IEwRoutingConnectionX;
1783  };
1784  [
1785  uuid(5BBBF2DB-BACA-42DF-A452-DA8C2E59C73A)
1786  , noncreatable
1787  ]
1788  coclass EwProjectWireManagerX
1789  {
1790  [default] interface IEwProjectWireManagerX;
1791  };
1792  [
1793  uuid(BDCD2410-33D2-481D-AE32-7951684A5984)
1794  , noncreatable
1795  ]
1796  coclass EwProjectCableX
1797  {
1798  [default] interface IEwProjectCableX;
1799  };
1800  [
1801  uuid(E440E594-067F-4DA4-87AA-2AF6087278BF)
1802  , noncreatable
1803  ]
1804  coclass EwProjectCableManagerX
1805  {
1806  [default] interface IEwProjectCableManagerX;
1807  };
1808  [
1809  uuid(D820FF91-1638-4286-B3C4-1716F1B6B375)
1810  , noncreatable
1811  ]
1812  coclass EwProjectConfigurationX
1813  {
1814  [default] interface IEwProjectConfigurationX;
1815  };
1816  [
1817  uuid(DF204EB9-C693-4FC1-B6A7-E2D6C63A76B8)
1818  , noncreatable
1819  ]
1820  coclass EwLockStringX
1821  {
1822  [default] interface IEwLockStringX;
1823  };
1824  [
1825  uuid(D21A6384-4E88-43BD-AB1A-C9B03D52AA86)
1826  , noncreatable
1827  ]
1828  coclass EwDialogSummaryX
1829  {
1830  [default] interface IEwDialogSummaryX;
1831  };
1832  [
1833  uuid(0B0363D8-4CD9-402D-B280-230E8370D946)
1834  , noncreatable
1835  ]
1836  coclass EwDialogManufacturerPartSelectorX
1837  {
1838  [default] interface IEwDialogManufacturerPartSelectorX;
1839  };
1840  [
1841  uuid(FFD2A28E-210E-4D8A-9F5A-A2E88EC75A86)
1842  , noncreatable
1843  ]
1844  coclass EwDialogTaskX
1845  {
1846  [default] interface IEwDialogTaskX;
1847  };
1848  [
1849  uuid(44F93A15-8A81-4B63-A883-8BD1C18A4624)
1850  , noncreatable
1851  ]
1852  coclass EwRightsManagerX
1853  {
1854  [default] interface IEwRightsManagerX;
1855  };
1856  [
1857  uuid(FF40373F-2825-491E-AAE1-9B195F328B1D)
1858  , noncreatable
1859  ]
1860  coclass EwProjectManagerX
1861  {
1862  [default] interface IEwProjectManagerX;
1863  };
1864  [
1865  uuid(BAC4182D-37D0-47EA-897A-7CC82D9D9822)
1866  , noncreatable
1867  ]
1868  coclass EwDialogManufacturerPartOrderingX
1869  {
1870  [default] interface IEwDialogManufacturerPartOrderingX;
1871  };
1872  [
1873  uuid(8723FC5A-A0DE-4B6C-AD70-0CD3D2BF5273)
1874  , noncreatable
1875  ]
1876  coclass EwDialogAlignPartsParametersSelectorX
1877  {
1878  [default] interface IEwDialogAlignPartsParametersSelectorX;
1879  };
1880 
1881  [
1882  uuid(EB4EF24F-9728-4E6F-AC11-1B43C77F3D4E),
1883  helpstring("EwProjectHarnessX Class")
1884  , noncreatable
1885  ]
1886  coclass EwProjectHarnessX
1887  {
1888  [default] interface IEwProjectHarnessX;
1889  };
1890 
1891  [
1892  uuid(8B8CF857-F6E5-4812-AD4B-11E2A5EC9650),
1893  helpstring("EwProjectHarnessManagerX Class")
1894  , noncreatable
1895  ]
1896  coclass EwProjectHarnessManagerX
1897  {
1898  [default] interface IEwProjectHarnessManagerX;
1899  };
1900 
1901  [
1902  uuid(887AE501-9ECC-4175-9A37-30C9426367CA),
1903  helpstring("EwDialogLocationSelectorX Class")
1904  , noncreatable
1905  ]
1906  coclass EwDialogLocationSelectorX
1907  {
1908  [default] interface IEwDialogLocationSelectorX;
1909  };
1910 
1911  [
1912  uuid(680F74CC-D9C3-4301-B268-0E2DC13427AB),
1913  helpstring("EwDialogMacroSelectorX Class")
1914  , noncreatable
1915  ]
1916  coclass EwDialogMacroSelectorX
1917  {
1918  [default] interface IEwDialogMacroSelectorX;
1919  };
1920 
1921  [
1922  uuid(D9373C76-673B-4BB1-AC42-7A5F3ADAC89B),
1923  helpstring("EwApplicationSettingsX Class")
1924  , noncreatable
1925  ]
1926  coclass EwApplicationSettingsX
1927  {
1928  [default] interface IEwApplicationSettingsX;
1929  };
1930 
1931  [
1932  uuid(DD97AA81-E40D-4D70-9F57-AF4D2E71E745),
1933  helpstring("EwProjectFileManagerX Class")
1934  , noncreatable
1935  ]
1936  coclass EwProjectFileManagerX
1937  {
1938  [default] interface IEwProjectFileManagerX;
1939  };
1940 
1941  [
1942  uuid(0B47DA9A-189E-43EE-8481-0FAC91A1D0A0),
1943  helpstring("EwProjectPrintConfigManagerX Class")
1944  , noncreatable
1945  ]
1946  coclass EwProjectPrintConfigManagerX
1947  {
1948  [default] interface IEwProjectPrintConfigManagerX;
1949  };
1950 
1951  [
1952  uuid(B371A307-2FF4-4F1F-95CC-BF05FE603884),
1953  helpstring("EwProjectPrintConfigX Class")
1954  , noncreatable
1955  ]
1956  coclass EwProjectPrintConfigX
1957  {
1958  [default] interface IEwProjectPrintConfigX;
1959  };
1960 
1961  [
1962  uuid(9FB8FC9D-2309-4E6D-B9F4-F9EA17F17D3D),
1963  helpstring("EwProjectExportDWGFilesX Class")
1964  , noncreatable
1965  ]
1966  coclass EwProjectExportDWGFilesX
1967  {
1968  [default] interface IEwProjectExportDWGFilesX;
1969  };
1970 
1971  [
1972  uuid(C412E861-00A9-4407-ACA1-0F5707A3A75E),
1973  helpstring("EwProjectPublishToeDrawingsX Class")
1974  , noncreatable
1975  ]
1976  coclass EwProjectPublishToeDrawingsX
1977  {
1978  [default] interface IEwProjectPublishToeDrawingsX;
1979  };
1980 
1981  [
1982  uuid(842586D5-03FA-4E46-A870-945D9D4EB602)
1983  ]
1984  coclass EwAddIn
1985  {
1986  [default] interface IEwAddIn;
1987  };
1988 
1989  [
1990  uuid(E10D44A9-1A2C-46BB-97BA-9E5EA04867A4)
1991  , noncreatable
1992  ]
1993  coclass EwProjectExportPDMX
1994  {
1995  [default] interface IEwProjectExportPDMX;
1996  };
1997  [
1998  uuid(16FA24EA-7323-428A-B7C5-5B7D83426816)
1999  , noncreatable
2000  ]
2001  coclass EwProjectBookX
2002  {
2003  [default] interface IEwProjectBookX;
2004  };
2005  [
2006  uuid(812E317E-250E-4692-9683-589789AF1AFC)
2007  , noncreatable
2008  ]
2009  coclass EwProjectBookManagerX
2010  {
2011  [default] interface IEwProjectBookManagerX;
2012  };
2013  [
2014  uuid(12E996E0-BC97-4C9C-AC6F-4B4005AFEFD3)
2015  , noncreatable
2016  ]
2017  coclass EwProjectReportManagerX
2018  {
2019  [default] interface IEwProjectReportManagerX;
2020  };
2021  [
2022  uuid(56FB79F1-C64F-4FC2-AD06-BD0BC41224F4)
2023  , noncreatable
2024 
2025  ]
2026  coclass EwProjectReportX
2027  {
2028  [default] interface IEwProjectReportX;
2029  };
2030  [
2031  uuid(22D98533-CC09-4B05-BED0-1DAC55F821F8)
2032  , noncreatable
2033 
2034  ]
2035  coclass EwProjectExportReportX
2036  {
2037  [default] interface IEwProjectExportReportX;
2038  };
2039  [
2040  uuid(5E3C7F8C-E585-489F-8EC9-444C01A7BE28)
2041  , noncreatable
2042 
2043  ]
2044  coclass EwObjectBaseX
2045  {
2046  [default] interface IEwObjectBaseX;
2047  };
2048 
2049  [
2050  uuid(7C4DC7D9-862C-4DD9-86B0-543A91F98150)
2051  , noncreatable
2052 
2053  ]
2054  coclass EwProjectTagObjectX
2055  {
2056  [default] interface IEwProjectTagObjectX;
2057  };
2058 
2059  [
2060  uuid(E7594182-F250-4063-B752-C03797049796)
2061  , noncreatable
2062 
2063  ]
2064  coclass EwProjectFunctionX
2065  {
2066  [default] interface IEwProjectFunctionX;
2067  };
2068 
2069  [
2070  uuid(1D169FA4-D750-481F-93E6-9648749A2790)
2071  , noncreatable
2072 
2073  ]
2074  coclass EwProjectFunctionManagerX
2075  {
2076  [default] interface IEwProjectFunctionManagerX;
2077  };
2078  [
2079  uuid(18737F1D-59FC-400E-9DF7-1655832F49CF)
2080  , noncreatable
2081 
2082  ]
2083  coclass EwClassX
2084  {
2085  [default] interface IEwClassX;
2086  };
2087  [
2088  uuid(1B3CF726-F3C9-46B1-ACEE-FAF421DB5AD6)
2089  , noncreatable
2090 
2091  ]
2092  coclass EwClassificationX
2093  {
2094  [default] interface IEwClassificationX;
2095  };
2096  [
2097  uuid(60553CE7-81DC-4EF7-BCD9-D8FCD97C1554)
2098  , noncreatable
2099 
2100  ]
2101  coclass EwClassificationManagerX
2102  {
2103  [default] interface IEwClassificationManagerX;
2104  };
2105  [
2106  uuid(43D7CAB2-93F4-4F0B-9E0B-13CF3ACB88A1)
2107  , noncreatable
2108 
2109  ]
2110  coclass EwProjectFolderX
2111  {
2112  [default] interface IEwProjectFolderX;
2113  };
2114  [
2115  uuid(29D73623-BAEE-483D-B5A6-9E2ACBB8D3D2)
2116  , noncreatable
2117 
2118  ]
2119  coclass EwProjectFolderManagerX
2120  {
2121  [default] interface IEwProjectFolderManagerX;
2122  };
2123 
2124  [
2125  uuid(F1593084-3F4F-43D9-AA6E-AD070AE3E5E5)
2126  ,noncreatable
2127  ]
2128  coclass EwArchiveEnvironmentX
2129  {
2130  [default] interface IEwArchiveEnvironmentX;
2131  };
2132 
2133  [
2134  uuid(89C33C8A-6B98-4237-B2EA-0C84855A8C6A)
2135  , noncreatable
2136  ]
2137  coclass EwDialogProgressX
2138  {
2139  [default] interface IEwDialogProgressX;
2140  };
2141 
2142  [
2143  uuid(561782F5-7DAF-4F93-8531-3BEE3E06FA23)
2144  , noncreatable
2145  ]
2146  coclass EwCommandManagerX
2147  {
2148  [default] interface IEwCommandManagerX;
2149  };
2150 
2151  [
2152  uuid(3F20DD28-2E57-414A-A79E-4B0DC6A31B2A)
2153  ]
2154  coclass EwCommandX
2155  {
2156  [default] interface IEwCommandX;
2157  };
2158 
2159  [
2160  uuid(2B57DE04-47DA-4C0C-B6D5-37BA107C12A9)
2161  ]
2162  coclass EwCommandContextX
2163  {
2164  [default] interface IEwCommandContextX;
2165  };
2166 
2167 
2168  [
2169  uuid(2381BCF3-B55A-4F00-A22C-0D41B74A8916)
2170  , noncreatable
2171  ]
2172  coclass EwXLSBookX
2173  {
2174  [default] interface IEwXLSBookX;
2175  };
2176 
2177  [
2178  uuid(03D5F256-C69F-42ED-8EC3-B0C747D05BBB)
2179  , noncreatable
2180  ]
2181  coclass EwXLSSheetX
2182  {
2183  [default] interface IEwXLSSheetX;
2184  };
2185 
2186  [
2187  uuid(76125B7A-E5FC-4362-93F8-3B912EB85D51)
2188  ]
2189  coclass EwInteropFactoryX
2190  {
2191  [default] interface IEwInteropFactoryX;
2192  };
2193 
2194  [
2195  uuid(409D543C-A3AF-4A83-ACDA-16D3FACAE152)
2196  , noncreatable
2197  ]
2198  coclass EwDialogResumeX
2199  {
2200  [default] interface IEwDialogResumeX;
2201  };
2202  [
2203  uuid(6A9F222F-0BCC-4A12-BBE6-D3FFF242FB89)
2204  , noncreatable
2205  ]
2206  coclass EwResumeRowX
2207  {
2208  [default] interface IEwResumeRowX;
2209  };
2210  [
2211  uuid(3048A375-C8E9-437B-A820-38A7B69C64B1)
2212  , noncreatable
2213  ]
2214  coclass EwProjectGenerateTSDrawingX
2215  {
2216  [default] interface IEwProjectGenerateTSDrawingX;
2217  };
2218 
2219  [
2220  uuid(C0A20628-B5FD-405E-983A-B562800BF6F2)
2221  , noncreatable
2222  ]
2223  coclass EwProjectSnapshotX
2224  {
2225  [default] interface IEwProjectSnapshotX;
2226  };
2227 
2228  [
2229  uuid(C42D1252-2A82-4DA8-BC13-1E466FA01296)
2230  , noncreatable
2231  ]
2232  coclass EwProjectSnapshotManagerX
2233  {
2234  [default] interface IEwProjectSnapshotManagerX;
2235  };
2236 
2237  [
2238  uuid(9A272DBD-270B-491E-902B-8457CA696D14)
2239  , noncreatable
2240  ]
2241  coclass EwProjectUpdateReplaceDataX
2242  {
2243  [default] interface IEwProjectUpdateReplaceDataX;
2244  };
2245 
2246  [
2247  uuid(3BFB975A-DA41-4BEB-ADD3-613629333807)
2248  , noncreatable
2249  ]
2250  coclass EwRibbonX
2251  {
2252  [default] interface IEwRibbonX;
2253  };
2254 
2255  [
2256  uuid(7F565914-9CAD-4719-863B-2C66B16EB56E)
2257  , noncreatable
2258  ]
2259  coclass EwRibbonTabX
2260  {
2261  [default] interface IEwRibbonTabX;
2262  };
2263  [
2264  uuid(2F9C5121-22D2-4953-9DC1-973C520C85EF)
2265  , noncreatable
2266  ]
2267  coclass EwRibbonGroupX
2268  {
2269  [default] interface IEwRibbonGroupX;
2270  };
2271  [
2272  uuid(41BBBCA0-4750-4681-B1CE-C56A3A8C03DC)
2273  , noncreatable
2274  ]
2275  coclass EwRibbonControlX
2276  {
2277  [default] interface IEwRibbonControlX;
2278  };
2279 
2280  [
2281  uuid(913ADEC7-4F0A-4EC4-8E48-068F695D7D47)
2282  , noncreatable
2283  ]
2284  coclass EwProjectNumberWiresX
2285  {
2286  [default] interface IEwProjectNumberWiresX;
2287  };
2288 
2289  [
2290  uuid(1F44AF7E-16DC-4297-AB1C-035FE01BBE8D)
2291  , noncreatable
2292  ]
2293  coclass EwProjectNumberMarksX
2294  {
2295  [default] interface IEwProjectNumberMarksX;
2296  };
2297 
2298  [
2299  uuid(BDC5DC3D-3EF0-4A90-BBBC-8F65C20EE15E)
2300  , noncreatable
2301  ]
2302  coclass EwProjectAutomaticArrowsX
2303  {
2304  [default] interface IEwProjectAutomaticArrowsX;
2305  };
2306  [
2307  uuid(BD95B887-0207-438B-AD4A-BAD4F8E8DBA4)
2308  , noncreatable
2309  ]
2310  coclass EwProjectNumberDocumentsX
2311  {
2312  [default] interface IEwProjectNumberDocumentsX;
2313  };
2314 
2315  [
2316  uuid(05101195-CF52-4C96-B0D8-04C35958079A)
2317  , noncreatable
2318  ]
2319  coclass EwProjectOptimizeWireOrderX
2320  {
2321  [default] interface IEwProjectOptimizeWireOrderX;
2322  };
2323 
2324  [
2325  uuid(1EB320E5-9275-4995-969A-30AA4841B667)
2326  ]
2327  coclass EwPointX
2328  {
2329  [default] interface IEwPointX;
2330  };
2331 
2332  [
2333  uuid(A962D51B-C75E-46EF-A910-8EC5ABDDFCD9)
2334  , noncreatable
2335  ]
2336  coclass EwProjectSymbolManagerX
2337  {
2338  [default] interface IEwProjectSymbolManagerX;
2339 
2340  };
2341 
2343 
2344  [
2345  uuid(12781d9c-1e5f-4863-9a3f-de59541520d2),
2346  helpstring("Event interface for Project Manager Dialog.")
2347  ]
2348  dispinterface _IEwDialogProjectManagerXEvents
2349  {
2350  properties:
2351  methods:
2352  void onOpenProjectManagerDialog ();
2353 
2354  void onSelectChangedProjectManagerDialog ();
2355 
2356 
2357  }
2358 
2359  [
2360  uuid(67c8f5d2-dfa3-49af-b94f-3b209fedf75c),
2361  helpstring("EwDialogProjectManagerX Class"),
2362  noncreatable
2363  ]
2364  coclass EwDialogProjectManagerX
2365  {
2366  [default] interface IEwDialogProjectManagerX;
2367  [default, source] dispinterface _IEwDialogProjectManagerXEvents;
2368  };
2369 }; // \endcond
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.


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) 2020 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.