Showing posts with label Editing Families. Show all posts
Showing posts with label Editing Families. Show all posts

Friday, March 26, 2010

Revit 2011: Reporting Parameters

2011 is here! As I post, I'm participating in Autodesk AEC's blogger day event. Much like David Light, I've had to sit on most of this information for 9 months+ now (and its been soooo hard!), I can also say that I expect to see more! Maybe not tomorrow, not even next month, but soon!

There are a growing number of posts in general about the new features in 2011, so I decided to focus on something near and dear to my heart (supposedly my case-study provided good reasons to move forward with this feature) Reporting Parameters.

Reporting Parameters are a hugely powerful feature (as mentioned by other posters). So I thought that I would do some movies to demo how they work, and what they do. I've got four movies lined up, each builds on the next in complication.

First, the basics. Creating a reporting parameter, and showing what it can do. Note, a reporting parameter does not have to be shared, but combining reporting parameters with shared parameters, means you can get that information into a schedule (or tag).



Next up, a little bit of what you can and can't do with a reporting parameter in a family. For instance you can use dimensions from "Host Geometry" to drive elements in families. However, reporting parameters driven by non-host geometry can only report the information, you can't use the value in a formula. Note, you also cannot directly drive geometry with a reporting parameter, you should set another parameter equal to the Reporting parameter in the formula column.



