Bcc.NewDocument
Bcc.NewDocument()
Bcc.NewDocument(TemplateName)
Description
This function allows for creating a new document within BobCAD either as the default document or with a document template
Parameters
- TemplateName - a valid path to an existing document template
Note: Document templates reside in the users \BobCAD-CAM Data\BobCAD-CAM V##\Technology\Templates\Documents directory
Examples
-- Open a new document
Bcc.NewDocument()
-- Open a new document from a template
Bcc.NewDocument(Bcc.GetDataFolder().."Technology\\Templates\\Documents\\MyTemplate.bctmpl")