CorelDraw SDK from Command Line

Hello Guys,

I am completely new to the Corel Draw SDK and im just going through the basic tutorials. Im a software engineer experienced in web technologies. I need to build a solution for a customer in which I receive a corel draw file and I need to write a script that reads properties from that file and gets the width and height of the whole parent shape (as if using the selection tool, selecting everything and getting the width and the height) this is necessary in order to get the total area in 2d of the 3d shape. Im completely lost, does someone have an example of it? is it possible to use coreldraw SDK outside of corel draw as i.e being called from the command line?