Book a Demo

Author Topic: Generate Code file location  (Read 2971 times)

jjorczak

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Generate Code file location
« on: November 10, 2003, 08:29:31 am »
For some reason I have a class that is getting sychronzed with the wrong file. I cannot find anywhere how to change the file a class points to for code generation. Help mentions a "Code Generation Dialog" accessible from the class context menu, but that does not appear as an option. Also almost all items on the code generation toolbar are disabled, such as "Generate single class". Help please..

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: Generate Code file location
« Reply #1 on: November 10, 2003, 04:26:57 pm »
Hi jjorczak,

You might find this useful:

Bring up the Properties window, if it isn't already. (Alt+1)
Select your class.
Go to the filename field in the properties sheet
Select the file you want to synchronize with (header file for C++).
Now try to synchronize.

You might also want to lookup "Local Paths" in the help file if you are going to be moving your source paths around.

Regarding the Code Gen toolbar options: these should be enabled when you have a class selected in a diagram.

Hope this helps.

Regards,
Ben

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: Generate Code file location
« Reply #2 on: November 10, 2003, 08:44:57 pm »
Hi jjorczak,

I forgot to mention that you can also change the gen file path from the "Code Generation Dialog":

1. Select your class
2. Hit Control+G (This brings up the "Generate Code" dialogue.
3. Click the file chooser (...) button and select your file
4. Now click the save button in the "Generate Code" dialogue

Hope this helps.

Regards,
Ben