Document.Editor.SelectCrossingWindow crashes with eNotApplicable exception
Not applicable
09-20-2019
11:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
the attached code is a batch process for all drawing files in a folder. The process consists of opening a file, finding the drawing size and then looking for a spot on that folder where a sticker of a certain size can be placed without overlapping any drawing objects. To check if a spot is empty, I am using Document.Editor.SelectCrossingWindow. Unfortunately my script crashes at that line with an eNotApplicable exceprtion. What am I doing wrong? Thank you!