Use this class to add an external dialog or pane inside the Cimatron application.
interop.CimServicesAPI
Cimatron 2026 or later
None
|
string |
( ) |
|
|
string |
( ) |
|
|
interop.CimServicesAPI.InitialPanePosition |
( ) |
|
|
int |
( ) |
|
|
int |
( ) |
|
|
interop.CimServicesAPI.ApplicationMode |
( ) |
None
You must register the class to add an external pane.
Use Reset All command from the control panel.
using interop.CimServicesAPI;
namespace TestExternalPane
{
public class TestingPaneClass : interop.CimServicesAPI.IExternalPane
{
public string GetPaneName()
{
return "TrialTopView"; //Name of the Pane
}
public string GetControl()
{
return "TestExternalPane.UserControl1"; //Namespace+DialogClassName
}
public InitialPanePosition GetInitialPanePosition()
{
return InitialPanePosition.cmRightPane; //Initial Position of pan
}
public int GetInitialWidth()
{
return 223; //Dialog width
}
public int GetInitialHeight()
{
return 650; //Dialog height
}
public ApplicationMode GetApplicationMode()
{
return ApplicationMode.Part; //Mode for dialog
}
}
}
