Hide Table of Contents
SOLIDWORKS Electrical API  2020.0.5
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 
249  BSTR getPrintScaleType (EwErrorCode* errorCode);
250 
251 
262  EwErrorCode setPrintScaleType (BSTR strPrintScaleType);
263 
264 
272  double getPrintPaperScaleUnit (EwErrorCode* errorCode);
273 
274 
283  EwErrorCode setPrintPaperScaleUnit (double dPrintPaperScaleUnit);
284 
285 
294 
295 
304  EwErrorCode setPrintdrawingScaleUnit (double dPrintdrawingScaleUnit);
305 
306 
314  VARIANT_BOOL getExportToPDFFiles (EwErrorCode* errorCode);
315 
316 
327  EwErrorCode setExportToPDFFiles (VARIANT_BOOL bExportToPDFFiles);
328 
329 
338 
339 
348  EwErrorCode setExportToPDFFileName (BSTR strExportToPDFFilePath);
349 
350 
359 
360 
368  EwErrorCode setExportToPDFBookmarkAndHyperlink (VARIANT_BOOL bExportToPDFBookmarkAndHyperlink);
369 
370 
378  VARIANT_BOOL getExportOnePDFFileByBook (EwErrorCode* errorCode);
379 
380 
388  EwErrorCode setExportOnePDFFileByBook (VARIANT_BOOL bExportOnePDFFileByBook);
389 
390 
391 
399  VARIANT_BOOL getPrintAllProjectFiles (EwErrorCode* errorCode);
400 
401 
409  EwErrorCode setPrintAllProjectFiles (VARIANT_BOOL bPrintAllProjectFiles);
410 
411 
412 
421  VARIANT getPrintSelectionFiles (EwErrorCode* errorCode);
422 
423 
424 
436  EwErrorCode setPrintSelectionFiles (VARIANT aFolioArray);
437 
438 
448 
449 
458  BSTR getPrintConfigName (EwErrorCode* errorCode);
459 
460 
469  EwErrorCode setPrintConfigName (BSTR strPrintConfigName);
470 
471 
481  VARIANT_BOOL getGenerateAutomatedDrawings (EwErrorCode* errorCode);
482 
483 
493  EwErrorCode setGenerateAutomatedDrawings (VARIANT_BOOL bGenerateAutomatedDrawings);
494 
495 
496 
497 };
498 
499 
504 [
505  object,
506  uuid(151AECB0-06B4-4090-9229-B2F4F01FE360),
507  dual,
508  oleautomation,
509  nonextensible,
510  helpstring("IEwProjectPrintConfigManagerX Interface"),
511  pointer_default(unique)
512 ]
513 interface IEwProjectPrintConfigManagerX : IDispatch{
514 
522  LONG getCount (EwErrorCode* errorCode);
523 
524 
533 
534 
545 
546 
557 
558 
568  IEwProjectPrintConfigX findProjectPrintConfigByName (BSTR strPrintConfigName, EwErrorCode* errorCode);
569 
570 
579 
580 
588  VARIANT getPrinterNamesArray (EwErrorCode* errorCode);
589 
590 
598  VARIANT getSheetStylesArray (EwErrorCode* errorCode);
599 
600 
608  VARIANT getScaleValuesArray (EwErrorCode* errorCode);
609 
610 
619  VARIANT getPrinterPaperFormatsArray (BSTR strPrinterName, EwErrorCode* errorCode);
620 
621 
630  VARIANT getPrinterPaperSourcesArray (BSTR strPrinterName, EwErrorCode* errorCode);
631 
632 };
633 
634 
639 [
640  object,
641  uuid(910619A2-421C-4F95-A196-F8685C628BD9),
642  dual,
643  oleautomation,
644  nonextensible,
645  helpstring("IEwProjectExportDWGFilesX Interface"),
646  pointer_default(unique)
647 ]
648 interface IEwProjectExportDWGFilesX : IDispatch{
649 
658  EwErrorCode setExportDirectory (BSTR strExportDirectory);
659 
660 
661 
662 
672  EwErrorCode setStrFileNameFormula (BSTR strFileNameFormula);
673 
674 
687 
688 
689 
701 
702 
712  VARIANT_BOOL getGenerateAutomatedDrawings (EwErrorCode* errorCode);
713 
714 
724  EwErrorCode setGenerateAutomatedDrawings (VARIANT_BOOL bGenerateAutomatedDrawings);
725 
726 
735  BSTR getExportDirectory (EwErrorCode* errorCode);
736 
737 };
738 
739 
744 [
745  object,
746  uuid(415A3B4B-F774-41DD-8495-83BE794AB6A7),
747  dual,
748  nonextensible,
749  helpstring("IEwProjectExportPDMX Interface"),
750  pointer_default(unique)
751 ]
752 interface IEwProjectExportPDMX : IDispatch{
753 
762  EwErrorCode setPDMConfigFilePath (BSTR strPDMConfigFilePath);
763 
764 
773 
774 
783 
784 
793  EwErrorCode setOutputFolderPath (BSTR strOutputFolderPath);
794 
795 
803  BSTR getOutputFolderPath (EwErrorCode* errorCode);
804 
805 
806 };
807 
812 [
813  object,
814  uuid(5C9D486B-EE01-4C6E-8585-68E392CA4A16),
815  dual,
816  nonextensible,
817  helpstring("IEwProjectReportX Interface"),
818  pointer_default(unique)
819 ]
821 {
822 
831 
832 
833 
842  LONG getOrderNo (EwErrorCode* errorCode);
843 
844 
845 
853  EwErrorCode setOrderNo (LONG lOrderNo);
854 
855 
856 
864  BSTR getFilter (EwErrorCode* errorCode);
865 
866 
867 
876  EwErrorCode setFilter (BSTR strFilter);
877 
878 
879 
887  BSTR getReportFileName (EwErrorCode* errorCode);
888 
889 
890 
898  EwErrorCode setReportFileName (BSTR strReportFileName);
899 
900 
901 };
902 
907 [
908  object,
909  uuid(9795C977-F5E4-4FA5-B527-A28E6D58C1BA),
910  dual,
911  nonextensible,
912  helpstring("IEwProjectReportManagerX Interface"),
913  pointer_default(unique)
914 ]
915 interface IEwProjectReportManagerX : IDispatch
916 {
917 
924  LONG getCount (EwErrorCode* errorCode);
925 
926 
935 
936 
945  IEwProjectReportX at (int iIndex, EwErrorCode* errorCode);
946 
947 
948 
958  IEwProjectReportX find (BSTR strFileName, BSTR strFilterName, EwErrorCode* errorCode);
959 
960 
971 
972 };
973 
978 [
979  object,
980  uuid(877D3846-16D9-4730-9FFB-1A396B873DE1),
981  dual,
982  nonextensible,
983  pointer_default(unique)
984 ]
985 interface IEwProjectExportReportX : IDispatch
986 {
987 
995  VARIANT_BOOL getAddCreatedFileToProject (EwErrorCode* errorCode);
996 
997 
1005  EwErrorCode setAddCreatedFileToProject (VARIANT_BOOL bAddCreatedFileToProject);
1006 
1007 
1015  BSTR getTargetFolder (EwErrorCode* errorCode);
1016 
1017 
1026  EwErrorCode setTargetFolder (BSTR strFolderPath);
1027 
1028 
1036  LONG getBookOrFolderId (EwErrorCode* errorCode);
1037 
1038 
1048  EwErrorCode setBookOrFolderId (long lBookOrFolderId);
1049 
1050 
1058  VARIANT_BOOL getExportAllReports (EwErrorCode* errorCode);
1059 
1060 
1068  EwErrorCode setExportAllReports (VARIANT_BOOL bExportAllReports);
1069 
1070 
1078  VARIANT_BOOL getOpenFile (EwErrorCode* errorCode);
1079 
1080 
1088  EwErrorCode setOpenFile (VARIANT_BOOL bOpenFile);
1089 
1090 
1100 
1101 
1113  EwErrorCode setEwProjectReportIDArray (VARIANT ewProjectReportIDArray);
1114 
1115 
1129 
1130 
1139  VARIANT_BOOL getIncludeColumnHeader (EwErrorCode* errorCode);
1140 
1141 
1150  EwErrorCode setIncludeColumnHeader (VARIANT_BOOL bIncludeColumnHeader);
1151 
1152 
1162 
1163 
1173 
1174 
1184 
1185 
1195 
1196 
1208 
1209 
1220 
1221 
1235 
1236 
1245  VARIANT_BOOL getOneSheetByBreak (EwErrorCode* errorCode);
1246 
1247 
1256  EwErrorCode setOneSheetByBreak (VARIANT_BOOL bOneSheetByBreak);
1257 
1258 
1272 
1273 
1284 
1285 
1298 
1299 
1300 };
1301 
1302 
1307 [
1308  object,
1309  uuid(E070B6E8-63CC-4C26-B96D-A048122CC774),
1310  dual,
1311  nonextensible,
1312  pointer_default(unique)
1313 ]
1314 interface IEwProjectGenerateTSDrawingX : IDispatch
1315 {
1316 
1327  long getDestinationBookOrFolderID (long lEwProjectComponentID, EwErrorCode* errorCode);
1328 
1329 
1342  EwErrorCode setDestinationBookOrFolderID (long lEwProjectComponentID, long lEwBookOrFolderID);
1343 
1344 
1353 
1354 
1364 
1365 
1375 
1376 
1377 };
1378 
Use this interface to manage the report used inside the project.
Definition: EwProjectExportObjects.idl:821
EwErrorCode setPrintStyleSheetName(BSTR strPrintStyleSheetName)
Update the style sheet name with a new name.
EwErrorCode setPrintScaleType(BSTR strPrintScaleType)
Update the scale type with a new name.
VARIANT_BOOL getExportAllReports(EwErrorCode *errorCode)
Indicate if all reports of the project must be exported.
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.
IEwProjectPrintConfigX findProjectPrintConfigByID(LONG lId, EwErrorCode *errorCode)
Get the print configuration from ID, for associated project.
EwErrorCode setExportToPDFFileName(BSTR strExportToPDFFilePath)
Set the export to PDF file path.
EwErrorCode print()
Print project.
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.
Use this interface to manage the export reports used inside the project.
Definition: EwProjectExportObjects.idl:986
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:648
LONG getCount(EwErrorCode *errorCode)
Return the number of reports of associated project.
EwErrorCode setExportOnePDFFileByBook(VARIANT_BOOL bExportOnePDFFileByBook)
Update with true to export one pdf file by book.
BSTR getExportDirectory(EwErrorCode *errorCode)
Return the export directory path.
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:916
IEwProjectPrintConfigX duplicateEwProjectPrintConfig(LONG lId, EwErrorCode *errorCode)
Create an IEwProjectPrintConfigX object with an existant IEwProjectPrintConfigX object from the assoc...
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:513
EwErrorCode setEwProjectDataExportType(EwProjectDataExportType eProjectDataExportType)
Update the type of report to export.
EwTextIdentifer
Text identifier options.
Definition: EnumDefinition.idl:156
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.
EwErrorCode setEwTextIdentifer(EwTextIdentifer ewTextIdentifier)
Update the text identifier for text export of reports.
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.
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.
IEwProjectReportX findProjectPrintReportByID(LONG lId, EwErrorCode *pErrorCode)
Find a report from his ID.
EwErrorCode setEwProjectReportIDArray(VARIANT ewProjectReportIDArray)
Set array of ID of EwProjectReport objects.
EwTSDrawingOption
Define behavior when updating terminal strip drawings.
Definition: EwEnumeration.idl:727
EwErrorCode setOutputFolderPath(BSTR strOutputFolderPath)
Set the output folder path where all files will be exported.
EwFileExtension
All file types extension.
Definition: EwEnumeration.idl:510
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 setPrintSelectionFiles(VARIANT aFolioArray)
Set the files to print with the files ID specify in the input array.
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.
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:168
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.
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.
EwErrorCode setExportToPDFFiles(VARIANT_BOOL bExportToPDFFiles)
Set this option to true to export to a pdf file.
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 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 setTargetFolder(BSTR strFolderPath)
Update the exported target folder path.
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 exportDwg(EwDwgFileExport ewExportType)
Export previously selected files.
EwErrorCode doXMLExport()
Export reports in XML type.
EwErrorCode setExportAllReports(VARIANT_BOOL bExportAllReports)
Set this flag to true to export all reports of the project.
Use this interface to manage the generation of terminal strip drawing inside the project.
Definition: EwProjectExportObjects.idl:1315
VARIANT getSheetStylesArray(EwErrorCode *errorCode)
Return an array of string of all available plot style tables.
EwErrorCode setEwTextSeparator(EwTextSeparator ewTextSeparator)
Update the text separator for text export of reports.
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.
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...
EwErrorCode setExportToPDFBookmarkAndHyperlink(VARIANT_BOOL bExportToPDFBookmarkAndHyperlink)
Update with true to export pdf bookmark and hyperlink.
VARIANT_BOOL getExportToPDFFiles(EwErrorCode *errorCode)
Return true to export to pdf files.
EwErrorCode setEwPageOrientation(EwPageOrientation ewPageOrientation)
Update the page orientation.
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:456
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.
IEwProjectReportX at(int iIndex, EwErrorCode *errorCode)
Return an IEwProjectReportX object from the associated project.
VARIANT_BOOL getExportToPDFBookmarkAndHyperlink(EwErrorCode *errorCode)
Return true to export pdf bookmark and hyperlink.
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:446
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.
VARIANT getPrintSelectionFiles(EwErrorCode *errorCode)
Return the files to print in an array This parameter is used if "all project files" option is set to ...
EwErrorCode setReportFileName(BSTR strReportFileName)
Update the ReportFileName name of the report used inside the project.
BSTR getPrintScaleType(EwErrorCode *errorCode)
Get the scale type of the config print.
BSTR getTargetFolder(EwErrorCode *errorCode)
Return the exported target folder path.
EwErrorCode exportToPDM()
Run the command "Export to PDM" using the default configuration file or the one defined in setPDMConf...
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:472
BSTR getPaperFormat(EwErrorCode *errorCode)
Get the paper format of the config print.
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.
VARIANT_BOOL getExportOnePDFFileByBook(EwErrorCode *errorCode)
Return true to export one pdf file by book.
Use this interface to manage the command "Export to PDM".
Definition: EwProjectExportObjects.idl:752
EwErrorCode setAddCreatedFileToProject(VARIANT_BOOL bAddCreatedFileToProject)
Set this value to true to add exported files to the project.
BSTR getExportToPDFFileName(EwErrorCode *errorCode)
Get the export to PDF file path.
EwErrorCode setEwFileExtension(EwFileExtension ewExtension)
Update the report type file extension.


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