Hide Table of Contents
SOLIDWORKS Electrical API 2024.0.0
Electrical API
SampleInPython.idl
Go to the documentation of this file.
1
80str_file_path = ew_project_file.getFilePath();
81
82str_command = "EWOPEN " + str_file_path;
83
84ew_application.runcommand(str_command);
85
86
87\endcode
88
89
90\subsection InsertSymbolPython Insert a symbol in a project file
91\snippet Samples.py Python_insertSymbol
92
93
94\section useExportProjectPrecessFilePython Some Process and Export on Project
95
96\subsection ExportReportSamplePython Export report
97
98\subsubsection Python_doExportReportInExcel Export report in Excel
99\snippet Export.py Python_doExportReportInExcel
100
101\subsubsection Python_doExportSpecifiedReportInExcel Export specified report in Excel
102\snippet Export.py Python_doExportSpecifiedReportInExcel
103
104
105\subsection RunExcelAutomationPython Run Excel Automation
106
107\note
108 ew_projectX: project object previously created.
109
110\snippet Samples.py Python_RunExcelAutomationPython
111
112
113\subsection RenumberPython Renumber
114
115\note
116 ew_projectX: project object previously created.
117
118\subsubsection RenumberWiresPython Renumber the wires
119\snippet Samples.py Python_RenumberWiresPython
120
121\subsubsection OriginDestinationArrowAutomaticallySamplePython Add Origin-Destination Arrow Automatically
122\snippet Samples.py Python_doOriginDestinationArrowAutomatically
123
124\subsubsection RenumberMarksPython Renumber the components
125\snippet Samples.py Python_RenumberComponentsPython
126
127\subsection GenerateTerminalStripPython Generate terminal strip
128
129\note
130 ew_projectX: project object previously created.
131
132\snippet Samples.py Python_GenerateTerminalStrip
133
134
135*/


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: extra-doc-files/SampleInPython.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) 2024 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.