I am working with Civil 3D survey figures and I need to access a property that is not available in the .net api. The property is available through COM. Are there any methods available to get a COM version of a .Net object? So far the only information I have found is to get the .AcadObject from the entity I am working with.
Dim survFig as Autodesk.Civil.DatabaseServices.SurveyFigure
survFig = TryCast(trans.GetObject(Oid, OpenMode.ForWrite), SurveyFigure)
Dim oSurvFig As Autodesk.AECC.Interop.Survey.AeccSurveyFigure
oSurvFig = TryCast(survFig.AcadObject, AeccSurveyFigure)
The problem I am having is the .AcadObject of survFig is Aeccfeatureline and not AeccSurveyFigure. Is there a step I am missing or another method to get the COM version of the same object or perhaps make the COM properties available to the .net object?
Thank you,
Stacy