INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Remember Me

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Just copy and paste the

# Good text editor for Nastran Deck?

Share

## Good text editor for Nastran Deck?

(OP)
Appreciate, if some one recomends good text editors (freeware) for Nastran deck. I had one good flexible text editor, that highlights all nastran keywords and wors well with huge text files. But I forget the name now. If any one has one, please recommed me.

### RE: Good text editor for Nastran Deck?

UltraEdit.  Works great on large files; very fast.  Very good copy/cut/paste - can even select a block of text (columns x rows) rather than whole rows.  Well worth the cost.

### RE: Good text editor for Nastran Deck?

Download cygwin (free), then you can use Nedit. Cygwin is great for many other reasons too... Recommend it.

awk, sed, Perl etc.

Live Long and Prosper !

### RE: Good text editor for Nastran Deck?

Hi 39minuteman,

I am a naval engineer new user of Nastran.
I installed notepad++. Can you send me the Nastran highlighting scheme for it, please?

Thanx

### RE: Good text editor for Nastran Deck?

crimson editor, and editpad, are both free stable and powerful text teditors for windows, crimson editor being my preferred one. winmerge or csdiff are good for doing diffs on decks, winmerge is prettier, csdiff will create a machine readable differences file.

Cheers

Greg Locock

SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.

### RE: Good text editor for Nastran Deck?

I use PFE (Programmer's File Editor), it is very simple and intuitive to use. You can use create and run macros very easily. The disadvantage is the absense of a color scheme, or the capability of select columns... this make me sometimes use the crimson ... but indeed I always have used the PFE... I recommend both of FREEWARE programs!

1st - PFE
<http://www.lancs.ac.uk/staff/steveb/cpaap/pfe/pfefiles.htm>
2nd - Crimson
<www.crimsoneditor.com/>

have moderate fun
Celso

### RE: Good text editor for Nastran Deck?

I use GNU Emacs v 23.1.  Has support for NASTRAN mode.

Hello,
Thanks.
Mario

### RE: Good text editor for Nastran Deck?

Hi Mario, I have done a syntax highlighting starting from the ultraedit syntax file. I believe there is no copyright on the syntax file and we can use for other text editor. If I'm wrong, please remove the post!

I attach the file here. let me know if is good for you.
Onda

### RE: Good text editor for Nastran Deck?

Hi Onda,

if tried your highlighting scheme, but in my case it doesn't work with the current version of notepad++ (it always breaks down).
@Mario: Is it working for you?

I'm searching for a scheme which is able to highlight every 8 columns of the .bdf file, so that you can easily read through the bulk entries. It's really was really enoying the first time with the windows editor.

Heiko

### RE: Good text editor for Nastran Deck?

I would like to try out the notepad++ style sheets, but don't know where to place that file.  Can anyone tell me where to place the .xml file?

### RE: Good text editor for Nastran Deck?

Hi Paul,

I'm using the current 5.6.8 version of notpad++. There you can usally go on "setup" ("Einstellungen" in the german version), then click "import" and "themes". There you select the file. Afterwards you load this theme in "setup" -> "style".
But I've to admitt it doesn't work in my case. If anyone did manage to use the style-scheme....

Regards

### RE: Good text editor for Nastran Deck?

Hi Paul,
In my computer the XML file is in the installation directory of notepad++ : C:\Program Files (x86)\Notepad++. (OS XP X64)
To keep the file in that location, during the installation you should check the box with the following text: "Don't use %APPDATA%"

Onda

### RE: Good text editor for Nastran Deck?

Hi,
if reinstalled it the way you recommend: Now it worked. Everything looks very eyecatching except the 8 letters whide columns:

BEGIN BULK
$Direct Text Input for Bulk Data PARAM POST 0 PARAM PRTMAXIM YES$ Elements and Element Properties for region : pshell.87967217
PSHELL  87967217 1      .7
\$ Pset: "pshell.87967217" will be imported as: "pshell.87967217"
CQUAD4  153411028796721715443877 3007    2975   15443894 0.
CQUAD4  1534110387967217 2975    2946   1544389115443894 0.
CQUAD4  1534214687967217 3020    3007   1544387715443911 0.

Isn't there someone having the same problem that you can't see to which field the entries belong to?

### RE: Good text editor for Nastran Deck?

@ Nimbusbs

You could set one vertical line to check a field length.
to do this go under Configuration>Preferences>Editing>Vertical edge setting
Check the box for Show vertical edge
set a number multiplier of 8

### RE: Good text editor for Nastran Deck?

Thank you Onda! Another method I thought about is to let Patran write the .bdf-file with entries sorted by comma:

Nastran would except that. But I didn't find an option yet...

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!