Setting the Read-only Attribute when Posting from Post Configurator

2022-07-25T21:01:30Z

Summary


Details

A CAM program is posted using Post Configurator. Is it possible to set the Read-only attribute on the posted output file when generating this NC code?

Read-only is unchecked by default.

Solution

Created a custom Layer in Post Configurator and added the following TCL code to resolve this.


LIB_GE_command_buffer_edit_append CLOSE_files CLOSE_files_LIB_ENTRY_end {

file attributes $::mom_output_file_full_name -readonly 1 -hidden 0

} _report_tools

Read-only attribute is now checked when posting.


Notes

Please be aware that any code provided by NX CAM Support is intended to be used for sample purposes only. It is the user's responsibility to determine whether the code is suitable for the purpose.

KB Article ID# PL8658777

Contents

SummaryDetails

Associated Components