API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCADModel Class > OdCADModel Methods > OdCADModel::getSourceName Method
OdCADModel::getSourceName Method
Syntax
C++
void getSourceName(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 name of the .prc file that acts as the source for the CAD model. This method fills a passed string object with the file name and returns it to a calling subroutine. 

 

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