Plugin - Controlling 3D view in association with tab switching
Hi,
I'd like to ask about how to change the 3D view in my plugin.
I think Repetier-host has three types of 3D view; for 3D models preview, Gcode preview, and print preview, right?
I want to switch these views in association with tab switching.
For example, when I press "Print Preview" tab, the 3D view is automatically switched to a Gcode view.
How can I write this function as a plugin?
I am happy if someone replies, Thank you!
I'd like to ask about how to change the 3D view in my plugin.
I think Repetier-host has three types of 3D view; for 3D models preview, Gcode preview, and print preview, right?
I want to switch these views in association with tab switching.
For example, when I press "Print Preview" tab, the 3D view is automatically switched to a Gcode view.
How can I write this function as a plugin?
I am happy if someone replies, Thank you!
Comments
I set the associated 3D view to a property in IHostComponent as follows;
public ThreeDView Associated3DView { get { return host.GCodePreviewView; } }