Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66809

Re: How to judge FamilySymbol is invalid after the Document closed?

$
0
0

the FamilySymbol has a property Document. You can check if the document is valid with:

FamilySymbol symbol;
Document symbolDocument = symbol.Document;
bool documentIsValid = symbolDocument!=null && symbolDocument.IsValidObject;

Viewing all articles
Browse latest Browse all 66809

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>