bonjour
y a t'il une possibilité de manipuler des fichiers en référence?
je dois dropper des cellules et noeud de texte sur 47 fichiers ! Au lieu de le faire 47 fois j'ai mis dans un fichier vierge mes 47 fichiers en référence pour pouvoir décomposer les éléments en 1 seule fois ?
est ce possible ? y a t'il une spécification le permettant ?
Merci par avance pour vos contributions
Cordialement
Microstation V8i select4 win10 x64
You may get more help in the french language forum. However if I understand correctly you want to drop cells and text nodes in 47 reference files. The only way I know to do that is to run a batch process on the files. You would need to find the keyins needed to do this and then create a command file that runs the keyins on each file.
thanks DuncanHow do you do a batch process! I am not expert enough to carry out such a procedure without an example step by step!if you have a complete procedure I am takerL@urent
https://www.youtube.com/watch?v=ulPVOWTqUeQ
Have a look at this for the basic idea. where he puts keyins to change the level you will need keyins to do what you want to do.
thanks but i couldn't do it !
1st were you able to record the vba macro? this is most import part.
2nd test the vba macro on another file does it work, did it do what was required? if not then this process is not right for you...and stop here and go back and we need to try a different approach...
3rd if it worked then the video from duncan clearly show the general steps
open the batch processor create a batch process text file, opens like notepad
add the command to run your custom vba
look here https://communities.bentley.com/products/microstation/w/microstation__wiki/21821/running-a-vba-routine-by-keyin
then save the text file
now select all the drgs to be processed and press process selection it should now open each drg and run the vba macro over it and inturn open the next drawing... you should master this tool as it works very well and works with simple keyins too not just vba .. just make sure each keyin is on a new line...
If you want to continue with help please try to use english, i'm sure your english is better than my high school french from 40 years ago!
Try paste your french into google translate but keep sentences simple. and paste back answers in here...
Did you have any success in the French forum?
I used google translate here for your original question and it look pretty much correct
Hello is there a possibility to manipulate reference files? I have to drop cells and text node on 47 files! Instead of doing it 47 times I put in a blank file my 47 files in reference to be able to break down the elements in only 1 time?
ok we need to understand where the original objects you want to change are .. are they in separate reference files originally or are they in separate drawings not ref files.... if in separate drawings then the batch processor is the simplest best way... and you either use a macro or a script of commands... and do it once or by hand you open each file (47 times ) and run the macro or script command each time... 47 times...
I'd be happy to help work out the script but for that contact me via email or Private message me click on the PM in my relpy
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