Macro for levels.

Is there a macro that can "refresh"  my levels automatically? I had a drawing where the levels had to change color for certain levels. I first had to select the whole drawing just to then hit "the color" dropdown and the select "by level"  for my changes to take effect. If there is not, can someone please let me know if this macro can be made. I have a few days so far with microstation and already liking it. 

Parents
  • You stated that you are new to microstation, so I think you did a rookie mistake and the elements did not have the property "by level" for the color at first. They maybe had a fixed color assigned while drawing them, instead of "by level".

    And what you did with the dropdown was just giving them the color by level property. Then after that they changed their color according to the level they are on.

    For the future: Look out for your active attributes when drawing the elements (probably in the left top corner of your screen) .

    Attributes that are set to "by level" have a little "layer-icon" on them. If not, the attribute is set to a fixed color/line style/ line weight ... and does not follow the level color/line style/line weight ...

    -------------------------------------------

    Currently using:

    OpenPlant Modeler - Version: 10.09.00.74

    [MicroStation - Version: 10.14.02.01]

  • Not at all, it was a conversion from a .dwg I was working with. I didn't add that part to my initial question because it really had no relevance. My question was really just how to "refresh' my levels without having to do all those steps. 

  • I was not clear on what you meant by Refresh. If you want to make all the levels ByLevel for color, couldn't be any quicker than Cntrl>A (select all), then select the color drop-down and set to ByLevel. If you've got a bunch of files, you can easily convert that to a simple macro (or use the command line suggested above) and run a batch process.

    I typically need to do this with files I get from other software. Select All then Change Attributes with the appropriate boxes checked. Usually I'll move the stuff to "My" levels. Don't do it quite enough to automate that process, but it's not hard.

    Connect r17 10.17.2.61 self-employed-Unpaid Beta tester for Bentley

Reply
  • I was not clear on what you meant by Refresh. If you want to make all the levels ByLevel for color, couldn't be any quicker than Cntrl>A (select all), then select the color drop-down and set to ByLevel. If you've got a bunch of files, you can easily convert that to a simple macro (or use the command line suggested above) and run a batch process.

    I typically need to do this with files I get from other software. Select All then Change Attributes with the appropriate boxes checked. Usually I'll move the stuff to "My" levels. Don't do it quite enough to automate that process, but it's not hard.

    Connect r17 10.17.2.61 self-employed-Unpaid Beta tester for Bentley

Children
No Data