Check if drawing needs to be updated.

Valued Contributor
Valued Contributor

Hi,

 

I have written a tool in c# which perform some operations on large amount of drawings.

Its working fine, thanks to help which I have received on this forum Smiley Happy

But now I got new requirement from users, to validate drawings before I perform more operations on them.

Precisely I need to know if drawing needs to be updated (update views command) or not.

I know how to update them automatically but that is not the case, I need to know just if drawing needs to be updated or not and show that info to user.

 

Does such property exist ?

I was told that its indicated by gray box around element on drawing if its need to be updated, so in theory it should be possible to get that.

 

Thanks a lot for any help.

 

Posted by: Robert Ozga
Post date: 5/24/2012 4:55:46 AM

1 REPLY

Re: Check if drawing needs to be updated.

Valued Contributor
Valued Contributor

You must check each DrawingView on the sheets with the property:

isUpToDate

This specifies whether or not the drawing view is up to date with respect to the 3d model it references.

 

Posted by: JR
Post date: 5/24/2012 5:44:04 AM