Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vinzz38

Pages: [1]
1
Ok thank for your reply.

I create a MDG Technology file with good code options:
- if I import the file by Settings> MDG Technologies ... > Advanced ... > Add Path, the code options work.
- if I import the file programmatically( ImportTechnology, C# method of Repository object in my Addin), the technology is loaded, but the code options don't work).
I need to import my technology file programmatically, is there a way to make the code options work ?

2
Hello all,

is it possible to create a custom code template who generate 2 files like C++ (.hpp and .cpp)?

Thank you.

3
Thank you both.

The macro %qt% works.

Simon, is it possible to change this option programmaticly or with a macro instruction. I saw the macro genOptCPPHeaderExtension in the doc, but how to modify it ?

Thanks.  :)

4
Hello.

How can i escape a double quote in a string value in the code template editor?
I try raech my goal like this (escape the double quote with an antislash):
$imports = %REPLACE(fileImports, ".h\"", ".hpp\"")%
But it does not work. Any idea?

Thanks

5
Thank for your answer but I'll find another solution.

6
Thank for answer.

Ok, didn't know i can change the filename and the language on the Element itself.
I have an other question, is it possible, from 1 UML class, to adapt the C++ code template to generate 4 files ( 2 .cpp files and 2 .hpp files : the 2 .cpp et the 2 .hpp must have different name and different content) ?


7
Hello all !

A little UP.

I have the same question.

Thanks

Pages: [1]