I want to create a list by scripting which contains the slot information.
How can I read the slot information of a symbol?
Or exists there any other way to get the slot information.
Pin Mapping information is available through the Part Editor Data Model. Check out the information in the Library Manager section in Automation and Scripting via InfoHub.