Jump to content
Aerokid

Retain User Comments In NASTRAN .bdf File

Recommended Posts

Hey everyone,

 

I have a .bdf file (the solver deck file required for NASTRAN). Hypermesh creates this file by the export process. 

 

My work requires that I edit the .bdf text, but also use the graphical features of Hypermesh.
I would like to find a way of retaining user-added comments in the .bdf.


Let me explain:

1. Create mesh
2. Export as .bdf
3. Comment the .bdf file appropriately
-BUT-
4. When I re-import to HM and export, my comments are removed.

 

Is there a way to keep them? Hypermesh will keep comments that are attached to material properties (for example, if I add a comment to a MAT1 card, they will stay with import/export)

 

Thanks for any help!

Share this post


Link to post
Share on other sites

Hi

in hm gui, try editting card of material and setting option for user comment as "show in export"

so you can add comments in card editor then export

Share this post


Link to post
Share on other sites

Thanks for you replies guys, I'll look at those options!

The files I am editing have large revision comments. I need to keep them when I import and export:

i.e.

" Date, Revision Number, comments about revision "
" Date, Revision Number, comments about revision "

etc.

 

Thanks again for you replies, if you think of other options, let me know!

Share this post


Link to post
Share on other sites

example with MAT1, any previous line starting with $ (not $$) will be imported as comment

you just need to change the option in card editor  to "Show in menu/Export", it will be exported again

Share this post


Link to post
Share on other sites

I noticed that! :D  I was wondering why this was. Other comments (if I comment a range of GRIDS) don't stay. I had a MAT1 card that I commented, and the comment stayed, but my comments above my GRIDS were deleted.

Is there a way to "trick" HM to keep the comments on the GRIDS?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...