The key property of an object is its Geometrical Type
There are also various Measurement tools for getting data about created or imported geometrical objects :
To check their integrity:
Our TUI Scripts show how to use Measurement Tools with TUI commands.