各位大侠,我是第一次使用anycad.net.sdk,按照示例代码或者下载的示例程序都发生以下问题,请赐教!谢谢!
系统环境:Windows10 64位+vs2015+c#或vb.net
错误信息:"Failed to create 3D view!"
代码如下:
using AnyCAD.Presentation;
using AnyCAD.Exchange;
public partial class FormMain : Form
{
// Render Control
Private AnyCAD.Presentation.RenderWindow3d renderView;
public FormMain()
{
InitializeComponent();
//
// Create renderView
//
this.renderView = new AnyCAD.Presentation.RenderWindow3d();
this.renderView.Location = new System.Drawing.Point(0, 27);
this.renderView.Size = this.Size;
this.renderView.TabIndex = 1;
this.Controls.Add(this.renderView);
}