May 10, 2012

MicroStation tip: using active element priority

Bentley Systems introduce active element priority since MicroStation V8 XM. This feature can be very useful. I believe many MicroStation users may overlook this feature.

We can use it to make sure an element always behind the others (or always on top). If you want to use an image as underlay, then we can set the element priority as low as possible.

In this post, I would like to try using it to automatically ‘change’ line type when they are ‘hidden’.

The idea is to create two layers of elements. The first one, lies at the bottom. It uses continuous line. The second one is identical object. Created on top of the first one, uses hidden line.

Because we have the continuous line as underlay, we see it as continuous line. But when we created new object with priority between those two, will cover the first object and show only the 2nd one. It means that part will be shown as dashed lines.

Confused? Let’s try it.

Preparing the bottom objects

I created two identical rectangular using block tool like below. One rectangular uses line style 0 (continuous) and the other uses line style 2 (dashed).

rectangulars

Both rectangular were created without fill. If you use fill, then it won’t work.

place block options

Set the priority

Now let’s set the elements’ priority. Open element information dialog.

element information

Select the continuous rectangle, change the priority to negative value. For the dashed rectangle, change the value higher. I use –5 and 5 for them.

element information dialog

Now move the rectangle so they are overlapped each other. You should see only one continuous rectangle now. You may want to group them together, to make it easier to manipulate later.

Creating the top object

Now let’s create another rectangle. This time with fill. Use 255 as the fill color.

block with fill

Draw the rectangle to cover some part of the first rectangle. Now every time you create a closed polyline above the first rectangle, the covered area will be shown as dashed lines!

When you move it, the dashed lines will update the location. Uhm… at least it looks like that!

hidden lines

See it in action!

If you’re still not clear the steps above, try to see this video.

Automatic hidden lines with element priority

Do you think it will be useful?

Advertisement

You might also interested to

  1. Changing MicroStation Elements Attributes
  2. Using AutoCAD Command in MicroStation
  3. How Can We Add Fill in MicroStation?
  4. What is Similar Tool for Osnap Tracking in MicroStation?
  5. Isometric Drawing in MicroStation

Search for more articles

Custom Search
About Edwin Prakoso

Edwin works as an Application Engineer in Jakarta, Indonesia. He has 4 years experience in building industry, then start to work for Autodesk reseller.
He is certified as Revit Architecture 2010 certified professional and CATIA V5 part design specialist. Currently he is involved as team leader for implementing SmarTeam as PDM in several companies.
You can reach him on twitter @cad_notes. You can also connect with him on LinkedIn. If you prefer email, reach him at edwin.prakoso@cad-notes.com.