Hi Vikita,
You should see some changes in the Sim Mech interface and in your browser when you save the report to HTML and open it. But there are many problems involved which make it difficult to really know what is going on.
For example, here are some problems:
- In the .css file that is created when you save the report, the "margin-" commands in the BODY section are missing a ";" at the end of the line. Thus, changing the margins have no effect.
- In the .css file that is created when you save the report, all of the lines that give a font-size have the wrong syntax. The "=" character should be a ":" character (as in "font-size:10pt;" instead of "font-size=10pt;") Thus, changing the font size has no effect.
- Different sections of the report use different styles, so a change that affects one item in one table (for example) may have no affect on a different section or different table. The image below shows just the beginning of the report and what section of the .css file controls it. There are 9 different settings (if I counted correctly) that control this one small section!
- Some sections of the report are controlled by multiple sections of the .css file. (Maybe that is why it is called "cascading".) Something set for the BODY style can be overruled by the same thing set for a TABLE style, or a combination of a change in BODY and TABLE affect an entry.
I started to decipher the .css file and recorded my findings in the image below and the Word document attached. It is a massive job to get it all figured out. If you really want to untangle it, the easiest thing to do is something like the following:
- Save the report to HTML. This also creates the .CSS file.
- Open the report with a browser (Chrome, Internet Explorer, etc)
- Open the .css file with Notepad.
- Correct the errors I mentioned above.
- Change the first location that gives a "color:" in the .css file to red.
- Refresh the report. Note what changes in the report and write it down somewhere.
- Change the color back to black, and move on to the next line with the word color.
- Repeat changing one line to red, refreshing, finding the changes, etc.....
- When you get a .css file that you like, save it to a safe place. Then replace the .css file created when you save a report with your final version. (In other words, do not worry what it looks like in the Sim Mech interface because you are going to replace the .css file that is created when you save the report.)
After you figure all of that out, the .css file includes two sections: a section that affects what you see on the screen (@media screen), and what happens when you print it (@media print)! So you may need to make changes in two different locations.
sections of .css file that affect the report
Good luck.
(edit 6/11 changed one step that said "change color back to red". It should have been "change color back to black".)
John Holtz, P.E. Global Product Support
Autodesk, Inc. If not provided, indicate the version of Inventor Nastran you are using.If the issue is related to a model, attach the model! See What files to provide when the model is needed.