Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: VBA does not recognize reference logical name change unless file is closed and reopened

$
0
0
Hi Rolands,

I agree with Jon that the method side effect - the activation of a reference - probably invalidates existing VBA objects, so the code does not work as expected.

I also dislike to use Find and Replace Text tool and using key-ins. Better would be to open the reference at background using OpenDesignFileForProgram. To open a file in "for program" mode brings some limitations, but to iterate a model and find and replace texts should work fine.

With regards,

Jan

Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

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