Occurrence.MakeWritable - When do you need it?

 

Hello,

The Occurrence object has MakeWritable method.

When do you need to use it? In other words, how does an occurrence become non-writable? When should we check if the occurrence is writable? Or should we check it every time we want to edit the occurrence?

- Nirantar Vidyarthee

 

Posted by: Narantar Vidyarthee
Post date: 5/29/2010 5:04:56 PM

1 REPLY

RE: Occurrence.MakeWritable - When do you need it?

How does an occurrence become non-writable? this is a good question!

I have sometimes problems, if i try to change the properties of opened files (occurrences in the opened assemblies).

i check if the occurrenceDocument is writable with objDoc.SeekWriteAccess(glAccess)and if not than i do MakeWritable.

 

Posted by: JR
Post date: 6/7/2010 2:10:49 AM