solidworks API using C#

Hello 

i am currently working on a small scale project using python and C# to create a sort of app using solidworks . i have a problem with the dimensions in Solidworks. Actually i wrote a code that will fetch dimensions from a part in solidworks.The programs manages to find some of the dimensions like features but when it reaches to sketches it chooses just one of the dimensions and leaves the other dimensions. is tehere a solution to that or has anyone gotten any ideas on how to proceed to get the full Dimensions.