Hide Table of Contents
SOLIDWORKS Electrical API 2024.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
7import "oaidl.idl";
8import "ocidl.idl";
9
10import "EnumDefinition.idl";
11import "EwObjectBaseObjects.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{
39
40
51
52
62 VARIANT getEwProjectWireArray (EwErrorCode* errorCode);
63
64
74 VARIANT getEwProjectCableArray (EwErrorCode* errorCode);
75
76
86 VARIANT getAllObject (EwErrorCode* errorCode);
87
88
98
99
110 EwErrorCode removeObject (VARIANT vArray);
111
112
113};
114
119[
120 object,
121 uuid(0AED850B-7237-4C44-8CC1-C6E5F09E5382),
122 dual,
123 oleautomation,
124 nonextensible,
125 helpstring("IEwProjectHarnessManagerX Interface"),
126 pointer_default(unique)
127]
128interface IEwProjectHarnessManagerX : IDispatch
129{
130
135 LONG getCount ();
136
137
143
144
155
156
165
166
178
179
188 VARIANT selectHarnesses (EwErrorCode* errorCode);
189
190};
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
Use this interface to manage the Harness objects inside a project.
Definition: EwProjectHarnessObjects.idl:129
IEwProjectHarnessX newEwProjectHarness()
Create a IEwProjectHarnessX object from the associated project.
VARIANT getEwProjectHarnessArray(EwErrorCode *errorCode)
Return an array of IEwProjectHarnessX.
LONG getCount()
Return the number of harnesses of associated current project.
IEwProjectHarnessX getEwProjectHarnessAt(LONG iHarness, EwErrorCode *errorCode)
Return the harness at index iHarness of the array.
IEwProjectHarnessX findEwProjectHarnessByID(LONG lID, EwErrorCode *errorCode)
Find an IEwProjectHarnessX interface object from this ID.
VARIANT selectHarnesses(EwErrorCode *errorCode)
Invoke harness selection dialog allowing to select one or more harnesses.
Use this interface to manage the Harness inside a project.
Definition: EwProjectHarnessObjects.idl:27
EwErrorCode removeAllObject()
Remove all objects from the harness.
EwErrorCode removeObject(VARIANT vArray)
Remove list of object ids from current harness.
VARIANT getEwProjectComponentManufacturerPartArray(EwErrorCode *errorCode)
Get the manufacturer part object interfaces of the components added to the Harness (IEwProjectManufac...
VARIANT getEwProjectManufacturerPartArray(EwErrorCode *errorCode)
Get the manufacturer part object interfaces of the current Harness (IEwProjectManufacturerPartX).
VARIANT getEwProjectCableArray(EwErrorCode *errorCode)
Get all the cable object interfaces of the current Harness, IEwProjectCableX.
VARIANT getEwProjectWireArray(EwErrorCode *errorCode)
Get all the wire object interfaces of the current Harness (IEwProjectWireX).
VARIANT getAllObject(EwErrorCode *errorCode)
Get an array of IDs containing all the objects which belong to the harness.
Generic interface for an object that belongs to a project.
Definition: EwObjectBaseObjects.idl:118


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