Search found 17 matches

by aarond
Thu Jun 10, 2021 8:11 pm
Forum: General Issues
Topic: Disabling zoom on mouse wheel scroll
Replies: 1
Views: 4575

Disabling zoom on mouse wheel scroll

Is there a way to disable the zoom when using the mouse wheel? IView_DG.SetBoolAttribute(ViewBoolAttribute_DG.eViewBoolAttributeDgEnableZoom, false) disables zoom when using the normal mouse navigation, but not when scrolling the mouse wheel.
by aarond
Thu Jun 10, 2021 7:14 pm
Forum: Bug Reports
Topic: System.AccessViolationException(s) with Smart Labels
Replies: 5
Views: 18961

Re: System.AccessViolationException(s) with Smart Labels

Thank you Nick, this no longer crashes but I am getting an odd behavior where the labels are shown twice on each section if I enable them on two views. If I enable them on only the left or right view there is no issue but when enabling them on both views they get duplicated. The code is the same as ...
by aarond
Thu Jun 10, 2021 7:08 pm
Forum: General Issues
Topic: Load model from memory
Replies: 6
Views: 10302

Re: Load model from memory

Thanks Nick, I can verify it is working for the MDG models, however it is not working for GLM models. I plan on moving to MDG going forward but we have a ton of GLM models out in the wild that we will still need to support. I am using the ECADFormat.eCADFormatGLM when trying to load GLMs but the vie...
by aarond
Tue May 18, 2021 5:47 pm
Forum: General Issues
Topic: Load model from memory
Replies: 6
Views: 10302

Re: Load model from memory

Ah, I was using the IModel_DG interface and didn't see the method in there. I didn't think to try casting it to IModelEx. I will play around with that method, thanks.
by aarond
Mon May 17, 2021 5:13 pm
Forum: General Issues
Topic: Load model from memory
Replies: 6
Views: 10302

Load model from memory

In KernelCAD there was a method to load a model from memory, IModelEx.LoadFromMemory(), is there a way to do this in DG Kernel?
by aarond
Mon May 17, 2021 4:59 pm
Forum: Bug Reports
Topic: System.Runtime.InteropServices.COMException on IView_DG.SetBoolAttribute()
Replies: 2
Views: 15257

System.Runtime.InteropServices.COMException on IView_DG.SetBoolAttribute()

IView_DG.SetBoolAttribute() causes an exception for ViewBoolAttribute_DG.eViewBoolAttributeDgEnablePan ViewBoolAttribute_DG.eViewBoolAttributeDgEnableZoom ViewBoolAttribute_DG.eViewBoolAttributeDgEnableRotate var frontView = axKernCADnetFront.GetView() as IView_DG; if (frontView != null) { frontView...
by aarond
Mon May 17, 2021 4:49 pm
Forum: Bug Reports
Topic: System.AccessViolationException(s) with Smart Labels
Replies: 5
Views: 18961

System.AccessViolationException(s) with Smart Labels

I have uncovered a couple places where I get System.AccessViolationException that seem to be related to Smart Labels. First, setting the model path and turning on Smart Labels repeatedly will cause an exception after 3-5 repetitions. I was able to reproduce this in the Smart Labels sample using the ...