Revit MEP Forum
Welcome to Autodesk’s Revit MEP Forums. Share your knowledge, ask questions, and explore popular Revit MEP topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Family types not changing in Revit

11 REPLIES 11
SOLVED
Reply
Message 1 of 12
ReneBogersREBO
1418 Views, 11 Replies

Family types not changing in Revit

ReneBogersREBO
Advocate
Advocate

Hi all,

 

I have build a "Pipe Fitting" family.

- Family has one type (I called it "TYPE CATALOG")

- The different sizes needed the family extracts from a LookUp Table.

- The family comes with an Type Catalog

When load in project eveything goes wel, I can select a certain instance and change the type to another size.

BUT

When I have for example a 50mm pipe, with the corresponding 50mm fitting and I  change to pipe to 75mm, then the fitting doesn't change to other Type, to match the 75mm.

The fitting stays 50mm and stays connected to the pipe, I can change the type op the fitting manualy, but I want the Type change automaticly with the size change.

 

Guess I have something wrong / forgot to so something with the parameter added to the connector in the family.

0 Likes

Family types not changing in Revit

Hi all,

 

I have build a "Pipe Fitting" family.

- Family has one type (I called it "TYPE CATALOG")

- The different sizes needed the family extracts from a LookUp Table.

- The family comes with an Type Catalog

When load in project eveything goes wel, I can select a certain instance and change the type to another size.

BUT

When I have for example a 50mm pipe, with the corresponding 50mm fitting and I  change to pipe to 75mm, then the fitting doesn't change to other Type, to match the 75mm.

The fitting stays 50mm and stays connected to the pipe, I can change the type op the fitting manualy, but I want the Type change automaticly with the size change.

 

Guess I have something wrong / forgot to so something with the parameter added to the connector in the family.

11 REPLIES 11
Message 2 of 12
L.Maas
in reply to: ReneBogersREBO

L.Maas
Mentor
Mentor

A value from a lookup table will not change from one family type to a different family type.

A value from a lookup table can be used to change parameters (e.g diameters) within the family type.

 

In your case if you want to change the pipe from 50 to 75 mm then you would use the lookup to change the parameters of that fitting (i.e. family type) so that it resizes to 75 mm.

Or as you indicated (manually)change the fitting from one type to the other

 

 

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes

A value from a lookup table will not change from one family type to a different family type.

A value from a lookup table can be used to change parameters (e.g diameters) within the family type.

 

In your case if you want to change the pipe from 50 to 75 mm then you would use the lookup to change the parameters of that fitting (i.e. family type) so that it resizes to 75 mm.

Or as you indicated (manually)change the fitting from one type to the other

 

 

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 3 of 12
ReneBogersREBO
in reply to: L.Maas

ReneBogersREBO
Advocate
Advocate

So it's not possible what I want?

 

First I built the family only with lookuptable and WITHOUT Type Catalog (I had one type, which changes by size change/lookuptable), but I rebuild it with a Type Catalog.

This because I wanted to add parameter values for the different pipe sizes. Those values don't only consist of numbers, but also more than 1 parameter consists text, so it can't be done with Lookuptable.

 

There is no way to let the familytype change to match the changing pipe size?

 

Otherwise I have to go back to ONLY the lookuptable and fill the parameters with Dynamo, but if it can be done without Dynamo, then that has my preference, cause Dynamo can't run automaticly on startup in background. Revit user has to start Dynamo itself, and that is not what I want. I want to have the correct info in the parameters automaticly, so without the need of the revit user to do certain things for it to accomplish that.

 

0 Likes

So it's not possible what I want?

 

First I built the family only with lookuptable and WITHOUT Type Catalog (I had one type, which changes by size change/lookuptable), but I rebuild it with a Type Catalog.

This because I wanted to add parameter values for the different pipe sizes. Those values don't only consist of numbers, but also more than 1 parameter consists text, so it can't be done with Lookuptable.

 

There is no way to let the familytype change to match the changing pipe size?

 

Otherwise I have to go back to ONLY the lookuptable and fill the parameters with Dynamo, but if it can be done without Dynamo, then that has my preference, cause Dynamo can't run automaticly on startup in background. Revit user has to start Dynamo itself, and that is not what I want. I want to have the correct info in the parameters automaticly, so without the need of the revit user to do certain things for it to accomplish that.

 

