Hide Table of Contents
SOLIDWORKS Electrical API 2023.0.0
Electrical API
EwObjectBaseObjects.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 "EwUtilDefinition.idl";
12
17[
18 object,
19 uuid(4BEFA3CF-0657-4F35-8D49-08187F228849),
20 dual,
21 nonextensible,
22 helpstring("IEwObjectDispatchX Interface entry point"),
23 pointer_default(unique)
24]
25interface IEwObjectDispatchX : IDispatch
26{
27
28
29};
30
35[
36 object,
37 uuid(3F803C11-84E4-4EDE-8FD9-65C88428E7CA),
38 dual,
39 nonextensible,
40 helpstring("IEwObjectBaseX Interface use for standard interface"),
41 pointer_default(unique)
42]
44{
58
59
68 EwErrorCode remove ();
69
70
79
80
81
82};
83
88[
89 object,
90 uuid(8AFB386E-A00F-49FC-B59F-CFAE939A7000),
91 dual,
92 nonextensible,
93 helpstring("IEwObjectX Interface use for standard object interface"),
94 pointer_default(unique)
95]
97{
101 LONG getID ();
102
103}
104
109[
110 object,
111 uuid(9D8ACD2A-AA11-4921-AE3C-1F35EF38DA2E),
112 dual,
113 nonextensible,
114 helpstring("IEwProjectTagObjectX Interface"),
115 pointer_default(unique)
116]
118{
128 EwErrorCode setUserData (LONG nUserDataNumber , BSTR strValue);
129
130
140 BSTR getUserData (LONG nUserDataNumber , EwErrorCode* errorCode);
141
142
154 EwErrorCode setTranslatedData (LONG nUserDataNumber , BSTR strLanguage, BSTR strValue);
155
156
168 BSTR getTranslatedData (LONG nUserDataNumber , BSTR strLanguage, EwErrorCode* errorCode);
169
170
178 BSTR getTag (EwErrorCode* errorCode);
179
180
191 EwErrorCode setTag (BSTR strValue);
192
193
201 BSTR getTagRoot (EwErrorCode* errorCode);
202
203
212 EwErrorCode setTagRoot (BSTR strValue);
213
214
223
224
234
235
243 long getTagNumber (EwErrorCode* errorCode);
244
245
256
257
266
267
275 VARIANT_BOOL isTagUnique (EwErrorCode* errorCode);
276
277
278};
279
284[
285 object,
286 uuid(79A98CB7-1882-4E3F-B57F-6BF49904A16C),
287 dual,
288 nonextensible,
289 helpstring("IEwEnvironmentObjectX Interface use for environment object interface"),
290 pointer_default(unique)
291]
293{
301 DATE getCreationDate (EwErrorCode* errorCode);
302
303
312
313
322
323
332 BSTR getModifiedBy (EwErrorCode* eErrorCode);
333
334
343 BSTR getCreatedBy (EwErrorCode* eErrorCode);
344
345
357 EwErrorCode setTranslatedData (LONG nUserDataNumber , BSTR strLanguage, BSTR strValue);
358
359
371 BSTR getTranslatedData (LONG nUserDataNumber , BSTR strLanguage, EwErrorCode* errorCode);
372
373};
374
375};
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwTagMode
All Mark mode type.
Definition: EwEnumeration.idl:798
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:267
This interface is a generic interface for environment object methods.
Definition: EwObjectBaseObjects.idl:293
DATE getCreationDate(EwErrorCode *errorCode)
Get the creation date of the current object.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
BSTR getModifiedBy(EwErrorCode *eErrorCode)
Get the last user name that modified the current object.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
DATE getModificationDate(EwErrorCode *errorCode)
Get the last modification date of the current object.
EwCreatorType getEwCreatorType(EwErrorCode *errorCode)
Get the creator of the current object.
BSTR getCreatedBy(EwErrorCode *eErrorCode)
Get the user name that created the current object.
This interface is a generic interface for standard methods.
Definition: EwObjectBaseObjects.idl:44
EwErrorCode insert()
Insert the object inside the current project.
EwErrorCode update()
Update the object inside the current project.
This interface is the first entry point for the Object.
Definition: EwObjectBaseObjects.idl:26
This interface is a generic interface for standard object methods.
Definition: EwObjectBaseObjects.idl:97
LONG getID()
Generic interface for an object that belongs to a project.
Definition: EwObjectBaseObjects.idl:118
EwErrorCode setTagMode(EwTagMode eTagMode)
Set the mark mode of this object.
BSTR getTag(EwErrorCode *errorCode)
Get the mark of this object.
long getTagNumber(EwErrorCode *errorCode)
Get the mark number of this object.
EwErrorCode setTagRoot(BSTR strValue)
Set the mark root of this object.
EwErrorCode setTag(BSTR strValue)
Set the mark of this object.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
VARIANT_BOOL isTagUnique(EwErrorCode *errorCode)
Returns true or false if mark is unique.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
EwErrorCode setNextTagNumber()
Set the next number to have a unique mark.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
EwTagMode getTagMode(EwErrorCode *errorCode)
Get the mark mode of this object.
EwErrorCode setTagNumber(long lValue)
Set the mark number of this object.
BSTR getTagRoot(EwErrorCode *errorCode)
Get the mark root of this 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/EwObjectBaseObjects.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) 2023 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.