Using label parameter values as family type parameters

Using label parameter values as family type parameters

Anonymous
Not applicable
2,396 Views
9 Replies
Message 1 of 10

Using label parameter values as family type parameters

Anonymous
Not applicable

Hello,
I've searched google and couldn't find an answer - so I hope I'm not posting a question which has been previously discussed.
I have a window tag, with a label that takes a shared parameter ("STYLE") from the window family, and the MARK parameter (the number of the window type, used for schedules).
The window tag is basically the MARK number frame by a polygon.
I want the shape of the polygon to change according to the STYLE of the window.
For example, if the STYLE is 1, the the polygon is a square. If the STYLE is 2, the polygon is a circle, etc.
I created the different polygons, and gave each of the an on/off parameter.
Now, what I can't find a way to do is to link the on/off parameter to the STYLE parameter.

Would really appreciate your help

Thank you

0 Likes
2,397 Views
9 Replies
Replies (9)
Message 2 of 10

ToanDN
Consultant
Consultant

If you want to control the ON/OFF parameter by "STYLE" parameter then "STYLE" must NOT be a text parameter.  Or, you can make them Type parameters and control them via Types.  

 

But the best approach would be create the polygons as different Types in a different family, nest it in your window family, create a Family Types parameter and assign the label to different window Types.  If you can share the file I can take a look.

0 Likes
Message 3 of 10

Anonymous
Not applicable

Hi

 

Attached is a zip file with   (revit 2017.2.1):

test.rvt : main revit file

window-test.rfa : window family file

window tag.rfa : tag family file

eli-shared.txt : shared parameters file

 

The window has 3 shared yes/no parameters : AL (aluminium) MS (steel) NG (wood)  - these are the 3 different "styles"

the tag has 3 labels: the top one just states whether AL/MS/NG are on or off (it won't be there in the end, but I put it for tracking purposes)

the middle one is just the type mark

the bottom one is the sill height.

 

around the mark type are three shapes, each with a on/off parameter for its visibility: Circle: "V-AL",  Square: "V-NG", Hexagon: "V-MS"

 

As you can see, I have no problem linking the AL/MS/NG parameter to the label, but I can't link them to the V-AL / V-NG / V-MS parameters...

 

Appreciate your help

 

Eli

 

0 Likes
Message 4 of 10

ToanDN
Consultant
Consultant

I misunderstood your question initially.  There is no way to control the visibility of Tag symbols based on Tagged object parameters.  But if you can live with using special characters to present the symbols then see the attached file.

 

Capture.PNG

0 Likes
Message 5 of 10

Anonymous
Not applicable

Yeah, I thought that was the answer, but was hoping I was mussing something.

I'll have a look if can manage something using dynamo.

Thanks a lot for the help!

0 Likes
Message 6 of 10

chrisplyler
Mentor
Mentor

Just curious why you want that.

 

Everyone I know surrounding the construction industry would be confused for a minute. They expect all window tags to have the one shape, all door tags to have a second shape, all wall tags to have a third shape, all keynote callouts to have a fourth shape, etc., etc., etc.

Message 7 of 10

Anonymous
Not applicable

It doesn't work that way in Israel.

 

There's one symbol for Aluminum objects, one for wooden, and one for Steel

That's also how the schedules are built.

There will be one manufacturer aluminium objects (windows, doors, etc..) another manufacturer for steel objects (fire doors, safety window frames, steel railings, etc..) and one for wooden objects (interior doors, built in furniture, etc.)

I guess it's just a different approach, and I guess that Revit was created mostly for the US construction and design industry...

 

 

 

 

0 Likes
Message 8 of 10

ToanDN
Consultant
Consultant

If you are creative with using special characters/symbols then you can make them any shapes you need.  What I show above are just a few simple ones based on what you asked.

0 Likes
Message 9 of 10

chrisplyler
Mentor
Mentor

@Anonymous wrote:

It doesn't work that way in Israel.

 

There's one symbol for Aluminum objects, one for wooden, and one for Steel

That's also how the schedules are built.

There will be one manufacturer aluminium objects (windows, doors, etc..) another manufacturer for steel objects (fire doors, safety window frames, steel railings, etc..) and one for wooden objects (interior doors, built in furniture, etc.)

I guess it's just a different approach, and I guess that Revit was created mostly for the US construction and design industry...


 

I see. I guess that sort of makes some sense, and is very interesting. Does the manufacturer of restroom accessories also make window frames, or does your method only apply for windows?

 

 

0 Likes
Message 10 of 10

Anonymous
Not applicable

Well, the ALUMINIUM / STEEL / WOOD are just rough categories, that mostly apply to doors, windows, railings, safety accessories, built in furniture etc.

There is usually also a category for all the other accessories, sometimes divide into subcategories like "kitchen", "bathroom" and so on.

But what is clear is that there is no point to put all of the doors into one category, as they are from different manufacturers and sometimes different subcontractors.

 

0 Likes