Category Tips–n-Tricks

How to call acedGetPoint from VB.NET.

Tip By Autodesk AutoCAD Developer – Albert Szilvasy The code: <StructLayout(LayoutKind.Sequential)> _ Public Structure ads_point     Public x As Double     Public y As Double     Public z As Double End Structure <DllImport(“acad.exe”, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl)> _ Public Shared Function acedGetPoint(<InAttribute(),…