Hi,
There is a situation where I have a limit angle mate in my assembly. Since it is a limit angle, the components can move between min. and max. values. So, I need to get the current value of angle for further changes. I am extremely new to SolidWorks API and I don't know much about it. I'm learning from the API help and developing add-ins in C#. I tried everything I could but of no use. I hope someone can help me out. Thanks.
You need to use DisplayDimension2 for getting the mate dimension and from there you can use GetDimension
Here are some examples
2018 SOLIDWORKS API Help - Edit Mate Example (VBA)
Editing A Mate In API Help
API: Iterate over mates in an assembly
Macro select all items mated to part