Hide Table of Contents
SOLIDWORKS Electrical API  2021.0.0
Electrical API
EwProjectInputOutputObjects.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 
8 import "oaidl.idl";
9 import "ocidl.idl";
10 
11 import "EnumDefinition.idl";
12 import "EwObjectBase.idl";
13 
14 
19 [
20  object,
21  uuid(a8cdce68-0400-4472-a6c9-47e3b3c6f49e),
22  dual,
23  nonextensible,
24  pointer_default(unique)
25 ]
27 {
28 
38  EwErrorCode setUserData (LONG nUserDataNumber, BSTR strValue);
39 
40 
50  BSTR getUserData (LONG nUserDataNumber, EwErrorCode* errorCode);
51 
52 
64  EwErrorCode setTranslatedData (LONG nUserDataNumber, BSTR strLanguage, BSTR strValue);
65 
66 
78  BSTR getTranslatedData (LONG nUserDataNumber, BSTR strLanguage, EwErrorCode* errorCode);
79 
80 
89  long getFunctionID (EwErrorCode* errorCode);
90 
91 
101  EwErrorCode setFunctionID (LONG lEwProjectFunctionID);
102 
103 
114 
115 
127 
128 
138  BSTR getKeyCode (EwErrorCode* errorCode);
139 
140 
157  EwErrorCode setKeyCode (BSTR strKey);
158 
159 
168  BSTR getMnemonic (EwErrorCode* errorCode);
169 
170 
179  EwErrorCode setMnemonic (BSTR strMnemonic);
180 
181 
190  BSTR getMacroName (EwErrorCode* errorCode);
191 
192 
201  EwErrorCode setMacroName (BSTR strMacroName);
202 
203 
212  BSTR getChannelAddress (EwErrorCode* errorCode);
213 
214 
215 };
216 
221 [
222  object,
223  uuid(3c2d4000-4e56-4ab2-bbbd-290db50869c3),
224  dual,
225  nonextensible,
226  pointer_default(unique)
227 ]
228 interface IEwProjectInputOutputManagerX : IDispatch
229 {
239 
240 
247 
248 
257 
258 };
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
BSTR getMnemonic(EwErrorCode *errorCode)
Return the Mnemonic.
Use this interface to manage input/output object inside a project.
Definition: EwProjectInputOutputObjects.idl:27
EwErrorCode setFunctionID(LONG lEwProjectFunctionID)
Set the Function ID for the Input/Output object.
long getFunctionID(EwErrorCode *errorCode)
Return the Function ID of the Input/Output object.
IEwProjectInputOutputX findEwProjectInputOutputByID(LONG lInputOutputID, EwErrorCode *errorCode)
Find a Input Output object in the project with the target ID.
BSTR getKeyCode(EwErrorCode *errorCode)
Return the Key for the cross reference.
Use this interface to manage IEwProjectInputOutputX objects.
Definition: EwProjectInputOutputObjects.idl:229
VARIANT getEwProjectInputOutputArray(EwErrorCode *errorCode)
Get all the Input Output objects in the project.
EwErrorCode setMnemonic(BSTR strMnemonic)
Sets the Mnemonic.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwErrorCode setKeyCode(BSTR strKey)
Sets the Key for the cross reference.
BSTR getMacroName(EwErrorCode *errorCode)
Return the name of the macro associated.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:26
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
BSTR getChannelAddress(EwErrorCode *errorCode)
Return the Channel Address.
long getProjectComponentCircuitID(EwErrorCode *errorCode)
Return the IEwProjectComponentCircuitX ID associated with the Input/Output object.
EwErrorCode setMacroName(BSTR strMacroName)
Sets the name of the macro associated.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
IEwProjectInputOutputX newEwProjectInputOutput(EwErrorCode *errorCode)
Create an interface for a new Input Output object in the current project.
EwErrorCode setProjectComponentCircuitID(long lID)
Sets the IEwProjectComponentCircuitX ID associated with the Input/Output 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/EwProjectInputOutputObjects.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) 2021 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.