Hide Table of Contents
SOLIDWORKS Electrical API  2022.0.0
Electrical API
EwObjectBase.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 "EwUtilDefinition.idl";
12 
17 [
18  object,
19  uuid(3F803C11-84E4-4EDE-8FD9-65C88428E7CA),
20  dual,
21  nonextensible,
22  helpstring("IEwObjectBaseX Interface use for standard interface"),
23  pointer_default(unique)
24 ]
25 interface IEwObjectBaseX : IDispatch
26 {
27 
28 
29 
43 
44 
53  EwErrorCode remove ();
54 
55 
64 
65 
66 
67 };
68 
73 [
74  object,
75  uuid(8AFB386E-A00F-49FC-B59F-CFAE939A7000),
76  dual,
77  nonextensible,
78  helpstring("IEwObjectX Interface use for standard interface"),
79  pointer_default(unique)
80 ]
82 {
86  LONG getID ();
87 
88 }
89 
94 [
95  object,
96  uuid(9D8ACD2A-AA11-4921-AE3C-1F35EF38DA2E),
97  dual,
98  nonextensible,
99  helpstring("IEwProjectTagObjectX Interface"),
100  pointer_default(unique)
101 ]
103 {
113  EwErrorCode setUserData (LONG nUserDataNumber , BSTR strValue);
114 
115 
125  BSTR getUserData (LONG nUserDataNumber , EwErrorCode* errorCode);
126 
127 
139  EwErrorCode setTranslatedData (LONG nUserDataNumber , BSTR strLanguage, BSTR strValue);
140 
141 
153  BSTR getTranslatedData (LONG nUserDataNumber , BSTR strLanguage, EwErrorCode* errorCode);
154 
155 
163  BSTR getTag (EwErrorCode* errorCode);
164 
165 
176  EwErrorCode setTag (BSTR strValue);
177 
178 
186  BSTR getTagRoot (EwErrorCode* errorCode);
187 
188 
197  EwErrorCode setTagRoot (BSTR strValue);
198 
199 
208 
209 
219 
220 
228  long getTagNumber (EwErrorCode* errorCode);
229 
230 
240  EwErrorCode setTagNumber (long lValue);
241 
242 
251 
252 
260  VARIANT_BOOL isTagUnique (EwErrorCode* errorCode);
261 
262 
263 };
264 
269 [
270  object,
271  uuid(79A98CB7-1882-4E3F-B57F-6BF49904A16C),
272  dual,
273  nonextensible,
274  helpstring("IEwEnvironmentObjectX Interface use for environment object interface"),
275  pointer_default(unique)
276 ]
278 {
286  DATE getCreationDate (EwErrorCode* errorCode);
287 
288 
296  DATE getModificationDate (EwErrorCode* errorCode);
297 
298 
307 
308 
317  BSTR getModifiedBy (EwErrorCode* eErrorCode);
318 
319 
328  BSTR getCreatedBy (EwErrorCode* eErrorCode);
329 
330 
342  EwErrorCode setTranslatedData (LONG nUserDataNumber , BSTR strLanguage, BSTR strValue);
343 
344 
356  BSTR getTranslatedData (LONG nUserDataNumber , BSTR strLanguage, EwErrorCode* errorCode);
357 
358 };
Generic interface for an object that belongs to a project.
Definition: EwObjectBase.idl:103
EwCreatorType getEwCreatorType(EwErrorCode *errorCode)
Get the creator of the current object.
EwErrorCode setTagRoot(BSTR strValue)
Set the mark root of this object.
VARIANT_BOOL isTagUnique(EwErrorCode *errorCode)
Returns true or false if mark is unique.
BSTR getTag(EwErrorCode *errorCode)
Get the mark of this object.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:82
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
DATE getCreationDate(EwErrorCode *errorCode)
Get the creation date of the current object.
This interface is a generic interface for environment object methods.
Definition: EwObjectBase.idl:278
EwErrorCode setTagMode(EwTagMode eTagMode)
Set the mark mode of this object.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:26
EwTagMode getTagMode(EwErrorCode *errorCode)
Get the mark mode of this object.
BSTR getModifiedBy(EwErrorCode *eErrorCode)
Get the last user name that modified the current object.
BSTR getTagRoot(EwErrorCode *errorCode)
Get the mark root of this object.
EwErrorCode setNextTagNumber()
Set the next number to have a unique mark.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
EwTagMode
All Mark mode type.
Definition: EwEnumeration.idl:765
EwErrorCode setTag(BSTR strValue)
Set the mark of this object.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
LONG getID()
BSTR getCreatedBy(EwErrorCode *eErrorCode)
Get the user name that created the current object.
long getTagNumber(EwErrorCode *errorCode)
Get the mark number of this object.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
EwErrorCode insert()
Insert the object inside the current project.
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:260
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
EwErrorCode update()
Update the object inside the current project.
DATE getModificationDate(EwErrorCode *errorCode)
Get the last modification date of the current object.
EwErrorCode setTagNumber(long lValue)
Set the mark number 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/EwObjectBase.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.