Hide Table of Contents
SOLIDWORKS Electrical API  2022.0.0
Electrical API
EwClassificationObjects.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 "EwObjectBase.idl";
11 
16 [
17  object,
18  uuid(DAE1E577-A5CE-4E4C-9515-58C4CB548CFB),
19  dual,
20  nonextensible,
21  helpstring("IEwClassX Interface"),
22  pointer_default(unique)
23 ]
24 interface IEwClassX : IEwObjectX
25 {
36 
45  LONG getParentID (EwErrorCode* errorCode);
46 
47 
56  LONG getClassificationID (EwErrorCode* errorCode);
57 
58 
59 
68  LONG getClassID (EwErrorCode* errorCode);
69 
70 
84  EwErrorCode setTranslatedData (LONG nUserDataNumber , BSTR strLanguage, BSTR strValue);
85 
86 
99  BSTR getTranslatedData (LONG nUserDataNumber , BSTR strLanguage, EwErrorCode* errorCode);
100 
101 
102 
111  EwErrorCode set3DPartName (BSTR str3DPartName);
112 
113 
122  BSTR get3DPartName (EwErrorCode* errorCode);
123 
124 
134  EwErrorCode set2DFootprintSymbolName (BSTR str2DFootprintSymbolName);
135 
136 
146 
147 
156  EwErrorCode set2DConnectionLabelSymbolName (BSTR str2DConnectionLabelSymbolName);
157 
158 
168 
169 
178  DATE getModificationDate (EwErrorCode* errorCode);
179 
180 
189  DATE getCreationDate (EwErrorCode* errorCode);
190 
191 
201 
202 
211  BSTR getModifiedBy (EwErrorCode* errorCode);
212 
213 
222  EwErrorCode setUserDataFile (BSTR strDataFileName);
223 
224 
233  BSTR getUserDataFile (EwErrorCode* errorCode);
234 
235 
246 
247 
257 
258 
268 
269 };
270 
LONG getParentID(EwErrorCode *errorCode)
Return the ID of the parent of the class.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:82
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwErrorCode set3DPartName(BSTR str3DPartName)
Set the default 3D part to use when inserting a 3D part.
BSTR get2DFootprintSymbolName(EwErrorCode *errorCode)
Get the default 2D footprint symbol used if none is associated to a manufacturer part.
DATE getCreationDate(EwErrorCode *errorCode)
Get creation date of current node in classification.
EwClassificationType
Classification for components, symbols and manufacturer parts Enum Change due to TEW-49235 kComponent...
Definition: EwEnumeration.idl:559
EwClassComponentType
All the class component types.
Definition: EwEnumeration.idl:1064
EwCreatorType getEwCreatorType(EwErrorCode *errorCode)
Get the EwCreator enumeration type.
Use this interface to manage an EwClassX object.
Definition: EwClassificationObjects.idl:25
BSTR get3DPartName(EwErrorCode *errorCode)
Get the default 3D part used if none is associated to a manufacturer part.
DATE getModificationDate(EwErrorCode *errorCode)
Get modification date of current node in classification.
BSTR getUserDataFile(EwErrorCode *errorCode)
Get User Data File of node.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
EwErrorCode set2DFootprintSymbolName(BSTR str2DFootprintSymbolName)
Set the default 2D footprint symbol to use if none is associated to a manufacturer part.
EwErrorCode set2DConnectionLabelSymbolName(BSTR str2DConnectionLabelSymbolName)
Set the default connection label symbol to use when inserting a connection label.
EwErrorCode setParentID(LONG lID)
Set the value of parent ID.
BSTR getModifiedBy(EwErrorCode *errorCode)
Get modified by of node.
BSTR get2DConnectionLabelSymbolName(EwErrorCode *errorCode)
Get the default connection label symbol used if none is associated to a manufacturer part.
EwClassComponentType getComponentType(EwErrorCode *errorCode)
Get Component Type of current node in classification.
EwErrorCode setUserDataFile(BSTR strDataFileName)
Set User Data File of node.
EwErrorCode setClassID(EwClassificationType ewClassificationType)
Set class id of current node in classification.
LONG getClassificationID(EwErrorCode *errorCode)
Return classification ID.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:260
LONG getClassID(EwErrorCode *errorCode)
Return the class node Id, unique within the classification.
EwErrorCode setComponentType(EwClassComponentType ewClassComponentType)
Set Component Type of current node in classification.


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/EwClassificationObjects.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.