I am creating a macro to import attributes from Autocad entities. The one in partiicular is a feature line.
I managed to get everything working, but I am trying to get the minimum elevation from the feature line but I don't know what is the correct command for it.
The section where I have this issue follows below (note that the length and the maximum elevation are working fine, just the minimum elevation that does not work)

Thisdrawing.Utility.GetEntity returnObj, basePnt, "Select Feature Line: "
Err.Clear
returnObj.Update
ValorLength = Round(returnObj.Length2D, 4)
MaxElev = Round(returnObj.MaxElevation, 4)
MinElev = Round(returnObj.MinElevation, 4)
Can someone help me?

ps: I use autocad 2021 version