DataExchangeKernelItf Interface CATIExchangeProperty
Usage: you can freely reimplement this interface.
interface CATIExchangeProperty
Interface to exchange infrastructure attributes.
Role: This interface is dedicated to exchange general properties.
Available from CATIA V5R10.
Method Index
- o
GetColor(double*,double*,double*)
- Retrieves the color of the element (RGB format).
- o
GetElemTypeValue(int&)
- Retrieves the style type of the element (applicable for curves and points).
- o
GetElemWidthValue(double&)
- Retrieves the line width (applicable for curves).
- o
GetId(CATLONG32*)
- Retrieves the element's Unique Identifier (tag number).
- o
GetInfo()
- Returns all informations on the element.
- o
GetLayerValue()
- Returns the element's layer.
- o
GetName(CATUnicodeString&)
- Retrieves the name of the element.
- o
GetType(short*)
- Retrieves the type of the element.
- o
GetType(CATUnicodeString*)
- Retrieves the type of the element.
- o
IsShow()
- Returns the visibility of the element.
Methods
o GetColor
public virtual GetColor( | | oRColor, |
| | oGColor, |
| | oBColor) |
-
Retrieves the color of the element (RGB format).
- Parameters:
-
- oRColor
- The red component of the color.
- oGColor
- The green component of the color.
- oBColor
- The blue component of the color.
- Returns:
- If element does not own colors, returns S_FALSE with default colors.
o GetElemTypeValue
public virtual GetElemTypeValue( | | oType) |
-
Retrieves the style type of the element (applicable for curves and points).
- Parameters:
-
- oType
- The style type of the element.
o GetElemWidthValue
public virtual GetElemWidthValue( | | oWidth) |
-
Retrieves the line width (applicable for curves).
- Parameters:
-
- oWidth
- The line width.
o GetId
public virtual GetId( | | oID) |
-
Retrieves the element's Unique Identifier (tag number).
- Parameters:
-
- oID
- The element's UID.
o GetInfo
-
Returns all informations on the element.
o GetLayerValue
public virtual GetLayerValue( | ) |
-
Returns the element's layer.
o GetName
public virtual GetName( | | oName) |
-
Retrieves the name of the element.
- Parameters:
-
- oName
- The element's name.
o GetType
public virtual GetType( | | oElementType) |
-
Retrieves the type of the element.
- Parameters:
-
- oElementType
- The type of the element.
o GetType
public virtual GetType( | | oStringType) |
-
Retrieves the type of the element.
- Parameters:
-
- oStringType
- The type of the element.
o IsShow
-
Returns the visibility of the element.
- Returns:
- TRUE if the element is in SHOW mode, FALSE otherwise.
This object is included in the file: CATIExchangeProperty.h
If needed, your Imakefile.mk should include the module: DataExchangeKernelItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.