Friday, April 20, 2012

When materials with surface patterns are used, there is a good chance that you need to tweak its position, and perhaps even rotate it to some degree.

With system and in-place families, this is very easy to achieve, the latter being a little more tricky. So let’s take a wall with a surface pattern for example. You can tab and pick one of the lines and nudge/move/rotate as desired. Even the align tool works like a charm in cases like this. In fact, we use it all the time for tile-work in interior elevations (filled regions are a bad idea for this purpose as you cannot control the fill position/orientation, so painting the wall with a material and fine-tuning the joint locations represented by the surface pattern, is a much better solution). You might be mostly familiar with doing this on ACT ceilings, where you control the position and orientation of the grid by fine-tuning the surface pattern positioning.

When it comes to in-place families, Revit doesn’t allow you to directly control surface pattern positioning. To achieve this, you have to be in in-place edit mode. This is a very subtle, but important fact as you’ll see shortly.

Unfortunately with component families, there seems to be no way to adjust material positioning in the project environment. But recall my point above about the subtle fact…you can adjust the surface pattern in the in-place family editing environment, so why not add some parameters to expose this functionality in the project environment while editing a component family?

As it turns out, you can only adjust the pattern rotation, which is better than nothing. It is really finicky to get it to work and you have to do it a certain way or it won’t work properly. I could not find a way to modify the position of the the fill in the x-y directions, no matter what I tried: ref. planes, ref. lines, constraining to the geometry etc. None seem to work. However rotation works well and I was very surprised to find that even when you change material or the surface pattern (from orthogonal to slanted etc.) in the project environment, the functionality kept working and did not cause the notorious “can’t create type” error.

It is very peculiar to note that you cannot actually flex the rotation parameter in the family editor more than once, or the family will break. Here are the main rules you have to follow:

The angular parameter has to go from a reference plane to one of the pattern’s lines. I found it easier to use an orthogonal crosshatch while building my test;

Make sure to set the angle to zero before applying the label to the angular dimension or it’ll somehow try to rotate the pattern (this is definitely a bug) and cause a “constraints not satisfied” error;

When loading the family into the project environment, the angular parameter has to be zero, otherwise the surface pattern comes in skewed. I noticed that if you load a family with a pattern rotation of say, 10 degrees, the pattern in the project will actually be rotated at twice that amount (20 degrees in this example) and the family doesn’t react when changing the angle between 0 and double the original angle (20 degrees in this example). So make sure the angle is zero when you load it! Just don’t try flexing it in the family editor either or it’ll break.

This technique works for all material application methods on geometry in the family editor:

Painting a material directly on the geometry face

Painting a material parameter on the geometry face

Assigning a material directly to the geometry

Assigning a material parameter to the geometry

I’m not sure how useful this workaround will be to anyone, but there you have it! Hopefully the Factory will resolve this issue and we’ll be able to fine-tune surface pattern positioning directly like we can on system families.

3
comments:

And as long as you're at it:Why can't we rotate a Drafting Pattern???Only Model Patterns can be rotated.Which causes us a lot of problems in any drafted Details. Even those where we use the model model as a "backgound"

You and your readers (some of them italian speaking) may be interested to know a brand new edition of Revit Architecture 2013 guide has just been published. Full name is "Revit Architecture 2013 - La grande guida". Publisher is Mondadori, the biggest in Italy.Some of its main features are:

People often tell me that motivation doesn't last, and I tell them that bathing doesn't either. That's why I recommend it daily. - Zig Ziglar

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

Your value is not in what you hold on to, it's in what you let go of.

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

To get what you've never had, you must do what you've never done.

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

They don't care how much you know until they know how much you care.

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

If they don't understand you, you haven't said anything. That's the essense of communication. - William Wayne Caudill, FAIA, reporting how an air traffic controller once explained the importance of two-way communication.

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

The effort to state a problem in such a way that a computer can be used to solve it will distort your view of the problem. It will allow you to consider only those aspects of the problem which can be encoded—and in many cases these are the most trivial and the least relevant aspects - Christopher Alexander

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

People are always blaming their circumstances for what they are. I don't believe in circumstances. The people who get on in this world are the people who get up and look for the circumstances they want, and if they can't find them, they make them. - George Bernard Shaw

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

It is not enough to have a good idea. Only when you act and implement can you make innovation happen day in and day out. - BIG BIM little bim, Finith E. Jernigan, AIA

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

....Architects like McDonough are evidence of the fact that design which is great in any aspect comes first and foremost from the philosophy, vision, and expertise of the designers. Without this, even the smartest technological tools cannot help to create good design. - AECbytes 2007, Issue 32