I'm running a simple batch process with various key ins on a massive amount of files. I'm not super vba savvy so i'm not sure if i need one or not to answer this dialog box, but i've attached a picture of it along with this code:
View Off All;View On 1; Window Tile; Fit All; Selview All; Selview 1; MDL KEYIN BENTLEY.VIEWATTRIBUTESDIALOG,VAD VIEWATTRIBUTESDIALOG SETATTRIBUTE 0 DataFields False; selview 5; set ed off; MDL KEYIN BENTLEY.VIEWATTRIBUTESDIALOG,VAD VIEWATTRIBUTESDIALOG SETATTRIBUTE 0 Fill True; selview 5; set fill on
CT=C:\UstnV8i\WorkSpace\System\data\color.tbl; WT=0; LC=0; LV=C-COMM-OVHD; CO=12; FILEDESIGN; FT=7
MDL SILENTLOAD FINDREPLACETEXT,CHNGTXT CHANGE DIALOGTEXTFIND DIALOG SEARCHSTRING THE DOW CHEMICAL COMPANYFIND DIALOG REPLACESTRING DUPONT DE NEMOURS, INC.CHANGE TEXT ALLFILTERED
set levels off=Level 2; selview allset levels off=Level 4; selview allset levels off=Level 6; selview allset levels off=Level 8; selview allset levels off=Level 10; selview allset levels off=Level 12; selview allset levels off=Level 14; selview allset levels off=Level 16; selview allset levels off=Level 18; selview allset levels off=Level 63; selview all
LOCK GRID OFF; LOCK UNIT OFF; LOCK AXIS OFF; LOCK ASSOCIATION OFF; KY=2
RF=MS_REFLOCATION:MYLARBP.3D,default,BORDER,Master Model,View 1
FILEDESIGN
Cole DeBolt said:MS_REFLOCATION
That's is, presumably, your configuration variable?
If you key-in MS_REFLOCATION:MYLARBP.3D,default,BORDER,Master Model,View 1 manually, do you see that modal dialog?
MS_REFLOCATION:MYLARBP.3D,default,BORDER,Master Model,View 1
Regards, Jon Summers LA Solutions
Yes it is.. i decided to omit all the extra's.. border, master. I realized i don't have an end of argument in there. it does bring up the dialog.
RF=MS_REFLOCATION:MYLARBP.3D,,,,, I didn't have enough arguments. I kept playing around with this all week. lol. i just figured it out before you wrote me back. Thank you,
sorry but you don't seem to explain the actual solution so others could benefit
is the answer
RF=MS_REFLOCATION:MYLARBP.3D,,,,,
so it doesnt wait for the ok?
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
I’ll attach a good communities discussion that shows how to do this, it’s very helpful. I’ve been organizing these in bookmarks for later reference.
communities.bentley.com/.../keyin-to-attach-references
good old ask inga... I had that page printed out and pasted in my scrap book
yes I knew the generic answer of the 5 commas, but your post didnt make it obvious or easy for newbies or others with search for similar problem and solution..
RF=TEST.DGN,,,,,
Note that you need 5 commas to get past the attachment dialog and OK button
personally for a keyin I would put the full path in inverted commas (not MS_REFLOCATION is that a variable? ) but
RF="F:\projects\1234567\xrefs\MYLARBP.3D",,,,,