All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATMatInterfaces Interface CATILibraryFeature

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATILibraryFeature
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATILibraryFeature

Interface to manage families of materials.
Role: A material document (such document is stored in a file suffixed by CATMaterial) contains one material library, which contains itself several material families. A library contains at least one family.

See also:
CATIMaterialDocument, CATIFamilyFeature, CATIMaterialFeature


Method Index


o GetFamily(int)
Returns a family using its index.
o GetFamilyCount()
Returns the count of families in the material document.

Methods


o GetFamily
public virtual CATIFamilyFeature* GetFamily(int iIndex=0) const = 0
Returns a family using its index.
Parameters:
iIndex
The index of the family. This value ranges from 1 to
GetFamilyCount
Returns:
The material family object if iIndex is valid and NULL otherwise.
o GetFamilyCount
public virtual int GetFamilyCount()const = 0
Returns the count of families in the material document.
Note: A material document can't be empty and this value is therefore greater than 0.

This object is included in the file: CATILibraryFeature.h
If needed, your Imakefile.mk should include the module: CATMatInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.