Message 4 of 12
L.Maas
in reply to: ReneBogersREBO

L.Maas
Mentor
Mentor

If you want it fully automatic you could possibly write your own add-in. Add ins can be activated by triggers and therefore able to execute when certain things changes

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes

If you want it fully automatic you could possibly write your own add-in. Add ins can be activated by triggers and therefore able to execute when certain things changes

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 5 of 12
ReneBogersREBO
in reply to: L.Maas

ReneBogersREBO
Advocate
Advocate

Would you mind if I send you an email (adres from your website) in Dutch to explain what I want/am doing, to get your point of view about it... I want to make the best descision about how starting up my families to prevent I need do lot of changes lateron. 

0 Likes

Would you mind if I send you an email (adres from your website) in Dutch to explain what I want/am doing, to get your point of view about it... I want to make the best descision about how starting up my families to prevent I need do lot of changes lateron. 

Message 6 of 12

ReneBogersREBO
Advocate
Advocate

Or a PM... I see now thats also possible here 😉

 

0 Likes

Or a PM... I see now thats also possible here 😉

 

Message 7 of 12
fabiosato
in reply to: ReneBogersREBO

fabiosato
Mentor
Mentor

Hello,

 

You can extract one text value from the lookup tables until Revit 2019, I heard, but never tested, that in 2019 it works OK.

Use the formula:

Text Parameter = size_lookup(Size Table, "", "NE", ND)

Fábio Sato
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

Hello,

 

You can extract one text value from the lookup tables until Revit 2019, I heard, but never tested, that in 2019 it works OK.

Use the formula:

Text Parameter = size_lookup(Size Table, "", "NE", ND)

Fábio Sato
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 8 of 12
ReneBogersREBO
in reply to: fabiosato

ReneBogersREBO
Advocate
Advocate

Yes I know that, I also used that workaround, but I don't need only ONE text value, I need 3 different text values.

The option you mention only works with one value. I need 2 or more, then your solution wont work.

 

Thnx anyway!

 

0 Likes

Yes I know that, I also used that workaround, but I don't need only ONE text value, I need 3 different text values.

The option you mention only works with one value. I need 2 or more, then your solution wont work.

 

Thnx anyway!

 

Message 9 of 12
fabiosato
in reply to: ReneBogersREBO

fabiosato
Mentor
Mentor

Hello,

 

You can use multiple lookup tables.

One for each text parameter.

Fábio Sato
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Hello,

 

You can use multiple lookup tables.

One for each text parameter.

Fábio Sato
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 10 of 12
ReneBogersREBO
in reply to: fabiosato

ReneBogersREBO
Advocate
Advocate

 


@fabiosato wrote:

Hello,

 

You can use multiple lookup tables.

One for each text parameter.


Really?!?!?! That opens other opportunities!!!

So you got me a new option to try out 😉

0 Likes

 


@fabiosato wrote:

Hello,

 

You can use multiple lookup tables.

One for each text parameter.


Really?!?!?! That opens other opportunities!!!

So you got me a new option to try out 😉

Message 11 of 12

ReneBogersREBO
Advocate
Advocate
Accepted solution

What I did now is:

- Building 1 family;

- Containing 1 Type;

- Sizes come from Lookups;

- Extra text info comes from Lookups (each value its own lookup).

 

So I had:

- one .rfa;

- one .txt (Type Catalog);

- one .cvs (Lookup)

 

Now I have:

- one .rfa;

- couple .cvs (Lookup)

What I did now is:

- Building 1 family;

- Containing 1 Type;

- Sizes come from Lookups;

- Extra text info comes from Lookups (each value its own lookup).

 

So I had:

- one .rfa;

- one .txt (Type Catalog);

- one .cvs (Lookup)

 

Now I have:

- one .rfa;

- couple .cvs (Lookup)

Message 12 of 12
L.Maas
in reply to: ReneBogersREBO

L.Maas
Mentor
Mentor

Thanks for checking back with your chosen solution

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes

Thanks for checking back with your chosen solution

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report