CATRepTemplateUseItf CATTemplatesAccessServices

Usage: you must use this class as is. You should never derive it.


public class CATTemplatesAccessServices

Provides services to access list of User defined features and powercopies (templates).


Method Index


o GetPowerCopyList(CATBaseUnknown_var&,CATLISTV(CATIUdfInstantiate_var)&)
Retrieves all powercopies references existing in the input part container.
o GetUserFeatureList(CATBaseUnknown_var&,CATLISTV(CATIUdfInstantiate_var)&)
Retrieves all user defined feature references existing in the input part container.

Methods


o GetPowerCopyList
public static GetPowerCopyList( const iPartContainer,
iListOfPowercopyReferences)
Retrieves all powercopies references existing in the input part container.
Parameters:
iPartContainer
The part container (it should be a CATIMmiPrtContainer)
iListOfPowercopyReferences
List that will be filled with the powercopies references. Note that the list is not emptied by the service.
Returns:
  1. E_INVALIDARG if iPartContainer is not a part container.
  2. E_ACCESSDENIED if the access to the list is not authorized (absence of the KT1 license).
  3. S_OK if the list has been filled (or no powercopy found).
  4. E_FAIL otherwise.
o GetUserFeatureList
public static GetUserFeatureList( const iPartContainer,
iListOfUserFeatureReferences)
Retrieves all user defined feature references existing in the input part container.
Parameters:
iPartContainer
The part container (it should be a CATIMmiPrtContainer)
iListOfUserFeatureReferences
List that will be filled with the powercopies references. Note that the list is not emptied by the service.
Returns:
  1. E_INVALIDARG if iPartContainer is not a part container.
  2. E_ACCESSDENIED if the access to the list is not authorized (absence of the KT1 license).
  3. S_OK if the list has been filled (or no user defined feature found).
  4. E_FAIL otherwise.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.