Cancel
Showing results for 
Search instead for 
Did you mean: 

Postbuilder Custom Commands with External Editor

Genius
Genius

When I right click on the open space in a Custom Command box I get the option to Use External Editor, but then I get a dialog box stating that I need to set my external editor.  How do I do that?  See image.

 

Thanks!

 

Jesse

External Editor.PNG

6 REPLIES 6

Re: Postbuilder Custom Commands with External Editor

Legend
Legend
You should define your EDITOR with an environment variable.
eg.

in ugii.bat
set EDITOR="C:\Program Files (x86)\Notepad++\notepad++.exe"

in ugii_env.dat
EDITOR="C:\Program Files (x86)\Notepad++\notepad++.exe"

or direct in Windows User Environment Variables
Highlighted

Re: Postbuilder Custom Commands with External Editor

Genius
Genius

To clarify, those text files are located in this directory? (or whichever version of NX you're using)

 

C:\Program Files\Siemens\NX 9.0\UGII

 

I added in the text to both files and re-opened the program, but no luck.

Re: Postbuilder Custom Commands with External Editor

Valued Contributor
Valued Contributor

Tutorial on setting environment variables:

https://www.youtube.com/watch?v=bEroNNzqlF4

 

Variable name: EDITOR

Variable value: C:\Program Files (x86)\Notepad++\notepad++.exe

 

Variable values needs to be set without quotes.

 

 

Re: Postbuilder Custom Commands with External Editor

Genius
Genius

Got it!  Instead of "EDIT" as you wrote, I realized I needed to write "EDITOR".

 

 

Thank you for the help.

Jesse

Re: Postbuilder Custom Commands with External Editor

Valued Contributor
Valued Contributor

You are welcome, it was my mistake BTW Smiley Happy

Re: Postbuilder Custom Commands with External Editor

Pioneer
Pioneer

Hello,
but if you edit to an external editor and then save nothing change, only way is to Copy from external editor and paste in Post Processor Builder?

 

Thank you

Learn online





Solution Information