Forum Discussion
Oferv
14 years agoSuper Contributor
Sure Margaret,
this is the code when the application first loading:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["WPFObject"]("Grid", "", 1)["WPFObject"]("UserControl")["WPFObject"]("UserControl")
the moment i choose to add the first document to the application a dynamic object is created:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["WPFObject"]("Grid", "", 1)["WPFObject"]("UserControl")["WPFObject"]("UserControl")["WPFObject"]("DockPanel", "", 1)
inside this object i'll be able to find the document's properties
so,the problem i experience is that i want to make sure the first document was loaded properly in the application.after it was created the dynamic object is there and i can query it but,before it's there i can;t ask if it;s exists.
Thnaks.
this is the code when the application first loading:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["WPFObject"]("Grid", "", 1)["WPFObject"]("UserControl")["WPFObject"]("UserControl")
the moment i choose to add the first document to the application a dynamic object is created:
Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["WPFObject"]("Grid", "", 1)["WPFObject"]("UserControl")["WPFObject"]("UserControl")["WPFObject"]("DockPanel", "", 1)
inside this object i'll be able to find the document's properties
so,the problem i experience is that i want to make sure the first document was loaded properly in the application.after it was created the dynamic object is there and i can query it but,before it's there i can;t ask if it;s exists.
Thnaks.