Hello,
I want to change the fill of all elements in a lot of files and I want them to have no fill. For this I want to use the batch processing with vba. In the moment it looks like this:LEVEL SET LOCK OFF ALL (To unlock all references)CHOOSE ALLACTIVE FILL OFFCHANGE FILLFILEDESIGN (save settings)But if I let run the batch processing it doesn't work.It opens this little window:
But the confirmation of this command is missing.Can anyone help me with this? Thank you!(P.S.: Changing the color is working the same way:CHOOSE ALLACTIVE COLOR 11CHANGE COLOR)
Leonard Jones It still doesn't work. Where shall I add it? Can you tell me the all the key-ins in the right order? My MicroStation also doesn't find the "selview all" key-in rather "selview"?Thanks a lot!
Are you trying to turn the View display attribute of Fill off, or are you actually trying to turn off the element fill property?
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
I'm trying to turn off the element fill property. Thx
The CHANGE FILL command still wants a data point to finish.The SELVIEW command needs a view ID to complete, so the ALL is just telling it which view to work on. I think...
Turning the Fill Off in View Attributes is better. You can use the following key-insMDL KEYIN BENTLEY.VIEWATTRIBUTESDIALOG,VAD VIEWATTRIBUTESDIALOG SETATTRIBUTE 0 Fill Falsefiledesign
Following is a VBA example that scans for shapes and turn the fill off. To be on a safer side, take a backup of your DGN file before running any tools.
ProcessShapes.zip