Hide Table of Contents
SOLIDWORKS Electrical API  2022.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 
39  EwErrorCode setUserData (LONG nUserDataNumber, BSTR strValue);
40 
41 
52  BSTR getUserData (LONG nUserDataNumber, EwErrorCode* errorCode);
53 
54 
67  EwErrorCode setTranslatedData (LONG nUserDataNumber, BSTR strLanguage, BSTR strValue);
68 
69 
82  BSTR getTranslatedData (LONG nUserDataNumber, BSTR strLanguage, EwErrorCode* errorCode);
83 
84 
94  long getFunctionID (EwErrorCode* errorCode);
95 
96 
107  EwErrorCode setFunctionID (LONG lEwProjectFunctionID);
108 
109 
120 
121 
133 
134 
144  BSTR getKeyCode (EwErrorCode* errorCode);
145 
146 
163  EwErrorCode setKeyCode (BSTR strKey);
164 
165 
174  BSTR getMnemonic (EwErrorCode* errorCode);
175 
176 
185  EwErrorCode setMnemonic (BSTR strMnemonic);
186 
187 
196  BSTR getMacroName (EwErrorCode* errorCode);
197 
198 
207  EwErrorCode setMacroName (BSTR strMacroName);
208 
209 
218  BSTR getChannelAddress (EwErrorCode* errorCode);
219 
220 
221 };
222 
227 [
228  object,
229  uuid(3c2d4000-4e56-4ab2-bbbd-290db50869c3),
230  dual,
231  nonextensible,
232  pointer_default(unique)
233 ]
234 interface IEwProjectInputOutputManagerX : IDispatch
235 {
245 
246 
253 
254 
263 
264 };
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:235
VARIANT getEwProjectInputOutputArray(EwErrorCode *errorCode)
Get all the Input Output objects in the project.
EwErrorCode setMnemonic(BSTR strMnemonic)
Sets the Mnemonic.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:82
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.
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) 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.