Hide Table of Contents
SOLIDWORKS Electrical API  2020.0.5
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 
30 
31 
32 
41  EwErrorCode remove ();
42 
43 
44 
53 
54 
55 
59  LONG getID ();
60 
61 };
62 
67 [
68  object,
69  uuid(9D8ACD2A-AA11-4921-AE3C-1F35EF38DA2E),
70  dual,
71  nonextensible,
72  helpstring("IEwProjectTagObjectX Interface"),
73  pointer_default(unique)
74 ]
76 {
86  EwErrorCode setUserData (LONG nUserDataNumber , BSTR strValue);
87 
88 
98  BSTR getUserData (LONG nUserDataNumber , EwErrorCode* errorCode);
99 
100 
112  EwErrorCode setTranslatedData (LONG nUserDataNumber , BSTR strLanguage, BSTR strValue);
113 
114 
126  BSTR getTranslatedData (LONG nUserDataNumber , BSTR strLanguage, EwErrorCode* errorCode);
127 
128 
136  BSTR getTag (EwErrorCode* errorCode);
137 
138 
149  EwErrorCode setTag (BSTR strValue);
150 
151 
159  BSTR getTagRoot (EwErrorCode* errorCode);
160 
161 
170  EwErrorCode setTagRoot (BSTR strValue);
171 
172 
181 
182 
192 
193 
201  long getTagNumber (EwErrorCode* errorCode);
202 
203 
213  EwErrorCode setTagNumber (long lValue);
214 
215 
224 
225 
233  VARIANT_BOOL isTagUnique (EwErrorCode* errorCode);
234 
235 
236 };
EwErrorCode setTagMode(EwTagMode eValue)
Set the mark mode of this object.
Generic interface for an object that belongs to a project.
Definition: EwObjectBase.idl:76
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.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
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 getTagRoot(EwErrorCode *errorCode)
Get the mark root of this object.
EwErrorCode setNextTagNumber()
Set the next number to have a unique mark.
EwTagMode
All Mark mode type.
Definition: EwEnumeration.idl:739
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 getTagNumber(EwErrorCode *errorCode)
Get the mark number of this object.
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.
EwErrorCode update()
Update the object inside the current project.
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) 2020 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.