AnsweredAssumed Answered

edrawings 2017 sp3 to display solidworks files, unable to see Tool bar on displaying file

Question asked by Murali S. on Aug 17, 2017
Latest reply on Sep 1, 2017 by Manikandan Babu

i want to use Edrawings 2017 to display solidworks files in my application(c#.net),

i did reffer these two dlls eDrawingHostControl.dll and EModelView.dll to my application

i wrote code as following

using eDrawingHostControl;

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

using eDrawingHostControl;

Attachments

Outcomes