API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCADModel Class > OdCADModel Methods > getSource Method > OdCADModel::getSource Method (OdStreamBufPtr&)
OdCADModel::getSource Method (OdStreamBufPtr&)
Syntax
C++
void getSource(OdStreamBufPtr& pStreamPrc) const;
Parameters 
Description 
OdStreamBufPtr& pStreamPrc 
[out] A placeholder for the smart pointer to the stream buffer. 

Returns the current stream buffer object associated with a .prc file that is the source for the CAD model. This method fills a passed smart pointer with the address of the stream buffer object and returns it to a calling subroutine. 

 

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