Can I validate topology using python script when ArcMap is open?

Discussion created by littleleaf on May 9, 2014
Latest reply on Jun 1, 2014 by littleleaf
Hi everybody,
I am testing on validating topology using python.The situation is when I run the script when arcmap is open, an error occurs which indicates the topology has already been opened (FDO error: -2147214980 Cannot acquire a schema lock because of an existing lock), but when I close arcmap,the error disappear and it works properly. Does it means I can't validate a topology when arcmap is open? If can, how can I make it.
Thanks in advance.