01-16-2018
05:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-16-2018
05:02 AM
Hi John,
Is that the function that you are using in your postprocessor?
function onPassThrough(text) {
var commands = String(text).split(",");
for (text in commands) {
writeBlock(commands[text]);
}
}It is from: https://knowledge.autodesk.com/support/hsm/learn-explore/caas/sfdcarticles/sfdcarticles/How-to-use-M...
You could replace the comma in the split method with some other ASCII character that generally does not appear in a text and use that character to move to another line. You could use "~" (tilde) for example.
function onPassThrough(text) {
var commands = String(text).split("~");
for (text in commands) {
writeBlock(commands[text]);
}
}
Fusion