Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Example code to create a custom tab in the resource bar

Phenom
Phenom

Hi,

starting to NX10, Siemens had adde NX OPEN API to create a custom tab in the resource bar.

There are someone that have an example code to share ?

I find this, but I'm looking for an example that create a tab with a web interface.

Thank you...

Using NX 11 / RuleDesigner PDM

3 REPLIES

Re: Example code to create a custom tab in the resource bar

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Why not just use the existing browser tab of the resource bar?

You can set the browser home page through the customer defaults.

 

CBrowserHomePageCustomerDefault.PNGBrowser Home Page Customer Default

If you still need an extra browser, you need to create an ATL widget for HTML display.

The ATL widget is available through regular Windows API.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: Example code to create a custom tab in the resource bar

Phenom
Phenom

Hi @Stefan_Pendl,

we don't use TeamCenter as PDM, but another PDM. Then I would like to create a tab in the resource bar that contain the assembly structure of the current work part as web page where I can make PDM operation on single assembly line.

Similar to the TC resource bar.Smiley Happy

Thank you...

Using NX 11 / RuleDesigner PDM

Re: Example code to create a custom tab in the resource bar

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

The browser tab is not related to Teamcenter at all, it is a regular Internet Explorer control, similar to the ATL widget I mentioned.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide