Saves the RAPID module to the specified file path.
Namespace:
ABB.Robotics.Controllers.RapidDomain
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax public void SaveToFile(
string filePath
)
Parameters
- filePath
- Type: SystemString
Path to the file where the RAPID module should be saved.
Exceptions Examples This example saves a RAPID module to a file.
private void _gtpusavedialog_Closed(object sender,EventArgs e)
{
try
{
if (_gtpusavedialog.DialogResult == System.Windows.Forms.DialogResult.OK)
{
string stFileName = _gtpusavedialog.FileName;
myModule.SaveToFile(stFileName);
}
}
catch (GeneralException ee)
{
}
catch (System.Exception ee)
{
}
finally
{
}
}
See Also