Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [Connect COM/ VB, C#] CreateShapeElement1 error

$
0
0

Hi Nenad,

why do you cast Point3d[] array to System.Array? I don't see any reason to do it and even the parameter itself is defined (using decompiler) as [In][Out] ref Point3d[] Vertices. Make your code simpler and use Point3d[] as required, I guess it should work fine.

I also don't understand why you pass vArray as ref, because any array is reference type and is always passed as reference and not value, so ref modifier is reduntant.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>