Third a creative application of the reporting parameter in Curtain Panel. Note that when a curtain panel is loaded into a project you can already schedule Width & Height, so if you create reporting parameters to do the same thing you should probably name them differently (particularly if they're shared).



Are the idea juices cooking yet? Here is one more example, also making use of the new "Adaptive Component". Note that these components can only be placed in a Conceptual Mass family (think of the mass family as a "wrapper" but you can change the category of the Adaptive Component, as well as linking parameters and geometry, to give the user in project full control of the Adaptive component (within reason, there are still some limitations).

Friday, October 02, 2009

I'll take a double please....


A double skin that is!

I took a little more then a week, but I finally managed to build a working double skin panel. It still needs some refinements, but it at least works! While this may not be perfect for full on Consrtruction Documents (yet) I think this holds a lot of promise for some of the more practical things you can do with the new tools that showed up in Revit 2010.


Things I've learned (mostly from Zach):
  • Points - its all about locating points! Then creating geometry.
  • Workplanes!
  • Build everything off the corner points.
  • If not the corner points, then driving points on the default reference lines.
  • Did I mention workplanes? "Set" workplane should be your next favorite tool.
  • Dimensions need to be set to specific workplanes too.
  • Did I mention points are important? Make the reference planes of the points visible (properties).
  • Use the reference planes defined by reference lines.
  • The "host point by intersection" is a handy tool.
  • Did I mention points?
  • Workplanes.....

Wednesday, September 30, 2009

Invisible to be Visible?

This is what I would I consider to be an "old technique" but it has come up recently around the firm. How to make objects that are above the view's cut plane (in plan) visible (I suppose it might work in section/elevation, but I never tried).

If you've read the wonderful Revit series "Introduction to Revit Arch" & "Mastering Revit Arch" (both solid books, thanks to the authors, whom I've been meaning to blog about), you should already know that certain objects will show-up, even if they are above the cut plane of the view. All of the categories are categories that are "cut" in plan and it mostly has to do with architectural convention about showing some stuff in a plan, even if it is not "technically" visible in the plan.

So that works really great, for those categories. However, what if you have a light fixture (say a wall sconce) that you also want to show in your plan, but of course it is mounted at 5'-6" or 6'-0", what do you do! Even if you put in symbolic geometry it won't help, as the view is not cutting the object, or the object is not below the cut plane. One solution would be a plan region, but they can be wonky at best, and would you really want to do a plan region for every wall sconce...? Or meven worse, modify the cut plane for the whole view? More then one view ! What we really need, is way to convince Revit that it is "cutting" through the object, even when its not.

Enter the Invisible line, an unseen friend! Take your wall sconce family, and you'll note that among the various Line Types (really subcategories) available to you with which to draw lines is "". Now, simply draw a line from the reference level to your wall sconce geometry (you can do some align/locks if you so choose). Pop the family back into your project, and viola! You're sconce will show up in your plan, with no extra effort.

Now wait! You might say, what is going on. Quite simply Revit is obeying its own rules (kinda like Kirk in the Kobayashi Maru, but not really), while we can not "see" the invisible line, when Revit's view cuts through the line, its there, and it "sees" it, which means it sees the object. Since a light fixture is a "non-cuttable" category, that means Revit must render the fixture in projection, since this is a plan, that means to render the light fixture in projection would require that the "top" of the fixture be shown in the view. Therefore, the light fixture is displayed in plan the way you want it to, all because of a simple invisible line.






I've not done an exhaustive review, but I beleive invisible lines are only availble in families that belong to categories that do not cut (which would make sense), I'm also not sure if the line style shows up if you make a family first with a generic template, then change the category. I'll leave it up to you the reader to explore and learn on your own. I do know it works for light fixtures and speciality equipment (the two I deal with most often, and where the issue is most likely to crop up).

Wednesday, January 24, 2007

The origin of trouble

This issue was reported to me by a fellow Revit user.

The user had created some door families that had a user named reference plane with the "is reference" property set to either strong or weak (he had already used Revit's pre-named reference planes). He used this reference plane to define the origin of the family, as well having a dimensional constraint to the reference plane. When he attempted to switch the family in a project with a similiar family he received constraint error messages causing the family(s) to fail.

This an edited response from Autodesk support:

The only stable references in the family instance are those produced by reference planes designated as named references (that is top, bottom, right, left, etc...). In the families that you created the reference used for alignment (and assigned to define the origin) is a weak reference in both families (referring to families submitted to Autodesk), so it's unstable, and the dimensional parameter fails when the family is replaced (via the type selector in a project).

They (Revit factory) have edited both families and set "Is Reference" of the Reference plane to "Right". Now the reference can be aligned and the instance can switch families.

To sum it all up, use the built in "is reference" names to define reference planes that will also define the origin for the family.

Hope you all find this helpful.
-R

Thursday, October 26, 2006

Tracking Your Families

I thought I would share a technique we've appplied to all of our family creation which helps a little bit with keeping track of families, and knowing where they came from. In any new family that gets created at my firm, or if a family is downloaded from a site like RevitCity or AUGI, we ask that the users add three text parameters under the "Identity Data" heading;
  • Version Number
  • Source
  • Author

In the case of creating a new family in the firm, version number would typically start at 1.0, Source would be the firm's name, and Author would be the author's name. For families that are produced by contracted consultants, Source would be the consultant's name, and author the employee of the consulting firm that creates the family. For downloaded content, source would be the website and author would be whatever the username is of the contributing "original" author, or as best can be determined. As part of integrating these three parameters with the process of creating new families we are planning/hoping to add them to all family templates so that the end user merely needs to be concerned with filling the parameters out. When creating new families in our firm we also require end users to provide a description, an assembly code (when it makes sense) and a keynote (also when it makes sense).

Why go to all this trouble? The tracking parameters help us to know where a family came from if it is in circulation. If we have the author and a version number we can to a certain extent more easily track down problems. If the author still works for us, we can just go back to them, version number helps, because there might be a more recently updated family that addresses the problem the user is having with the family. By requiring the descriptive data we are "future proofing" ourselves as we use E-Specs more, or if we work with contractors or other consultants where this type of data can be important, or if we figure out new and innovative ways to make use of the data.

We also include a version number in our Project Template file, which exsists as a project parameter under Project Info, no end user is ever going to bother touching it, and most people probably won't ever notice it. However, once again, if there is a problem with the template we can know what version the template is, furthermore everytime the template is updated we have an excel file where we track the version numbers and changes, thus, we can know what might be missing from an older template and or what needs to be updated to resolve an inherent problem with the template.

There is one downside to the "versioning" of our families, when reloading, even when "overwrite parameters of existing types" is selected the version number does not always update, which is rather unfortunate, as it makes it harder to track what version of a family is loaded into a particular project. Hopefully in the future Autodesk will provide some resolution to this issue.

Thanks for reading,

-R

Thursday, October 05, 2006

Family Clinic (learning to create parametric families)

So the other big thing that happened before going to San Fran & the west coast was that I held an intensive day long advanced family creation clinic (my pastor thought this was a little sketchy sounding ;) ) based around my firm's family standards as defined by the family outline specification that was one of my first blog posts. The training session started with about an hour and half going through a power point that I created that illustrates best practices for creating solid parametric families that are easy to diagnose and distill; as long as everyone follows the rules such as; always name reference planes, and categorize your parameters, don't let them all sit under the "other" heading. There are more.... :) but you gotta come work for us first ;).

