简体   繁体   中英

Solidworks API - Is view empty?

Using Solidworks API, how can I find a drawing view is empty?

Same is the case with Sketch object.

I have searched the help file but can't find anything relevant.

Most empty views are caused by Solidworks not being able to find the referenced document. You can check this with IView::ReferencedDocument. If it returns null, there's your problem. If it returns filepath, check if it exists.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM