Hide Table of Contents
SOLIDWORKS Electrical API 2025.0.0
Electrical API
EwTerminalObjects.idl
Go to the documentation of this file.
1#pragma once
2
3#if (__midl >= 501)
4midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */
5#endif
6
7import "oaidl.idl";
8import "ocidl.idl";
9
10import "EwObjectBaseObjects.idl";
11
12/************************************************************************/
13/* In his file, all TERMINAL TYPE object */
14/************************************************************************/
15
20[
21 object,
22 uuid(B5F0BCC0-02B8-4CF3-9563-B77735573C68),
23 dual,
24 oleautomation,
25 nonextensible,
26 helpstring("IEwWireTerminationTypeX Interface"),
27 pointer_default(unique)
28]
30{
34 LONG getID ();
35
36
44 BSTR getName (EwErrorCode* errorCode);
45
46
55 EwErrorCode setName (BSTR strName);
56
57
65 BSTR getBlockName (EwErrorCode* errorCode);
66
67
76 EwErrorCode setBlockName (BSTR strBlockName);
77
78
90 EwErrorCode setUserData (LONG nUserDataNumber, BSTR strValue);
91
92
104 BSTR getUserData (LONG nUserDataNumber, EwErrorCode* errorCode);
105
106};
107
108
113[
114 object,
115 uuid(8f531e80-2575-4584-833c-5ae028451d51),
116 dual,
117 nonextensible,
118 helpstring("IEwTerminationTypeManagerX Interface"),
119 pointer_default(unique)
120]
122{
128
129
133 LONG getCount ();
134
135
140
141
146
147
157 IEwWireTerminationTypeX at (int iIndex, EwErrorCode* errorCode);
158
159
172
173
186
187
188};
189
190
195[
196 object,
197 uuid(1A55A91D-8637-4DA4-A0D3-A8430444497E),
198 dual,
199 nonextensible,
200 helpstring("IEwTerminalTypeX Interface"),
201 pointer_default(unique)
202]
204{
208 LONG getID ();
209
210
218 BSTR getName (EwErrorCode* errorCode);
219
220
229 EwErrorCode setName (BSTR strName);
230
231
239 BSTR getBlockName (EwErrorCode* errorCode);
240
241
250 EwErrorCode setBlockName (BSTR strBlockName);
251
252
265 BSTR getDescription (BSTR strLanguage, EwErrorCode* errorCode);
266
267
282 EwErrorCode setDescription (BSTR strLanguage, BSTR strDescription);
283
284};
285
290[
291 object,
292 uuid(4D3DB69E-0E4B-4FAA-8B75-005BE28E9829),
293 dual,
294 nonextensible,
295 helpstring("IEwTerminalTypeManagerX Interface"),
296 pointer_default(unique)
297]
298interface IEwTerminalTypeManagerX : IDispatch
299{
305
306
310 LONG getCount ();
311
312
317
318
323
324
334 IEwTerminalTypeX at (int iIndex, EwErrorCode* errorCode);
335
336
349
350
363
364
365};
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
This interface is a generic interface for environment object methods.
Definition: EwObjectBaseObjects.idl:339
Use this interface to manage terminal strip Type.
Definition: EwTerminalObjects.idl:299
IEwTerminalTypeX newEwTerminalType()
Create a IEwTerminalTypeX object from the associated environnement.
VARIANT getEwTerminalTypeArray(EwErrorCode *errorCode)
return the array of IEwTerminalTypeX of associated environment
VARIANT getEwTerminalTypeIDArray(EwErrorCode *errorCode)
return the ID array of IEwTerminalTypeX of associated environment
IEwTerminalTypeX findEwTerminalTypeXByID(long lID, EwErrorCode *errorCode)
Find an IEwTerminalTypeX by ID.
IEwTerminalTypeX findEwTerminalTypeXByName(BSTR strName, EwErrorCode *errorCode)
Find an IEwTerminalTypeX by Name.
IEwTerminalTypeX at(int iIndex, EwErrorCode *errorCode)
Return an IEwTerminalTypeX at a given position from the associated environment.
Use this interface to manage an IEwTerminalTypeX object.
Definition: EwTerminalObjects.idl:204
BSTR getBlockName(EwErrorCode *errorCode)
Get the block name of the current object.
EwErrorCode setDescription(BSTR strLanguage, BSTR strDescription)
Set the description associated to the object.
EwErrorCode setBlockName(BSTR strBlockName)
Set the block name of the current object.
BSTR getDescription(BSTR strLanguage, EwErrorCode *errorCode)
Get the description associated to the object.
BSTR getName(EwErrorCode *errorCode)
Get the name of the current object.
EwErrorCode setName(BSTR strName)
Set the name of the current object.
Use this interface to manage termination Type.
Definition: EwTerminalObjects.idl:122
IEwWireTerminationTypeX newEwWireTerminationType()
Create a IEwWireTerminationTypeX object from the associated environnement.
IEwWireTerminationTypeX findEwWireTerminationTypeXByID(long lID, EwErrorCode *errorCode)
Find an IEwWireTerminationTypeX by ID.
VARIANT getEwWireTerminationTypeIDArray(EwErrorCode *errorCode)
return the ID array of IEwWireTerminationTypeX of associated environment
IEwWireTerminationTypeX findEwWireTerminationTypeXByName(BSTR strName, EwErrorCode *errorCode)
Find an IEwWireTerminationTypeX by name.
VARIANT getEwWireTerminationTypeArray(EwErrorCode *errorCode)
return the array of IEwWireTerminationTypeX of associated environment
IEwWireTerminationTypeX at(int iIndex, EwErrorCode *errorCode)
Return an IEwWireTerminationTypeX at a given position from the associated environment.
Use this interface to manage a definition of a termination Type.
Definition: EwTerminalObjects.idl:30
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
EwErrorCode setName(BSTR strName)
Set the name of the current object.
EwErrorCode setBlockName(BSTR strBlockName)
Set the block name of the current object.
BSTR getBlockName(EwErrorCode *errorCode)
Get the block name of the current object.
BSTR getName(EwErrorCode *errorCode)
Get the name of the current object.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.


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/EwTerminalObjects.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) 2025 SP2

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.