 | Utility Methods |
The Utility type exposes the following members.
Methods| | Name | Description |
|---|
 | CreateFormat |
Creates a Format object that defines how numeric values are formatted before output to NC files.
The format descriptor object specifies formatting options such as decimal places, sign display, padding, and prefix/suffix text.
|
 | CreateIncremental |
Creates an IncrementalVariable output object for controlling auto-incrementing code output.
Incremental variables automatically increment by a step value on each format call, useful for sequencing operations.
|
 | CreateModal |
Creates a ModalVariable output object for controlling modal state code output.
Modal variables output a value only when it changes from the previous state, reducing redundant code in NC files.
|
 | CreateReference |
Creates a ReferenceVariable output object for controlling conditional code output based on reference comparison.
Reference variables output a value only when it differs from a reference value, optimizing NC file size.
|
 | CreateVariable |
Creates a SimpleVariable output object for controlling formatted code output.
Simple variables format numeric values using the specified format and can be enabled/disabled for conditional output.
|
 | FileChecksum |
Calculates the MD5 checksum hash for file integrity verification.
|
 | PostprocessorFileName |
Gets the file name of the postprocessor (without directory path).
|
 | PostprocessorFullPath |
Gets the full file path of the postprocessor including directory and file name.
|
 | PostprocessorLocation |
Gets the directory location path of the postprocessor.
|
 | WriteFile(String, String, String, String) |
Writes the specified content to a file with default options.
|
 | WriteFile(String, String, String, String, String, String) |
Writes the specified content to a file with advanced options including custom folder paths and text encoding.
|
Top
See Also