搭YEAGER兄的便车,我来给一些解析,英文的,不懂的提出来,能回答的就回答,不能回答的大家来共同研究!
This section describes miscellaneous parameters that are applicable to all event types.
mom_cutting_time
Actual cutting time till the current event in minutes.
Default is 0.
mom_date
The current date. This variable is loaded before any events are called.
mom_definition_file_name
The name of the current definition file. This variable is loaded before any events are called.
mom_event_handler_file_name
The name of the current event handler. This variable is loaded before any events are called.
mom_event_time
Total time required for the current event in minutes.
Default is 0.
mom_logname
The login name of the person running Unigraphics NX. This variable is loaded before any events are called.
mom_machine_name
MACHINE <name> is present in the Definition File. This variable is <name> of the primary Definition File. This variable is loaded before any events are called.
mom_machine_time
Total time required till the current event in minutes.
Default is 0.
mom_output_file_basename
The name of the output file without the path. This variable is loaded before any events are called.
mom_output_file_directory
The name of the directory where the output file is located. This variable is loaded before any events are called.
mom_output_file_suffix
The output file extension following the last "."
(i.e., ptp). This variable is loaded before any events are called.
mom_part_name
The name of the current part. This variable is loaded before any events are called.
mom_source_directory
The name of the directory where the event handler is located. 'Source'd files should probably reside in the same directory. This variable is loaded before any events are called.
mom_tool_count
Count of the tools used till the current event.
Default is 0.
mom_tool_use
tool_number, tool_usage_time (in minutes) couplets:
Tool usage till the
Tool Number
current event
mom_tool_use(0,0)
mom_tool_use(0,1)
mom_tool_use(1,0)
mom_tool_use(1,1)
----
----
mom_tool_use(n-1,0)
mom_tool_use(n-1,1)
where n is the mom_tool_count
|