Hi,
So i have been playing around with Key-In's, I am attempting to make a batch process key-in script that sets all level overrides so it doesn't have to manually be done.
I have successfully done this in the past - but for some reason I'm having a problem getting the key-ins to work;
Here is an example key-in;
level set override color <'3' [file:*.*->*.*] 'Cable_Duct'>
This should set all nested levels on 'Cable_Duct' to color 3, however i get an error of cannot find level, can anyone point out where im going wrong?
Cheers
Callum
Ignore this variable, the syntax of your keyin you posted is
My test was using as per wiki link provided earlier
level set override color 3 file:*.*->*.* Cable_Duct
Does this keyin not work for you ? ( I tested both using manual entry and Batch Processor )
Hi Carl,
Apologies, yes this seems to work now! Thankyou for the help.
Unfortunately, it has given me another issue now, when I change the level from 'Cable_Duct' to 'TL-TR-Troughing-G-E' it now doesn't work.
They are both coming from the same reference, so my only assumption is it has something to do with the format of the level name, any ideas?
Using the level name 'TL-TR-Troughing-G-E' works for me and does not contain any invalid chars according to https://communities.bentley.com/products/microstation/w/microstation__wiki/8861/levels-and-level-libraries so this may not be the issue here.
key In used both manually or via Batch Processor:
level set override color 3 file:*.*->*.* TL-TR-Troughing-G-E
When you say it does not work, what do you mean? are you seeing a message in the Message Center as before or is it a case the graphics is not changing in the View ….
Double check the Level name in the Nested Reference matches that used in the Key In.
Double check the Graphics is on that Level in the Nested Reference
If still having problems please post sample for other to review / comment, or raise a Service Request