Scope control - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

To include the Desktop Client toolbar in the custom module, you must ensure that the Desktop Client has been initialized. For more information, see Using the Desktop Client in your module.

You must add the view windows form host to your XAML and then set the value of it to the ScopePanel property available on the SmartPlant Foundation session. This can be seen in the View of the custom module.

<WindowsFormsHost DockPanel.Dock="Bottom" Height="20" Name="ScopePanel"></WindowsFormsHost>

ScopePanel.Child = value.ScopePanel