In NX9 i need to switch from modeling to drafting and enable the translucency (shaded views).
Below sample code contains 2 lines in sub main.
The translucency is not enabled when i switch to drafting application. When i comment the first line (no app switching) and run the journal directly from drafting application then translucency is enabled.
Option Strict Off
Sub Main (ByVal args() As String)
UI.GetUI().VisualizationVisualPreferences.Translucency = True
I think the problem is that NX is not yet switched to drafting while running the next line.
How can i make the journal wait until switch to drafting?