Hide Table of Contents
SOLIDWORKS Electrical API  2022.0.0
Electrical API
EwTerminalObjects.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 
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 
79 
80 };
81 
82 
87 [
88  object,
89  uuid(8f531e80-2575-4584-833c-5ae028451d51),
90  dual,
91  nonextensible,
92  helpstring("IEwTerminationTypeManagerX Interface"),
93  pointer_default(unique)
94 ]
95 interface IEwWireTerminationTypeManagerX : IDispatch
96 {
102 
103 
107  LONG getCount ();
108 
109 
114 
115 
120 
121 
132  IEwWireTerminationTypeX at (int iIndex, EwErrorCode* errorCode);
133 
134 
147 
148 
149 };
150 
151 
156 [
157  object,
158  uuid(1A55A91D-8637-4DA4-A0D3-A8430444497E),
159  dual,
160  nonextensible,
161  helpstring("IEwTerminalTypeX Interface"),
162  pointer_default(unique)
163 ]
165 {
169  LONG getID ();
170 
171 
179  BSTR getName (EwErrorCode* errorCode);
180 
181 
190  EwErrorCode setName (BSTR strName);
191 
192 
200  BSTR getBlockName (EwErrorCode* errorCode);
201 
202 
211  EwErrorCode setBlockName (BSTR strBlockName);
212 
213 
214 };
215 
220 [
221  object,
222  uuid(4D3DB69E-0E4B-4FAA-8B75-005BE28E9829),
223  dual,
224  nonextensible,
225  helpstring("IEwTerminalTypeManagerX Interface"),
226  pointer_default(unique)
227 ]
228 interface IEwTerminalTypeManagerX : IDispatch
229 {
235 
236 
240  LONG getCount ();
241 
242 
246  VARIANT getEwTerminalTypeArray (EwErrorCode* errorCode);
247 
248 
252  VARIANT getEwTerminalTypeIDArray (EwErrorCode* errorCode);
253 
254 
265  IEwTerminalTypeX at (int iIndex, EwErrorCode* errorCode);
266 
267 
280 
281 
282 };
EwErrorCode setBlockName(BSTR strBlockName)
Set the block name of the current object.
IEwWireTerminationTypeX at(int iIndex, EwErrorCode *errorCode)
Return an IEwWireTerminationTypeX at a given position from the associated environment.
Use this interface to manage terminal strip Type.
Definition: EwTerminalObjects.idl:229
VARIANT getEwTerminalTypeIDArray(EwErrorCode *errorCode)
return the ID array of IEwTerminalTypeX of associated environment
Use this interface to manage a definition of a termination Type.
Definition: EwTerminalObjects.idl:30
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
BSTR getBlockName(EwErrorCode *errorCode)
Get the block name of the current object.
IEwTerminalTypeX at(int iIndex, EwErrorCode *errorCode)
Return an IEwTerminalTypeX at a given position from the associated environment.
This interface is a generic interface for environment object methods.
Definition: EwObjectBase.idl:278
VARIANT getEwWireTerminationTypeArray(EwErrorCode *errorCode)
return the array of IEwWireTerminationTypeX of associated environment
BSTR getName(EwErrorCode *errorCode)
Get the name of the current object.
VARIANT getEwTerminalTypeArray(EwErrorCode *errorCode)
return the array of IEwTerminalTypeX of associated environment
Use this interface to manage termination Type.
Definition: EwTerminalObjects.idl:96
IEwWireTerminationTypeX findEwWireTerminationTypeXByID(long lID, EwErrorCode *errorCode)
Find an IEwWireTerminationTypeX by ID.
EwErrorCode setName(BSTR strName)
Set the name of the current object.
Use this interface to manage an IEwTerminalTypeX object.
Definition: EwTerminalObjects.idl:165
EwErrorCode setBlockName(BSTR strBlockName)
Set the block name of the current object.
IEwWireTerminationTypeX newEwWireTerminationType()
Create a IEwWireTerminationTypeX object from the associated environnement.
IEwTerminalTypeX newEwTerminalType()
Create a IEwTerminalTypeX object from the associated environnement.
BSTR getBlockName(EwErrorCode *errorCode)
Get the block name of the current object.
VARIANT getEwWireTerminationTypeIDArray(EwErrorCode *errorCode)
return the ID array of IEwWireTerminationTypeX of associated environment
EwErrorCode setName(BSTR strName)
Set the name of the current object.
BSTR getName(EwErrorCode *errorCode)
Get the name of the current object.
IEwTerminalTypeX findEwTerminalTypeXByID(long lID, EwErrorCode *errorCode)
Find an IEwTerminalTypeX by ID.


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