Use this interface to manage an IEwClassificationX object.
More...
Use this interface to manage an IEwClassificationX object.
- Since
- 2021 SP0
◆ findEwClassByID()
Get EwClassX find by id in current classification.
- Since
- 2021 SP0
- Parameters
-
[in] | lClassId | the class ID to find. |
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- an EwClassX interface from an ID. NULL otherwise.
◆ get2DConnectionLabelSymbolName()
BSTR IEwClassificationX::get2DConnectionLabelSymbolName |
( |
EwErrorCode * |
errorCode | ) |
|
Get a classification 2D Connection Label SymbolName.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- str2DConnectionLabelSymbolName name of 2D Connection Label SymbolName
◆ get2DFootprintSymbolName()
BSTR IEwClassificationX::get2DFootprintSymbolName |
( |
EwErrorCode * |
errorCode | ) |
|
Get a classification 2D Footprint SymbolName.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- str2DFootprintSymbolName name of 2D Footprint
◆ get3DPartName()
BSTR IEwClassificationX::get3DPartName |
( |
EwErrorCode * |
errorCode | ) |
|
Get a classification 3d part name.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- str3DPartName name of 3d part
◆ getClassificationType()
Get classification's type.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- classification's type.
◆ getEwClassArray()
VARIANT IEwClassificationX::getEwClassArray |
( |
EwErrorCode * |
errorCode | ) |
|
Get the classification's class array.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- classification's class array.
◆ getEwClassCount()
LONG IEwClassificationX::getEwClassCount |
( |
EwErrorCode * |
errorCode | ) |
|
Get number of class in this classification.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- number of class.
◆ getID()
LONG IEwClassificationX::getID |
( |
EwErrorCode * |
errorCode | ) |
|
◆ getType()
Get an EwClassificationType enumeration type.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- EwClassificationType enumeration type, can be:
- kComponentType
- kCableReferenceType
- kMacroType
- kTitleBlockType
◆ moveClass()
EwErrorCode IEwClassificationX::moveClass |
( |
long |
lClassId, |
|
|
long |
lClassIdParent |
|
) |
| |
Move a class in the classification (change parent).
- Since
- 2021 SP0
- Parameters
-
[in] | lClassId | the ClassId id of class to move |
[in] | lClassIdParent | the lClassIdParent id of class to move |
- Returns
- EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_BAD_INPUTS if param is not valid.
- EW_UNDEFINED_ERROR if another error occurred.
◆ newEwClass()
Create a new node in electrical classification.
- Since
- 2021 SP0
- Parameters
-
[out] | errorCode | EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
|
- Returns
- new EwClassX.
◆ set2DConnectionLabelSymbolName()
EwErrorCode IEwClassificationX::set2DConnectionLabelSymbolName |
( |
BSTR |
str2DConnectionLabelSymbolName | ) |
|
Set a classification 2D Connection Label SymbolName.
- Since
- 2021 SP0
- Parameters
-
[in] | str2DConnectionLabelSymbolName | Name of 2D footprint |
- Returns
- EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
◆ set2DFootprintSymbolName()
EwErrorCode IEwClassificationX::set2DFootprintSymbolName |
( |
BSTR |
str2DFootprintSymbolName | ) |
|
Set a classification 2D Footprint SymbolName.
- Since
- 2021 SP0
- Parameters
-
[in] | str2DFootprintSymbolName | name of 2d footprint |
- Returns
- EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.
◆ set3DPartName()
EwErrorCode IEwClassificationX::set3DPartName |
( |
BSTR |
str3DPartName | ) |
|
Set a classification 3d part name.
- Since
- 2021 SP0
- Parameters
-
[in] | str3DPartName | name of 3d part |
- Returns
- errorCode EwErrorCode enum type, can be:
- EW_NO_ERROR if no error detected.
- EW_UNDEFINED_ERROR if another error occurred.