Hide Table of Contents
SOLIDWORKS Electrical API  2022.0.0
Electrical API
Sample.idl
Go to the documentation of this file.
1 
64 string strFilePath = ewProjectFile.getFilePath();
65 
66 string strCommand = "EWOPEN ";
67 strCommand += strFilePath;
68 
69 mEwApplicationX.runcommand(strCommand);
70 
71 
72 \endcode
73 
74 
75 \subsection GetDescriptionFileProject Get the project file description
76 \snippet Samples.cs Cs_descriptionFileProject
77 
78 \subsection InsertSymbol Insert a symbol in a project file
79 \snippet Samples.cs Cs_insertSymbol
80 
81 
82 \section useClassification Use classification
83 
84 \subsection ClassificationGetClassName Get a class name
85 \snippet Samples.cs Cs_ClassificationGetClassName
86 
87 \subsection ClassificationGetClassNameByComponent Get a class name from a component
88 \snippet Samples.cs Cs_ClassificationGetClassNameByComponent
89 
90 
91 \section ExportReportSample Export report
92 \subsection ExportReportInXLSSample Export report in Excel
93 \snippet Export.cs Cs_doExportReportInExcel
94 \subsection ExportSpecifiedReportInXLSSample Export specified report in Excel
95 \snippet Export.cs Cs_doExportSpecifiedReportInExcel
96 
97 \section RenumberWireSample Renumber Wire
98 \subsection RenumberWireManuallySample Renumber Wire Manually
99 \snippet RenumberWire.cs Cs_doRenumberWireManually
100 \subsection RenumberWireAutomaticSample Renumber Wire
101 \snippet RenumberWire.cs Cs_doRenumberWireAutomatic
102 
103 \section OriginDestinationArrowSample Add Origin-Destination Arrow
104 \subsection OriginDestinationArrowManuallySample Add Origin-Destination Arrow Manually
105 \snippet OriginDestinationArrow.cs Cs_doOriginDestinationArrowManually
106 
107 \subsection OriginDestinationArrowAutomaticallySample Add Origin-Destination Arrow Automatically
108 \snippet OriginDestinationArrow.cs Cs_doOriginDestinationArrowAutomatically
109 
110 \section ApplicationSample Some samples with the application
111 
112 
113 \subsection CollectInformation Collect information on electrical application
114 \snippet Samples.cs Cs_collectInformation
115 
116 
117 
118 */


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/Sample.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) 2022 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.