Hello!
I am creating batch file to perform the following on each sheet file:
1: select plot frame from the reference file ( courtesy one of the threads on this forum)
# loading selectionby for one of the selection options#
load mdl selectby
place fence fromshape;
level element select file:referencefile.dgn framelevel
#trying several options without success in order to initiate choice of the element here#
choose selection
dx=0,0
selview 1
point ab
dl=0,0
selectionby execute
none of the options above create "left-click" effect that would place fence around my selected shape ( which is a single rectangle placed on specific level for the purpose of plotting)
After selecting this shape (manually at this point) I actually need to set fence mode to "VOID", as I would like to delete everything that is selected OUTSIDE of the frame
so, I cannot find the fence mode key-in that would switch fence selection to "void"
reason for above manipulations is, that I am trying to select and delete all tag sets that were double-and triple-placed, and to leave only one that is within the plotting frame. the other method of selection ( by "selectby") would not work in this case , as these tagsets are completely identical, and I will not be able to separate them by properties.
Thank you!
------------------------------
using: AECOSIM Buiding Designer V8i (Select Series 6)
Version 08.11.09.866
It sounds like you are trying to remove duplicates of tag-sets placed in your design files. It might be worth considering using the Design File Cleanup tool which has options to specifically remove duplicates like these.
https://communities.bentley.com/products/microstation/w/microstation__wiki/18564/data-cleanup-key-in-for-batch-process
https://communities.bentley.com/products/microstation/w/microstation__wiki/14770/how-to-check-for-overlapping-elements
If this is not correctly understood from your post it might be worth following the suggestion of Lorys and to record the steps of the workflow you are performing which will provide any specific key-ins required.
RegardsAndrew BellTechnical SupportBentley Systems
Andrew, thank you for a great answer, that is what I was looking to accomplish!
Andrew Bell said:It sounds like you are trying to remove duplicates of tag-sets placed in your design files. It might be worth considering using the Design File Cleanup tool which has options to specifically remove duplicates like these.
I tried this Andrew and Tags are NOT listed in the duplicate objects to look for .. so I tried to make a file with exact duplicated tag text with the same tag set... data clean up came up with "no duplicates found..."
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me