i want to use Edrawings 2017 to display solidworks files in my application,
i did reffer these two dlls eDrawingHostControl.dll and EModelView.dll to my application
i wrote code as following
public partial class Form1 : Form
{
eDrawingControl ed;
public Form1()
{
InitializeComponent();
ed = new eDrawingControl();
this.ed.BackColor = System.Drawing.Color.White;
this.ed.EnableFeatures = 64;
this.ed.Location = new System.Drawing.Point(46, 56);
this.ed.Name = "ed";
this.ed.Size = new System.Drawing.Size(479, 314);
this.ed.TabIndex = 0;
this.Controls.Add(ed);
}
private void Form1_Load(object sender, EventArgs e)
{
ed.eDrawingControlWrapper.OpenDoc(@"E:\assignment_2.sldprt", false, false, false, "");
}
}
i am able to see the file but toolbar is not being displayed, please help me how to get the Tool bar on the displaying file,
i tired these following code, even though i could not get Tool bar
ed.eDrawingControlWrapper.ShowToolbar(True)
ed.eDrawingControlWrapper.ShowAllTooltips()
ed.eDrawingControlWrapper.ShowFullScreen(True)
i attached the snap shot , please see the attached file
Thanks
Murali s
Please move this post to API/Macros section. Use the move option on right side under actions.