Hide Table of Contents
SOLIDWORKS Electrical API 2024.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
179 BSTR getTag (EwErrorCode* errorCode);
180
181
192 EwErrorCode setTag (BSTR strValue);
193
194
202 BSTR getTagRoot (EwErrorCode* errorCode);
203
204
213 EwErrorCode setTagRoot (BSTR strValue);
214
215
224
225
235
236
244 long getTagNumber (EwErrorCode* errorCode);
245
246
257
258
267
268
276 VARIANT_BOOL isTagUnique (EwErrorCode* errorCode);
277
278
291
292};
293
298[
299 object,
300 uuid(79A98CB7-1882-4E3F-B57F-6BF49904A16C),
301 dual,
302 nonextensible,
303 helpstring("IEwEnvironmentObjectX Interface use for environment object interface"),
304 pointer_default(unique)
305]
307{
315 DATE getCreationDate (EwErrorCode* errorCode);
316
317
326
327
336
337
346 BSTR getModifiedBy (EwErrorCode* eErrorCode);
347
348
357 BSTR getCreatedBy (EwErrorCode* eErrorCode);
358
359
371 EwErrorCode setTranslatedData (LONG nUserDataNumber , BSTR strLanguage, BSTR strValue);
372
373
385 BSTR getTranslatedData (LONG nUserDataNumber , BSTR strLanguage, EwErrorCode* errorCode);
386
387};
388
389};
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
EwTagMode
All Mark mode type.
Definition: EwEnumeration.idl:803
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:271
This interface is a generic interface for environment object methods.
Definition: EwObjectBaseObjects.idl:307
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.
IEwObjectX duplicate(EwErrorCode *errorCode)
Duplicate current project 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) 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.