After the powerpoint, which was interspersed with live Revit demos to illustrate various points, we moved on to creating a family. Here's a pic of what I told them they would have by the end of the day.

Specs:

2 pick family with arrayed nested cabinet family that can be user modified, doors are also nested and interchangeable. As a bonus they're challenged to write the formula that will limit the number of cabinet instances so that they don't extend past the overall length (yes I did write the formula as proof of concept).

All of them did it (I had about 8 people in the class, course my CIO was reading his e-mail, didn't see Revit open on the laptop ;) ). It was a fantastic training session and we covered just about everything related to families. Workplanes, subcategories, parameters, formulas, shared & nested families, visibility settings, shared parameters, keynotes, and of course general best practices on building complex families. Everyone felt that the course was a great success, and I was very happy with the results. I was very fortunate in that one of my co-workers in the course is a note taking nazi and she has provided excellent written documentation of what we did, making it much easier to make it repeatable and tweakable.

At the start of the day I provided them with a CD that included the power point, a PDF synopis of key points to remember (printed too), the required family templates, keynote file, shared parameter file, excel file of the firm's additional subcategories, and examples of the finished families, and the doors (I pre-made them for them). My favorite part though was that I was also able to include progressive copies of the families. By setting the number of back-up copies to 250 I was able to create a sequence of files by saving after every major action as I created the families. In the end I have 14 sequential files of the base cabinet, they proved very useful as I had a latecomer to the class, and I was able to catch him up ASAP by simply opening one of the 14 files and he was ready to go.

All in all this was a great experience and I was very satisfied with the results, and everyone who participated thought that it was great (though a long day). Now though, I know where I can break up the course to do it in shorter smaller parts. In addition to teaching the course internally, I hope to take it public at some point (with some modifications ;) ). I look forward to doing it again and perfecting it. :)

Cheers,
-R

Monday, August 21, 2006

Mathmatical Forumlas in Families

This post actually comes from my friend David who orginally posted it on AUGI. Since I can never keep track of items in forums I decided to repost it here. Enjoy.

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

Not a math genius, or even a Revit one (or else I would have spent way less time figuring this out) but I think I have a way to deal with the "Inconsistent Units" error message. I had a problem in which I needed to calculate the arc lengths of some segments. I used a slightly different method (from previous posters, Ed), but the critical piece (the "Inconsistent Units" error) was the same. In the end I realized that Revit, just like my Chemistry teacher, expects me to cancel units in my equations. Even though WE know that the units cancel out (and that Pi is unit-less) Revit is quite literal: Pi is a number, arc length is an angle, radius is a Length and so on. It cannot see how you could possibly relate them with mathematics.

As you realized, you can trick Revit in a couple of ways, I am attaching a screen shot of two examples. In the first (Green Arrow) I added incorrect units to values. You can see this makes the equation "work" but yields an answer in degrees whilst we want feet and inches. The second way, (red Arrow) is to break up your equations so that portions of them yield "unit less" values, and then combine them at will. Of course you could get this functionality in a single equation, so long as your units all cancel to yield whatever parameter type you are supposed to have.

Wednesday, April 12, 2006

Shared families & sloped walls

So its been a few days since I posted, but then I haven't done very much in Revit either. What I have been playing with is the shared family setting for families. Turns out that if a family is shared, and nested into another family, you can only link to the nested family's instance parameters, type parameters are un-touchable because you're supposed to use a type parameter to allow the user to choose a different type of the nested family. In theory this sounds great, but there is one minor problem that comes along with this concept. In my case I've been working on baseline generic casework families, starting with a whole kit of casework parts; doors, panels, shelves, hardware, etc...

So what's the problem you ask? Well, if make a generic base cabinent with 2 doors, I probably want those doors to resize with the cabinent automatically. Great idea you say, however then you tell me that you want to schedule those doors separate from the cabinent, so that means I need the doors to be a nested shared family. Well then, I can't do both, the only way to do both would be to make all the physcial dimensions of the doors instance based parameters, which kinda defeats the purpose of having different door types. I would be willing to do this if it were possible to swap one door family for another, say if you wanted to evaluate different door styles, like a flush, paneled, or glass, but that kind of nested family swapping isn't supported yet, so it really doesn't make very much sense.

On another note, using a very small mass element in my project I very handily and very quickly made this slab wall that is supposed to slope out as it goes up, it works great! Mass elements can be very useful for unique conditions as they allow you to "cheat" when it comes to some unique situations regarding walls, roofs and floors.