All Frameworks  Class Hierarchy  This Framework  Indexes

ObjectSpecsModeler Global Function CATCreatePublicSpecsInFile


HRESULT CATCreatePublicSpecsInFile(CATICatalog* ipiCatalog,
const PublicSpec* ipSpecs,
const int iNumSpecs)
Creates a new .CATSpecs file containing public specs.
Role : A .CATSpecs file has the same name as the StartUp catalog file it refers to. If the .CATSpecs file already exists, it is simply updated with the public specs.
Parameters:
ipiCatalog
The pointer to the corresponding StartUp catalog.
ipSpecs
The list of new specs to be added to the file.
iNumSpecs
The number of specs that are to be added to the file. If iNumSpecs = 0, the specs file is simply created if it does not already exist.
Returns:
E_FAIL: There is a problem with the current StartUp catalog. S_OK: The .CATSpecs file has been created if it does not exist and the requested new public specs have been added to it.

This object is included in the file: CATPublicSpecsFileServices.h

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