Page 1 of 1

Option Strict

Posted: Tue Mar 28, 2017 4:18 am
by CG_
Hello
In the Morph example, a MeshTopol or MeshMods is equaled to an ISection (code below); this does not work when in "Option Strict On" which is the preferred way to go in order to speed up the application. Is there a way to bypass this ?

Code: Select all

Dim iKCSect As ISection = ....
Dim iKCMeshTopol As IKCMeshTopol = iKCSect
Thank you

Re: Option Strict

Posted: Wed Mar 29, 2017 12:40 am
by nickz
Hello GC_

Code: Select all

Dim iKCMeshTopol As IKCMeshTopol = CType(iKCSect, IMeshTopol)
Should compile OK