Ilogic code to generate pdf & dxf - idw.dwf file in use or read only error

Ilogic code to generate pdf & dxf - idw.dwf file in use or read only error

joni.jokilehto
Contributor Contributor
283 Views
2 Replies
Message 1 of 3

Ilogic code to generate pdf & dxf - idw.dwf file in use or read only error

joni.jokilehto
Contributor
Contributor

Im trying to create ilogic rule to generate pdf and dxf files straight from assembly file. 

So what Ím trying to achieve:

1. Open main assembly

2. Run rule that cycles through all part and sub assemblies, and opens drawing from vault  if component has drawing number. Then saves it as pdf and dxf.

3. Close idw

4. Next component

 

I have two problems:

1. I get prompt that xxxxxxxx.idw.dwf file is in use or read only. Would you like to open a read-only copy. 

 - I  dont understand why it wants to even open such file

2. Sometimes it prompts file check out dialog. 

 - Would it be possible to make additions to code so that it automatically answers No?

- With this I can live, it is not big problem. 

 

I would be very grateful for any tips that helps me get over this problem. 

0 Likes
284 Views
2 Replies
Replies (2)
Message 2 of 3

Rene_Gerlach
Advocate
Advocate

Hi Joni,

1. It's difficult to answer without the files. This needs a deeper analysis.

2. You can veto the Dirty in FileAccessEvents.OnFileDirty 

 

Rene

0 Likes
Message 3 of 3

danishtj55
Explorer
Explorer

Thanks for sharing

0 Likes