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


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/SampleInC#.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.