Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.4K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Simplify code for data template using FileTemplateApply?

Posted 5 years ago
POSTED BY: Andrew Burnett
2 Replies
Posted 5 years ago

Thanks Rohit, that's good to know.

Cheers Andy

POSTED BY: Andrew Burnett
Posted 5 years ago

Hi Andrew,

FileTemplateApply creates a new file every time it is evaluated, if the file already exists, it is deleted and a new file is created. The code above looks very straightforward and easy to understand. It decouples the generation of the data from the processing (export) which is good and more flexible. I can't think of a way to "simplify" it.

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard