API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCADModel Class > OdCADModel Methods > getSource Method > OdCADModel::getSource Method (OdString&)
OdCADModel::getSource Method (OdString&)
Syntax
C++
void getSource(OdString& prc_file_name) const;
Parameters 
Description 
OdString& prc_file_name 
[out] A placeholder for the full path to a .prc file. 

Returns the current full path to the source .prc file for the CAD model. This method fills a passed string object with file name and returns it to a calling subroutine. 

 

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