Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

NXOpen Blockstyler UI: how to change help "destination"

Status
Not open for further replies.

Csaba Solyom

Mechanical
Sep 22, 2016
14
0
0
RO
Greetings!

I created a couple journals using the Blockstyler UI, and I would like to include a link to their user manuals (pages in Confluence).
Currently if I click the Help (?) icon on the UI, it opens a random documentation page for Simcenter - I can't figure out where this link is configured/set.

Anyone knows how to configure what link that (?) on the UI points to?

Thanks,
Csaba
 
Replies continue below

Recommended for you

I found exactly what I was looking for there, thank you!

For posterity, if anyone else reads this thread, here's how I solved it:

1. Create a new text file, with .map extension. E.g. myhelpfile.map.
Contents of this file should look like this, for a simple case:
myhelp = HTML
2. Add the following lines of code into the dialogShown_cb() function:
Code:
theUFSession.Help.LoadMapFile("C:\\test\\myhelpfile.map");
theUFSession.Help.PushContext("myhelp");

3. To clear up this help info after the journal is finished, add the following lines of code somewhere before the Dispose() function is called:
Code:
theUFSession.Help.UnloadMapFile("C:\\test\\myhelpfile.map");
theUFSession.Help.ClearContext();

After this, hitting F1 or clicking the '?' icon on the UI will load the webpage noted in the .map file.
 
Status
Not open for further replies.
Back
Top