API Reference > Classes > PRC Files, Structures and Assemblies > OdPrcFile Class
OdPrcFile Class
OdPrcFile
Syntax
C++
class OdPrcFile : public OdRxObject;

PrcFile.h

 

Class implements .prc file functionality. A .prc file contains a collection of the .prc file structure, one model file, and one header.

 
Name 
Description 
 
Destroys the .prc file object. 
 
Name 
Description 
 
Adds the specified file structure to the .prc file.
 
 
This is the overview for the applicationId method overload. 
 
Applies parameters of current view node OdPrcViewNode to active OdGsView. 
 
Returns the current authoring version. 
 
Compresses three-dimensional tessellation data and updates all file structures with compressed data in the specified file.  
 
Compress .prc file data with specified settings.
 
 
Decompresses all compressed three-dimensional tessellation data in a specified file with passed parameters and updates file structures with decompressed data.  
 
Converts all OdPrcCompressedBrepData objects from the file to OdPrcBrepData objects.
 
 
This is the overview for the fileStructureId method overload. 
 
This is the overview for the fileStructures method overload. 
 
Returns a specified file structure from the .prc file.
 
 
Returns the current units formatter interface. 
 
Returns the current active viewport for the file. 
 
Returns the current service for platform dependent operations. 
 
Returns the current viewport object ID. 
 
Returns the current view node index. 
 
Returns the current .prc file name. 
 
Returns the current number of isolines. 
 
Returns the PRC object identifier for a database element specified with a handle.
 
 
Returns the current viewport array.  
 
Returns the current drawable object cache. 
 
Initializes the .prc file data.  
 
Returns the current minimum version for reading. 
 
This is the overview for the modelFileData method overload. 
 
This is the overview for the readFile method overload. 
 
This is the overview for the schema method overload. 
 
Sets a new active viewport for the file.  
 
Sets a new instance of a current service for platform dependent operations.  
 
Sets a new default view node. 
 
Sets a new drawable object cache.  
 
Sets a new current number of isolines.  
 
Sets a new value of the minimum read version and the authoring version.
 
 
Sets a new view node.  
 
This is the overview for the uncompressedFiles method overload. 
 
Regenerates references arrays of every file structure of the file.  
 
Writes .prc file data to a specified stream with specified settings.
 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.