Hi @qiangqi fu ,
Welcome to Microsoft Q&A!
Please refer to this thread, it is a C# code that can help you to get dimension.
Best regards,
Carrin
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.