API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCADModel Class > OdCADModel Methods > setSource Method > OdCADModel::setSource Method (OdStreamBufPtr&)
OdCADModel::setSource Method (OdStreamBufPtr&)
Syntax
C++
void setSource(const OdStreamBufPtr& pStreamPrc);
Parameters 
Description 
const OdStreamBufPtr& pStreamPrc 
[in] A stream buffer object that is used for .prc file operations. 

Sets a new source for the CAD model represented as a full path to a .prc file. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.