CD772762.0124.0000.dgnI want to increment sheet numbers that are in tags through batch process but in microsation there's no feature to that. Does anyone now any process i am uploading a file below there is three sides i need to change sheet numbers
In border ther are 2 title blocks on right bottom side and left top side
That title block is in tags and every time i need to change sheet numbers in both title blocks which are in tags for every file on both sides of sheets. Some times some files where missing by my mistake for filling numbers as of 1000's of files. Is there anyway to auto fill sheet numbers in all files
Even left bottom side vendor details are there in text in that also there is sheet number in total 3 sides sheet number i have to chnage 2 are in tags and 1 in text Please any tool any option so i can auto change the
sheet numbers in 3 sides ? Pls
You have not uploaded the file in this post - like you did in the MicroStation forum.
If I read this correctly, you want to 1. Change Sheet numbers in both title blocks tags - do you mean every time you open a new file, it needs to remember the last number used and then increment? 2. And at the same time change the simple text at left side. 3. Also, you want to auto fill numbers in all files (with what numbers?)? 4. Some text is normal text and some is in Tags,
And you think that this can be done without some programming? I think you need to look at the whole problem again.
Or i have an idea like i will place a number Example:XX" in three sides of border and copy paste those drawings.
Find and replace have an advantage that it remembers the data from previous file work
So when i use find and replace in sheet 1 : XX to be replaced with 01
and when i open sheet 2 it remebers previous find and replace work
XX to be replace with 01, i just need to replace and then increment +1 on three sides is that possible to do so by recording macro ?Please MR mark need help
Why microstation don't have option to increment tags and text right at that place instead of copy and increment.
King Khan said:Why microstation don't have option to increment tags and text right at that place instead of copy and increment.
MicroStation has tool to increment text.
Tags are very old and were implemented in quite simple (but still useful and efficient) way, plus VBA offers complete set of objects to work with tags, so it's possible to write macros that are able to handle users' specific requirements and workflows.
King Khan said:Please any tool please please it would be helpful and time consuming for me.
Your workflow is pretty specific and honestly, I was not able to understand it. Maybe it's badly designed or your description is not good enough.
As Lorys wrote in her post in another forum, probably nobody is able to give you tool that was paid by company. All forums work on voluntary basis, so when there is no quick answer, you have to accept there is no simple solution available. Plus I hope you do not expect that there will be free tool available able to handle custom naming and tag set structure used in you design files?
King Khan said:Exactly you got my point MR Mark Marnell that's what i want
It looks like it's not about simple macro (script) that can be started, but about to design a bit more advanced code.
King Khan said:3. Also, you want to auto fill numbers in all files (with with numbers example 01,02,03) using batch process
It's completely different requirement and has to be implemented separately!
To write e.g. (quite simple) macro that will search for one specific tag in tag set and will increase its value by one is not so complicated. To be able to run it in batch may require extra code. But for sure it's another task.
King Khan said:4. Some text is normal text and some is in Tags ( exactly)
In such case it cannot be solved probably. Whereas tag with specific name, defined in specific tag set, can be identified in model in a standard way (there are examples available in MicroStation VBA help), to identify text is more complicated. If you are not able to specify exact and unambiguous conditions how text can be identified (e.g. "Text is always in format 'Sheet number:' and everything what is after the colon can be removed, and there is always only one such text in the model"), code cannot be implemented.
King Khan said:Or i have an idea
I still have not seen any exact workflow provided, what functionality is required. Everything discussed so far is vague and fuzzy. When you want to continue in this discussion, I recommend to be precise as much as possible. Examples:
Right now I do not see any simple solution. Even with clear definition, it would require few hours to think about the solution, write the code and to test it.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Oh please if someone with master in programming can develop a tool though pleasae as a help provide me something this. please check the dgn file above i have uploaded so you will get to now the places of sheet numbers. Thanks for answer
King Khan said: if someone with master in programming can develop a tool
You don't understand (a) how the world works, (b) how this Forum works or (c) how to describe a problem.
(a) You're asking someone to perform work, on your behalf, to help you work better. There is no mention of payment. Why should somebody give their time, expertise and knowledge free-of-charge to help you make money?
(b) This Forum provides peer-to-peer help. It's not a marketplace. If you have a problem programming with MicroStation, then post a question here. As Jan has elaborated several times, you need to specify the problem so that others can understand what you want.
(c) We can't answer such a general question such as 'develop a tool'. You must, as Jan has requested, be precise. We aren't sitting at your computer, looking at your DGN files, and receiving your thoughts by telepathy. Provide a written specification and DGN examples.
Regards, Jon Summers LA Solutions
Jan Šlegr said:As Lorys wrote in her post in
oh common Jan.. HER!,
Haven't told you before I'm a male not female, Loris with an i is like Toni with an i , I'm Lorys with a y and yes I know its not popular, its a very old name and not very common, but since Game of Thrones there will be a rise in popularity as in the "Prince of Flowers Loras ", the pronunciation is similar to Lorus and in Australia our accent is so bad that Lorys , Lorus (like the watch company) and Loras all sound the same! .. but thanks for the mention.. to carry on back with the post ....
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
You just can't help everyone and KK has a real plight and I feel for him but he just doesn't get it , his expectations are just unrealistic and due mostly to language issues he hasn't asked in a way that would get the best results from any of us.. and we have all tried to help his several requests not just title block issues...
I pointed him to LA solutions web site to learn from Jon's tutorial how to vba export to excel ... and back this would greatly help him but it needs editing to suit his tag sets etc .. I don't see any traffic to suggest he has even tried...this is disappointing after all the posts we all have made to try to assist him...
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
Lorys said:Haven't told you before I'm a male not female
Mea culpa, sorry :-(
Believe me, in Czech language it sounds like typical female name ;-)
Maybe photo uploaded to your profile could help?