Hide Table of Contents
SOLIDWORKS Electrical API  2021.0.0
Electrical API
EwProjectExportObjects.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 import "oaidl.idl";
8 import "ocidl.idl";
9 
10 import "EwObjectBase.idl";
11 
16 [
17  object,
18  uuid(9AF0A2A1-FF19-47F8-9EC7-BFD20499CF6E),
19  dual,
20  oleautomation,
21  nonextensible,
22  helpstring("IEwProjectPrintConfigX Interface"),
23  pointer_default(unique)
24 ]
26 {
27 
36  BSTR getPrinterName (EwErrorCode* errorCode);
37 
38 
47  EwErrorCode setPrinterName (BSTR strPrinterName);
48 
49 
58  BSTR getPaperFormat (EwErrorCode* errorCode);
59 
60 
69  EwErrorCode setPaperFormat (BSTR strPaperFormat);
70 
71 
80  BSTR getPaperSource (EwErrorCode* errorCode);
81 
82 
91  EwErrorCode setPaperSource (BSTR strPaperSource);
92 
93 
105 
106 
118 
119 
127  VARIANT_BOOL getPrintWithSymmetry (EwErrorCode* errorCode);
128 
129 
137  EwErrorCode setPrintWithSymmetry (VARIANT_BOOL bPrintWithSymmetry);
138 
139 
147  VARIANT_BOOL getInversePrintOrder (EwErrorCode* errorCode);
148 
149 
157  EwErrorCode setInversePrintOrder (VARIANT_BOOL bInversePrintOrder);
158 
159 
168 
169 
178  EwErrorCode setPrintCopiesNumber (int nCopiesNumbery);
179 
180 
188  VARIANT_BOOL getPrintCollate (EwErrorCode* errorCode);
189 
190 
198  EwErrorCode setPrintCollate (VARIANT_BOOL bPrintCollate);
199 
200 
208  VARIANT_BOOL getPrintUsingStyleSheet (EwErrorCode* errorCode);
209 
210 
218  EwErrorCode setPrintUsingStyleSheet (VARIANT_BOOL bPrintUsingStyleSheet);
219 
220 
229 
230 
239  EwErrorCode setPrintStyleSheetName (BSTR strPrintStyleSheetName);
240 
241 
242 
243 
251  double getPrintPaperScaleUnit (EwErrorCode* errorCode);
252 
253 
262  EwErrorCode setPrintPaperScaleUnit (double dPrintPaperScaleUnit);
263 
264 
273 
274 
283  EwErrorCode setPrintdrawingScaleUnit (double dPrintdrawingScaleUnit);
284 
285 
286 
287 
288 
289 
290 
291 
292 
293 
294 
302  VARIANT_BOOL getPrintAllProjectFiles (EwErrorCode* errorCode);
303 
304 
312  EwErrorCode setPrintAllProjectFiles (VARIANT_BOOL bPrintAllProjectFiles);
313 
314 
315 
324  VARIANT getPrintSelectionFiles (EwErrorCode* errorCode);
325 
326 
327 
339  EwErrorCode setPrintSelectionFiles (VARIANT vFolioArray);
340 
341 
352 
353 
362  BSTR getPrintConfigName (EwErrorCode* errorCode);
363 
364 
373  EwErrorCode setPrintConfigName (BSTR strPrintConfigName);
374 
375 
385  VARIANT_BOOL getGenerateAutomatedDrawings (EwErrorCode* errorCode);
386 
387 
397  EwErrorCode setGenerateAutomatedDrawings (VARIANT_BOOL bGenerateAutomatedDrawings);
398 
399 
411 
412 
424 
425 
435  EwPlotArea getEwPlotArea (EwErrorCode* errorCode);
436 
437 
447  EwErrorCode setEwPlotArea (EwPlotArea ePlotArea);
448 
449 };
450 
451 
456 [
457  object,
458  uuid(151AECB0-06B4-4090-9229-B2F4F01FE360),
459  dual,
460  oleautomation,
461  nonextensible,
462  helpstring("IEwProjectPrintConfigManagerX Interface"),
463  pointer_default(unique)
464 ]
465 interface IEwProjectPrintConfigManagerX : IDispatch{
466 
474  LONG getCount (EwErrorCode* errorCode);
475 
476 
485 
486 
497 
498 
509 
510 
520  IEwProjectPrintConfigX findProjectPrintConfigByName (BSTR strPrintConfigName, EwErrorCode* errorCode);
521 
522 
531 
532 
540  VARIANT getPrinterNamesArray (EwErrorCode* errorCode);
541 
542 
550  VARIANT getSheetStylesArray (EwErrorCode* errorCode);
551 
552 
560  VARIANT getScaleValuesArray (EwErrorCode* errorCode);
561 
562 
571  VARIANT getPrinterPaperFormatsArray (BSTR strPrinterName, EwErrorCode* errorCode);
572 
573 
582  VARIANT getPrinterPaperSourcesArray (BSTR strPrinterName, EwErrorCode* errorCode);
583 
592 
593 
594 };
595 
596 
601 [
602  object,
603  uuid(910619A2-421C-4F95-A196-F8685C628BD9),
604  dual,
605  oleautomation,
606  nonextensible,
607  helpstring("IEwProjectExportDWGFilesX Interface"),
608  pointer_default(unique)
609 ]
610 interface IEwProjectExportDWGFilesX : IDispatch{
611 
620  EwErrorCode setExportDirectory (BSTR strExportDirectory);
621 
622 
623 
624 
634  EwErrorCode setStrFileNameFormula (BSTR strFileNameFormula);
635 
636 
649 
650 
651 
663 
664 
674  VARIANT_BOOL getGenerateAutomatedDrawings (EwErrorCode* errorCode);
675 
676 
686  EwErrorCode setGenerateAutomatedDrawings (VARIANT_BOOL bGenerateAutomatedDrawings);
687 
688 
696  BSTR getExportDirectory (EwErrorCode* errorCode);
697 
698 };
699 
700 
705 [
706  object,
707  uuid(415A3B4B-F774-41DD-8495-83BE794AB6A7),
708  dual,
709  nonextensible,
710  helpstring("IEwProjectExportPDMX Interface"),
711  pointer_default(unique)
712 ]
713 interface IEwProjectExportPDMX : IDispatch{
714 
723  EwErrorCode setPDMConfigFilePath (BSTR strPDMConfigFilePath);
724 
725 
734 
735 
744 
745 
754  EwErrorCode setOutputFolderPath (BSTR strOutputFolderPath);
755 
756 
764  BSTR getOutputFolderPath (EwErrorCode* errorCode);
765 
766 
767 };
768 
773 [
774  object,
775  uuid(5C9D486B-EE01-4C6E-8585-68E392CA4A16),
776  dual,
777  nonextensible,
778  helpstring("IEwProjectReportX Interface"),
779  pointer_default(unique)
780 ]
782 {
783 
792 
793 
794 
803  LONG getOrderNo (EwErrorCode* errorCode);
804 
805 
806 
814  EwErrorCode setOrderNo (LONG lOrderNo);
815 
816 
817 
825  BSTR getFilter (EwErrorCode* errorCode);
826 
827 
828 
837  EwErrorCode setFilter (BSTR strFilter);
838 
839 
840 
848  BSTR getReportFileName (EwErrorCode* errorCode);
849 
850 
851 
859  EwErrorCode setReportFileName (BSTR strReportFileName);
860 
861 
862 };
863 
868 [
869  object,
870  uuid(9795C977-F5E4-4FA5-B527-A28E6D58C1BA),
871  dual,
872  nonextensible,
873  helpstring("IEwProjectReportManagerX Interface"),
874  pointer_default(unique)
875 ]
876 interface IEwProjectReportManagerX : IDispatch
877 {
878 
885  LONG getCount (EwErrorCode* errorCode);
886 
887 
896 
897 
906  IEwProjectReportX at (int iIndex, EwErrorCode* errorCode);
907 
908 
909 
919  IEwProjectReportX find (BSTR strFileName, BSTR strFilterName, EwErrorCode* errorCode);
920 
921 
932 
933 };
934 
939 [
940  object,
941  uuid(877D3846-16D9-4730-9FFB-1A396B873DE1),
942  dual,
943  nonextensible,
944  pointer_default(unique)
945 ]
946 interface IEwProjectExportReportX : IDispatch
947 {
948 
956  VARIANT_BOOL getAddCreatedFileToProject (EwErrorCode* errorCode);
957 
958 
966  EwErrorCode setAddCreatedFileToProject (VARIANT_BOOL bAddCreatedFileToProject);
967 
968 
976  BSTR getTargetFolder (EwErrorCode* errorCode);
977 
978 
987  EwErrorCode setTargetFolder (BSTR strFolderPath);
988 
989 
997  LONG getBookOrFolderId (EwErrorCode* errorCode);
998 
999 
1009  EwErrorCode setBookOrFolderId (long lBookOrFolderId);
1010 
1011 
1019  VARIANT_BOOL getExportAllReports (EwErrorCode* errorCode);
1020 
1021 
1029  EwErrorCode setExportAllReports (VARIANT_BOOL bExportAllReports);
1030 
1031 
1039  VARIANT_BOOL getOpenFile (EwErrorCode* errorCode);
1040 
1041 
1049  EwErrorCode setOpenFile (VARIANT_BOOL bOpenFile);
1050 
1051 
1061 
1062 
1074  EwErrorCode setEwProjectReportIDArray (VARIANT vProjectReportIDArray);
1075 
1076 
1090 
1091 
1100  VARIANT_BOOL getIncludeColumnHeader (EwErrorCode* errorCode);
1101 
1102 
1111  EwErrorCode setIncludeColumnHeader (VARIANT_BOOL bIncludeColumnHeader);
1112 
1113 
1123 
1124 
1134 
1135 
1145 
1146 
1156 
1157 
1169 
1170 
1181 
1182 
1196 
1197 
1206  VARIANT_BOOL getOneSheetByBreak (EwErrorCode* errorCode);
1207 
1208 
1217  EwErrorCode setOneSheetByBreak (VARIANT_BOOL bOneSheetByBreak);
1218 
1219 
1233 
1234 
1245 
1246 
1259 
1260 
1261 };
1262 
1263 
1268 [
1269  object,
1270  uuid(E070B6E8-63CC-4C26-B96D-A048122CC774),
1271  dual,
1272  nonextensible,
1273  pointer_default(unique)
1274 ]
1275 interface IEwProjectGenerateTSDrawingX : IDispatch
1276 {
1277 
1288  long getDestinationBookOrFolderID (long lEwProjectComponentID, EwErrorCode* errorCode);
1289 
1290 
1303  EwErrorCode setDestinationBookOrFolderID (long lEwProjectComponentID, long lEwBookOrFolderID);
1304 
1305 
1314 
1315 
1325 
1326 
1336 
1337 
1338 };
1339 
1340 
1345 [
1346  object,
1347  uuid(3efe1ef7-fc16-45e1-817b-b13428fba5ba),
1348  dual,
1349  helpstring("Use this interface to manage the Excel Automation inside the project."),
1350  nonextensible,
1351  pointer_default(unique)
1352 ]
1353 interface IEwProjectExcelAutomationX : IDispatch
1354 {
1363  EwErrorCode setExcelFilePath (BSTR strExcelFilePath);
1364 
1365 
1373  BSTR getExcelFilePath (EwErrorCode* errorCode);
1374 
1375 
1384  EwErrorCode setGenerateLog (VARIANT_BOOL bGenerateLog);
1385 
1386 
1395  VARIANT_BOOL getGenerateLog (EwErrorCode* errorCode);
1396 
1397 
1407  EwErrorCode setLogFilePath (BSTR strLogFilePath);
1408 
1409 
1417  BSTR getLogFilePath (EwErrorCode* errorCode);
1418 
1419 
1420 
1429  VARIANT getEwResumeRowXArray (EwErrorCode* errorCode);
1430 
1431 
1442 
1443 };
1444 
1449 [
1450  object,
1451  uuid(36ba15fb-8d9f-4a70-9d22-c7274b2ef60f),
1452  dual,
1453  helpstring("Use this interface to export in PDF the current project files."),
1454  nonextensible,
1455  pointer_default(unique)
1456 ]
1457 interface IEwProjectExportPDFX : IDispatch
1458 {
1469 
1470 
1481 
1482 
1491 
1492 
1501  EwErrorCode setExportToPDFFileName (BSTR strExportToPDFFilePath);
1502 
1503 
1513 
1514 
1523  EwErrorCode setExportToPDFBookmarkAndHyperlink (VARIANT_BOOL bExportToPDFBookmarkAndHyperlink);
1524 
1525 
1534  VARIANT_BOOL getExportOnePDFFileByBook (EwErrorCode* errorCode);
1535 
1536 
1545  EwErrorCode setExportOnePDFFileByBook (VARIANT_BOOL bExportOnePDFFileByBook);
1546 
1547 
1560 
1561 
1574 
1575 
1584  VARIANT_BOOL getPlotWithSymmetry (EwErrorCode* errorCode);
1585 
1586 
1595  EwErrorCode setPlotWithSymmetry (VARIANT_BOOL bPlotWithSymmetry);
1596 
1597 
1608 
1609 
1620 
1621 
1629  double getPaperScaleUnit (EwErrorCode* errorCode);
1630 
1631 
1640  EwErrorCode setPaperScaleUnit (double dPaperScaleUnit);
1641 
1642 
1650  double getDrawingScaleUnit (EwErrorCode* errorCode);
1651 
1652 
1661  EwErrorCode setDrawingScaleUnit (double dDrawingScaleUnit);
1662 
1663 
1672  VARIANT_BOOL getAllProjectFiles (EwErrorCode* errorCode);
1673 
1674 
1683  EwErrorCode setAllProjectFiles (VARIANT_BOOL bAllProjectFiles);
1684 
1685 
1694  VARIANT getSelectionFiles (EwErrorCode* errorCode);
1695 
1696 
1708  EwErrorCode setSelectionFiles (VARIANT aFolioArray);
1709 
1710 
1719  VARIANT_BOOL getGenerateAutomatedDrawings (EwErrorCode* errorCode);
1720 
1721 
1730  EwErrorCode setGenerateAutomatedDrawings (VARIANT_BOOL bGenerateAutomatedDrawings);
1731 
1732 
1741 
1742 };
Use this interface to manage the report used inside the project.
Definition: EwProjectExportObjects.idl:782
BSTR getLogFilePath(EwErrorCode *errorCode)
Return The log file path for Excel automation.
EwErrorCode setPrintStyleSheetName(BSTR strPrintStyleSheetName)
Update the style sheet name with a new name.
EwErrorCode setAllProjectFiles(VARIANT_BOOL bAllProjectFiles)
Update with true to export all project files.
VARIANT_BOOL getExportAllReports(EwErrorCode *errorCode)
Indicate if all reports of the project must be exported.
EwErrorCode setExportToPDFFileName(BSTR strExportToPDFFilePath)
Set the export to PDF file path.
EwErrorCode doExcelExport()
Export reports in Excel type.
EwErrorCode setInversePrintOrder(VARIANT_BOOL bInversePrintOrder)
Update the inverse print order.
EwTextIdentifer getEwTextIdentifer(EwErrorCode *errorCode)
Return the text identifier for text export of reports.
VARIANT_BOOL getInversePrintOrder(EwErrorCode *errorCode)
Return true to print from last page, false to print from first page.
VARIANT_BOOL getAllProjectFiles(EwErrorCode *errorCode)
Return true to export all project files.
EwErrorCode setPrintStandardScaleType(EwStandardScaleType eStandardScaleType)
Update the Scale Type with an EwStandardScaleType enumeration value.
IEwProjectPrintConfigX findProjectPrintConfigByID(LONG lId, EwErrorCode *errorCode)
Get the print configuration from ID, for associated project.
EwErrorCode setGenerateLog(VARIANT_BOOL bGenerateLog)
Specify if a log file is generated.
IEwProjectReportX findProjectPrintReportByID(LONG lID, EwErrorCode *errorCode)
Find a report from his ID.
BSTR getExcelFilePath(EwErrorCode *errorCode)
Return the full path to the Excel file for automation.
EwErrorCode print()
Print project.
EwErrorCode setPaperFormat(EwPDFPaperFormat ePDFPaperFormat)
Update the paper format with a new name.
EwErrorCode generate()
Go through all the terminal strips of the project and generate terminal strip drawings if terminal st...
EwPageOrientation getEwPageOrientation(EwErrorCode *errorCode)
Return the page orientation of the config print.
EwErrorCode setExportDirectory(BSTR strExportDirectory)
Update the export directory path.
EwErrorCode setPaperSource(BSTR strPaperSource)
Update the paper source.
VARIANT_BOOL getGenerateAutomatedDrawings(EwErrorCode *errorCode)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
long getDestinationBookOrFolderID(long lEwProjectComponentID, EwErrorCode *errorCode)
Indicates the destination book associated to a component ID.
EwErrorCode setPrinterName(BSTR strPrinterName)
Update the printer name with a new name.
EwStandardScaleType getPrintStandardScaleType(EwErrorCode *errorCode)
Get the scale type EwStandardScaleType enumeration value of the config print.
EwStandardScaleType
All standard print drawing scale type.
Definition: EwEnumeration.idl:960
Use this interface to manage the export reports used inside the project.
Definition: EwProjectExportObjects.idl:947
EwErrorCode exportDwg(EwDwgFileExport eExportType)
Export previously selected files.
BSTR getFilter(EwErrorCode *errorCode)
Return the filter name of the report used inside the project.
Use this interface to manage export DWG files inside a project.
Definition: EwProjectExportObjects.idl:610
LONG getCount(EwErrorCode *errorCode)
Return the number of reports of associated project.
VARIANT_BOOL getGenerateAutomatedDrawings(EwErrorCode *errorCode)
Return the option to update all generated files like Terminal strips or Reports which have been added...
BSTR getExportDirectory(EwErrorCode *errorCode)
Return the export directory path.
double getPaperScaleUnit(EwErrorCode *errorCode)
Get the paper scale unit for the scale type, or a custom paper scale type.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwErrorCode setPrintdrawingScaleUnit(double dPrintdrawingScaleUnit)
Update the drawing scale unit for custom drawing scale type.
Use this interface to manage for reports used inside the project.
Definition: EwProjectExportObjects.idl:877
EwErrorCode setSelectionFiles(VARIANT aFolioArray)
Set the files to export with the files ID specify in the input array.
EwErrorCode setOpenFile(VARIANT_BOOL bOpenFile)
Set this flag to true if you want to open the reports after the export.
Use this interface to manage a print configuration manager inside a project.
Definition: EwProjectExportObjects.idl:465
EwErrorCode setEwProjectDataExportType(EwProjectDataExportType eProjectDataExportType)
Update the type of report to export.
EwTextIdentifer
Text identifier options.
Definition: EnumDefinition.idl:158
VARIANT getPrinterNamesArray(EwErrorCode *errorCode)
Return the array of string of printers name.
LONG getBookOrFolderId(EwErrorCode *errorCode)
Return the selected book id or folder id.
VARIANT_BOOL getOpenFile(EwErrorCode *errorCode)
Indicate if reports will be opened after the export.
VARIANT_BOOL getPrintUsingStyleSheet(EwErrorCode *errorCode)
Return true to print using style sheet.
EwErrorCode setPaperFormat(BSTR strPaperFormat)
Update the paper format with a new name.
EwPDFPaperFormat
All standard PDF paper format types.
Definition: EwEnumeration.idl:1007
EwErrorCode setPlotWithSymmetry(VARIANT_BOOL bPlotWithSymmetry)
Update the export PDF file with symmetry.
BSTR getOutputFolderPath(EwErrorCode *errorCode)
Return the output folder path where all files will be exported.
LONG getOrderNo(EwErrorCode *errorCode)
Return the Order No of the report used inside the project.
VARIANT_BOOL getPlotWithSymmetry(EwErrorCode *errorCode)
Return true to export PDF file with symmetry, false for standard export.
EwErrorCode setPrintSelectionFiles(VARIANT vFolioArray)
Set the files to print with the files ID specify in the input array.
IEwProjectPrintConfigX duplicateEwProjectPrintConfig(LONG lID, EwErrorCode *errorCode)
Create an IEwProjectPrintConfigX object with an existant IEwProjectPrintConfigX object from the assoc...
EwErrorCode setBookOrFolderId(long lBookOrFolderId)
Set the id of the destination folder or book where the reports will be exported.
EwErrorCode setStrFileNameFormula(BSTR strFileNameFormula)
Update the formula for naming dwg file.
VARIANT_BOOL getPrintAllProjectFiles(EwErrorCode *errorCode)
Return true to print all project files.
VARIANT getSelectionFiles(EwErrorCode *errorCode)
Return the files to export in an array This parameter is used if "all project files" option is set to...
EwTSDrawingOption
Define behavior when updating terminal strip drawings.
Definition: EwEnumeration.idl:736
EwErrorCode setOutputFolderPath(BSTR strOutputFolderPath)
Set the output folder path where all files will be exported.
EwFileExtension
All file types extension.
Definition: EwEnumeration.idl:519
IEwProjectReportX newEwProjectReport(EwErrorCode *errorCode)
Create an IEwProjectReportX object from the associated project.
EwErrorCode doTxtExport()
Export reports in Txt type.
EwErrorCode setPDMConfigFilePath(BSTR strPDMConfigFilePath)
Update the PDM config file.
EwErrorCode setPrintConfigName(BSTR strPrintConfigName)
Update the config name with a new unique name.
EwErrorCode setPrintWithSymmetry(VARIANT_BOOL bPrintWithSymmetry)
Update the print with symmetry.
EwErrorCode setPrintAllProjectFiles(VARIANT_BOOL bPrintAllProjectFiles)
Update with true to print all project files.
EwErrorCode setExportOnePDFFileByBook(VARIANT_BOOL bExportOnePDFFileByBook)
Update with true to export one PDF file by book.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:26
VARIANT_BOOL getPrintWithSymmetry(EwErrorCode *errorCode)
Return true to print with symmetry, false for standard print.
BSTR getPrinterName(EwErrorCode *errorCode)
Get the printer name of the config print.
EwTextSeparator
Text separator options.
Definition: EnumDefinition.idl:170
EwStandardScaleType getStandardScaleType(EwErrorCode *errorCode)
Get the scale type EwStandardScaleType enumeration value for export PDF file.
EwErrorCode setDrawingOption(EwTSDrawingOption eTSDrawingOption)
Define the behavior when a terminal strip is already drawn and destination folder has changed.
EwErrorCode setPrintCopiesNumber(int nCopiesNumbery)
Update the number of copies to print.
EwErrorCode exportPDF()
Export PDF file inside this project.
LONG getCount(EwErrorCode *errorCode)
Return the number of print configuration of associated project.
EwErrorCode setIncludeColumnHeader(VARIANT_BOOL bIncludeColumnHeader)
Set this flag to true if you want column header exported on the first row.
EwErrorCode setFilter(BSTR strFilter)
Update the filter name of the report used inside the project.
EwPageOrientation getEwPageOrientation(EwErrorCode *errorCode)
Return the page orientation to the PDF file export.
EwErrorCode setDestinationBookOrFolderID(long lEwProjectComponentID, long lEwBookOrFolderID)
Specify the destination book or folder when generating terminal strip drawings.
EwTextSeparator getEwTextSeparator(EwErrorCode *errorCode)
Return the text separator for text export ofreports.
EwErrorCode setEwPageOrientation(EwPageOrientation ePageOrientation)
Update the page orientation.
EwErrorCode setPrintCollate(VARIANT_BOOL bPrintCollate)
Update with true to print collate, or with false for standard print or numbers of copies is 1.
VARIANT getScaleValuesArray(EwErrorCode *errorCode)
Return the array of string of scale values.
IEwProjectPrintConfigX findProjectPrintConfigByName(BSTR strPrintConfigName, EwErrorCode *errorCode)
Get the print configuration from name, for associated project.
BSTR getReportFileName(EwErrorCode *errorCode)
Return the Report FileName of the report used inside the project.
EwErrorCode setGenerateAutomatedDrawings(VARIANT_BOOL bGenerateAutomatedDrawings)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
EwErrorCode setEwProjectReportIDArray(VARIANT vProjectReportIDArray)
Set array of ID of EwProjectReport objects.
VARIANT_BOOL getGenerateLog(EwErrorCode *errorCode)
Return True if a log is generated.
EwErrorCode setEwFileExtension(EwFileExtension eFileExtension)
Update the report type file extension.
EwErrorCode setTargetFolder(BSTR strFolderPath)
Update the exported target folder path.
double getDrawingScaleUnit(EwErrorCode *errorCode)
Get the drawing scale unit for the the scale type, or a custom drawing scale type.
VARIANT_BOOL getOneSheetByBreak(EwErrorCode *errorCode)
Indicate if the export will create one sheet by break.
EwProjectDataExportType getEwProjectDataExportType(EwErrorCode *errorCode)
Return the type of the report used inside the project.
VARIANT_BOOL getAddCreatedFileToProject(EwErrorCode *errorCode)
Indicates if exported files will be added to the project.
EwErrorCode doXMLExport()
Export reports in XML type.
EwErrorCode setExportAllReports(VARIANT_BOOL bExportAllReports)
Set this flag to true to export all reports of the project.
VARIANT getPdfExportPaperFormatsArray(EwErrorCode *errorCode)
Return the array of string of paper formats for the PDF export.
Use this interface to manage the generation of terminal strip drawing inside the project.
Definition: EwProjectExportObjects.idl:1276
VARIANT getSheetStylesArray(EwErrorCode *errorCode)
Return an array of string of all available plot style tables.
VARIANT getProjectPrintConfigArray(EwErrorCode *errorCode)
Return the array of IEwProjectPrintConfigX of given type for associated project.
EwTSDrawingOption getDrawingOption(EwErrorCode *errorCode)
Get the drawing option.
BSTR getPrintStyleSheetName(EwErrorCode *errorCode)
Get the style sheet name of the config print.
EwErrorCode doExcelAutomation()
Start the Excel Automation.
EwPlotArea getEwPlotArea(EwErrorCode *errorCode)
Get the plot area in print configuration.
double getPrintDrawingScaleUnit(EwErrorCode *errorCode)
Get the drawing scale unit for the the scale type, or a custom drawing scale type.
EwErrorCode setOneSheetByBreak(VARIANT_BOOL bOneSheetByBreak)
Set this flag to true to export one sheet by break.
int getPrintCopiesNumber(EwErrorCode *errorCode)
Return the number of copies to print.
IEwProjectReportX find(BSTR strFileName, BSTR strFilterName, EwErrorCode *errorCode)
Find a report from his file name and a filter name.
VARIANT getPrinterPaperSourcesArray(BSTR strPrinterName, EwErrorCode *errorCode)
Return the array of string of paper sources.
EwProjectDataExportType getEwProjectDataExportType(EwErrorCode *errorCode)
Return the type of report to export.
BSTR getPDMConfigFilePath(EwErrorCode *errorCode)
Return the PDM config file name.
BSTR getPaperSource(EwErrorCode *errorCode)
Get the paper source of the config print.
EwErrorCode setExportDwgSelectionFiles(VARIANT aFolioArray)
Set the files to export with the files ID specify in the input array.
Use this interface to manage a print configuration inside a project.
Definition: EwProjectExportObjects.idl:26
EwErrorCode setGenerateAutomatedDrawings(VARIANT_BOOL bGenerateAutomatedDrawings)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
VARIANT_BOOL getPrintCollate(EwErrorCode *errorCode)
Return true to print collate, false for standard print or numbers of copies is 1.
EwFileExtension getEwFileExtension(EwErrorCode *errorCode)
Return the type of the report file extension.
EwProjectDataExportType
All data export configuration.
Definition: EwEnumeration.idl:465
VARIANT_BOOL getGenerateAutomatedDrawings(EwErrorCode *errorCode)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
VARIANT getEwProjectReportIDArray(EwErrorCode *errorCode)
Return array of ID of EwProjectReport objects.
EwErrorCode setEwPlotArea(EwPlotArea ePlotArea)
Set the plot area in print configuration.
IEwProjectReportX at(int iIndex, EwErrorCode *errorCode)
Return an IEwProjectReportX object from the associated project.
BSTR getPrintConfigName(EwErrorCode *errorCode)
Get the config name of the config print.
EwErrorCode setOrderNo(LONG lOrderNo)
Update the Order No of thereport used inside the project.
EwErrorCode setGenerateAutomatedDrawings(VARIANT_BOOL bGenerateAutomatedDrawings)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
EwDwgFileExport
All possible export DWG file type for a project.
Definition: EwEnumeration.idl:455
IEwProjectPrintConfigX newEwProjectPrintConfig(EwErrorCode *errorCode)
Create an IEwProjectPrintConfigX object from the associated project.
EwErrorCode setPrintPaperScaleUnit(double dPrintPaperScaleUnit)
Update the paper scale unit for custom paper scale type.
EwErrorCode setExportToPDFBookmarkAndHyperlink(VARIANT_BOOL bExportToPDFBookmarkAndHyperlink)
Update with true to export PDF bookmark and hyperlink.
VARIANT getPrintSelectionFiles(EwErrorCode *errorCode)
Return the files to print in an array This parameter is used if "all project files" option is set to ...
VARIANT_BOOL getExportToPDFBookmarkAndHyperlink(EwErrorCode *errorCode)
Return true to export PDF bookmark and hyperlink.
EwErrorCode setReportFileName(BSTR strReportFileName)
Update the ReportFileName name of the report used inside the project.
VARIANT getEwResumeRowXArray(EwErrorCode *errorCode)
Return an array of EwResumeRowX that contains all Log from the last excel automation launch.
BSTR getTargetFolder(EwErrorCode *errorCode)
Return the exported target folder path.
EwErrorCode setLogFilePath(BSTR strLogFilePath)
Specify the Log file path.
Use this interface to manage the Excel Automation inside the project.
Definition: EwProjectExportObjects.idl:1354
EwErrorCode exportToPDM()
Run the command "Export to PDM" using the default configuration file or the one defined in setPDMConf...
BSTR getExportToPDFFileName(EwErrorCode *errorCode)
Get the export to PDF file path.
EwErrorCode setPrintUsingStyleSheet(VARIANT_BOOL bPrintUsingStyleSheet)
Update with true to print using style sheet.
VARIANT getPrinterPaperFormatsArray(BSTR strPrinterName, EwErrorCode *errorCode)
Return the array of string of paper formats.
EwPageOrientation
All Page orientation.
Definition: EwEnumeration.idl:481
BSTR getPaperFormat(EwErrorCode *errorCode)
Get the paper format of the config print.
EwErrorCode setPaperScaleUnit(double dPaperScaleUnit)
Update the paper scale unit for custom paper scale type.
EwErrorCode setEwTextIdentifer(EwTextIdentifer eTextIdentifier)
Update the text identifier for text export of reports.
EwErrorCode setEwTextSeparator(EwTextSeparator eTextSeparator)
Update the text separator for text export of reports.
double getPrintPaperScaleUnit(EwErrorCode *errorCode)
Get the paper scale unit for the scale type, or a custom paper scale type.
VARIANT_BOOL getIncludeColumnHeader(EwErrorCode *errorCode)
Indicate if column header is exported on the first row.
Use this interface to export file in PDF inside a project.
Definition: EwProjectExportObjects.idl:1458
EwErrorCode setStandardScaleType(EwStandardScaleType eEwStandardScaleType)
Update the Scale Type with an EwStandardScaleType enumeration value.
EwPDFPaperFormat getPaperFormat(EwErrorCode *errorCode)
Get the enum EwPDFPaperFormat paper format of the PDF export files.
Use this interface to manage the command "Export to PDM".
Definition: EwProjectExportObjects.idl:713
EwErrorCode setDrawingScaleUnit(double dDrawingScaleUnit)
Update the drawing scale unit for custom drawing scale type.
EwErrorCode setExcelFilePath(BSTR strExcelFilePath)
Specify the full path to the Excel file for automation.
EwErrorCode setAddCreatedFileToProject(VARIANT_BOOL bAddCreatedFileToProject)
Set this value to true to add exported files to the project.
VARIANT_BOOL getExportOnePDFFileByBook(EwErrorCode *errorCode)
Return true to export one PDF file by book.
EwErrorCode setEwPageOrientation(EwPageOrientation ewPageOrientation)
Update the page orientation.


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/EwProjectExportObjects.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) 2021 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.