Bcc.SaveDocumentAs(FileName)


NOTE:  At this time this function will only work using BobCAD-CAM, and not the BobCAM for SOLIDWORKS or BobCAM for Rhino plug-ins.

Description

This function is utilized to save the active document with the provided file name without modifying the active document. No Save dialog will be displayed

Parameters

  • FileName - string value representing either the full file path and file name to save the document or if the option passed is only the the name of the file with extension, then the current directory the file is stored will be utilized.


Note that you can use any extension supported by BobCAD-CAM to save to any file format.  Please remember that .bbcd and .bbcdx are the only format that will save all document data.

Return

Returns a boolean of true if the save was successful, otherwise returns false

Examples


-- Save the active document to your C: directory as BobCADFile.bbcd

       Bcc.SaveDocumentAs("C:\\BobCADFile.bbcd")


       -- Save the active document to the files existing directory BobCADFile.bbcd

       Bcc.SaveDocumentAs("BobCADFile.bbcd")


       -- Save the active document as a STEP file in the current file location

       Bcc.SaveDocumentAs("BobCADFile.step")