Home Forums General XMetaL Discussion InsertWithTemplate example Reply To: InsertWithTemplate example


Reply to: InsertWithTemplate example

Thanks Derek. I already had a ctm file from the application we're migrating. It's just that there weren't any “Templates” in it so I'm still not sure why InsertWithTemplate was working in v3, but doesn't in xmax v7 unless I add the missing configuration in the ctm file. It works when I do that.

For anyone else trying to accomplish the same thing, you can specify what to automatically insert when calling InsertWithTemplate when adding the following to the ctm file. For example:


Then when calling:


It will insert this automatically:


It works!