Hide PowerMill 2018 main bar when embedding

Hide PowerMill 2018 main bar when embedding

Anonymous
Not applicable
477 Views
2 Replies
Message 1 of 3

Hide PowerMill 2018 main bar when embedding

Anonymous
Not applicable

Hello everyone!

 

We're developing a tool where we embedd PowerMill. We've been working with PM2017 so far, but we'd like to update to PM2018. However, when embedding this version we don't know how to hide the main bar (see photo). The ribbon is not a problem since it can be hidden by commands. Does anyone know how to do it? 

BarToHide.png

 

We're working in c# and the PM instance is loaded with the following code:

 

            Version pmVersion = Version.Parse("2018.1.5");
            PMAutomation automation = new PMAutomation(Autodesk.ProductInterface.InstanceReuse.CreateNewInstance, pmVersion, pmVersion, Modes.WithoutGui);

 

 

Thanks you all in advance!

 

 

0 Likes
478 Views
2 Replies
Replies (2)
Message 2 of 3

anbu_kumar
Alumni
Alumni

Hey Hi,

 

Why you want to hide main menu ?

0 Likes
Message 3 of 3

Anonymous
Not applicable

Hi anbu!

 

We want to hide that bar since in our application we're adding another customized and simpler bar with only the buttons that we want to make accesible to the user.