Hide Table of Contents
SOLIDWORKS Electrical API  2021.0.0
Electrical API
EwProjectHarnessObjects.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 "EnumDefinition.idl";
11 import "EwObjectBase.idl";
12 
17 [
18  object,
19  uuid(43C3ED22-88B2-4CC3-BB96-FE39AB0DB3DA),
20  dual,
21  oleautomation,
22  nonextensible,
23  helpstring("IEwProjectHarnessX Interface"),
24  pointer_default(unique)
25 ]
27 {
38 
39 
50 
51 
61  VARIANT getEwProjectWireArray (EwErrorCode* errorCode);
62 
63 
73  VARIANT getEwProjectCableArray (EwErrorCode* errorCode);
74 
75 
85  VARIANT getAllObject (EwErrorCode* errorCode);
86 
87 
97 
98 
109  EwErrorCode removeObject (VARIANT vArray);
110 
111 
112 };
113 
118 [
119  object,
120  uuid(0AED850B-7237-4C44-8CC1-C6E5F09E5382),
121  dual,
122  oleautomation,
123  nonextensible,
124  helpstring("IEwProjectHarnessManagerX Interface"),
125  pointer_default(unique)
126 ]
127 interface IEwProjectHarnessManagerX : IDispatch
128 {
129 
134  LONG getCount ();
135 
136 
142 
143 
154 
155 
163  VARIANT getEwProjectHarnessArray (EwErrorCode* errorCode);
164 
165 
177 
178 
187  VARIANT selectHarnesses (EwErrorCode* errorCode);
188 
189 };
Use this interface to manage the Harness inside a project.
Definition: EwProjectHarnessObjects.idl:27
Generic interface for an object that belongs to a project.
Definition: EwObjectBase.idl:76
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
VARIANT getEwProjectWireArray(EwErrorCode *errorCode)
Get all the wire object interfaces of the current Harness (IEwProjectWireX).
Use this interface to manage the Harness objects inside a project.
Definition: EwProjectHarnessObjects.idl:128
VARIANT getEwProjectManufacturerPartArray(EwErrorCode *errorCode)
Get the manufacturer part object interfaces of the current Harness (IEwProjectManufacturerPartX).
EwErrorCode removeObject(VARIANT vArray)
Remove list of object ids from current harness.
EwErrorCode removeAllObject()
Remove all objects from the harness.
VARIANT getEwProjectComponentManufacturerPartArray(EwErrorCode *errorCode)
Get the manufacturer part object interfaces of the components added to the Harness (IEwProjectManufac...
IEwProjectHarnessX findEwProjectHarnessByID(LONG lID, EwErrorCode *errorCode)
Find an IEwProjectHarnessX interface object from this ID.
IEwProjectHarnessX newEwProjectHarness()
Create a IEwProjectHarnessX object from the associated project.
VARIANT selectHarnesses(EwErrorCode *errorCode)
Invoke harness selection dialog allowing to select one or more harnesses.
LONG getCount()
Return the number of harnesses of associated current project.
VARIANT getAllObject(EwErrorCode *errorCode)
Get an array of IDs containing all the objects which belong to the harness.
VARIANT getEwProjectCableArray(EwErrorCode *errorCode)
Get all the cable object interfaces of the current Harness, IEwProjectCableX.
VARIANT getEwProjectHarnessArray(EwErrorCode *errorCode)
Return an array of IEwProjectHarnessX.
IEwProjectHarnessX getEwProjectHarnessAt(LONG iHarness, EwErrorCode *errorCode)
Return the harness at index iHarness of the array.


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/EwProjectHarnessObjects.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.