0 Members and 1 Guest are viewing this topic.
DisposableWrapper looks to be a base class(it is marked as abstract so it meant to be used as base class) that I would guess it is inherited for all the classes in the managed API that need or want dispose to be called. For example entites in a using block.Here is a link to Idisposable interface LINK
I can wrap those functions for you if needed, provided they are available in BRX. but if you can do this via COM, even better. I.e AcadApplication.ActiveDocument.EvaluateLisp();
Dim a As AcadApplication = DirectCast(RxNet.ApplicationServices.Application.AcadApplication, AcadApplication)Dim d As IAcadDocument = a.ActiveDocumentDim o, op As Objectd.Utility.GetEntity(o, op)Dim e As AcadEntity = DirectCast(o, AcadEntity)Dim h As String = e.HandleIf IsNumeric(h) Then d.EvaluateLisp ("(setq handle (itoa " & h & "))")Else d.EvaluateLisp ("(setq handle " & h & ")")End Ifd.EvaluateLisp ("(setq curve (handent handle))")Dim r As System.Arrayr = DirectCast(d.EvaluateLisp("(vlax-curve-getPointAtDist curve 100)"), Array)d.EvaluateLisp ("(setq handle nil)")d.EvaluateLisp ("(setq curve nil)")