API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCADModel Class > OdCADModel Methods > setSource Method > OdCADModel::setSource Method (OdString&)
OdCADModel::setSource Method (OdString&)
Syntax
C++
void setSource(const OdString& prc_file_name);
Parameters 
Description 
const OdString& prc_file_name 
[in] A string that contains a full path to a .prc file. 

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.