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
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
Jon Summers said:ou should clarify whether you mean 'make a VBA macro run on MicroStation under PW' or 'make a VBA macro run on
yes I meant make a vba run on mstn under Pwise
Lorys said:how can i make a vba macro run under PW?
Yes, it is off-topic. A better place to post that question might be the Content Management Forum.
You should clarify whether you mean 'make a VBA macro run on MicroStation under PW' or 'make a VBA macro run on PW'.
Regards, Jon Summers LA Solutions
Jon Summers said: ProjectWise can't host a VBA macro because it's a different process probably on a remote computer.
hey Jon, a little off topic but how can i make a vba macro run under PW?
Surely there must be a way
Hi Denis,
FYI You can also use the "fence selection new" keyin to select the elements defined by your fence if that helps.
Regards,
Mark
OpenRoads Designer 2022 R3 (10.12) | Microstation 2023.1 | ProjectWise CE 3.4