Change Family type

Change Family type

galicinao-roger
Enthusiast Enthusiast
2,843 Views
12 Replies
Message 1 of 13

Change Family type

galicinao-roger
Enthusiast
Enthusiast

I loaded this Pile Type in Revit Project using Dynamo. But i want to change the Family Type based on the Pile No. I created using project parameters. Is there an easy way to change the family type without selecting each Pile. I tried the revit schedule to change but it only allows each pile so it is very time consuming. Any idea, add in or dynamo that could solve this problem easily. Thanks.

0 Likes
2,844 Views
12 Replies
Replies (12)
Message 2 of 13

ToanDN
Consultant
Consultant

Select one pile > right click > select all elements in project > change to a different type.

0 Likes
Message 3 of 13

galicinao-roger
Enthusiast
Enthusiast

Thanks but I think you missed the point. I want the Pile No. same as the Family Type. Example Pile No. is A-3, so my family type should be Pile: A-3

0 Likes
Message 4 of 13

ToanDN
Consultant
Consultant

@galicinao-roger wrote:

Thanks but I think you missed the point. I want the Pile No. same as the Family Type. Example Pile No. is A-3, so my family type should be Pile: A-3


Why?  Why not using Mark for Type No.?

0 Likes
Message 5 of 13

galicinao-roger
Enthusiast
Enthusiast

Because there is a system that is designed by our company and it makes use of unique Global ID to update the pile model  when you export to IFC. If you use only one Type of Family when exported to IFC it has the same Global ID thus the system does not work. 

0 Likes
Message 6 of 13

ToanDN
Consultant
Consultant

Why is the Global UniqueID based on Type and not Instance?  Sounds like a fundamental flaw.

0 Likes
Message 7 of 13

galicinao-roger
Enthusiast
Enthusiast

I think when you load a family with the same type in revit project when exported to IFC the GUID is the same, so the system does not work. I tried changing the Type of the Family and when exported it  produces unique global id.

0 Likes
Message 8 of 13

hmunsell
Mentor
Mentor

In the schedule,

  • Include the Family and Type, Pile No. and Count
  • Sort it by Pile No.
  • UNCHECK itemize every instance

you should be able to change the type in the schedule. you will get a warning message about changing all selected types, or something like that. 

 

Howard Munsell
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
Message 9 of 13

galicinao-roger
Enthusiast
Enthusiast

Thanks but I already did that. But I want to make it easier to change the family type  according to Pile No. since these are thousand piles and its very time consuming if I would do it every single pile.

0 Likes
Message 10 of 13

ToanDN
Consultant
Consultant

@galicinao-roger wrote:

I think when you load a family with the same type in revit project when exported to IFC the GUID is the same, so the system does not work. I tried changing the Type of the Family and when exported it  produces unique global id.


I don't which method did you generate the GUID in the IFC but the IfcGUID generated when exported from Revit to IFC is unique for every element.

 

ToanDN_0-1680222202646.png

 

0 Likes
Message 11 of 13

L.Maas
Mentor
Mentor

I agree with others that it seems not the most efficient method, but here an example

LMaas_0-1680246766529.png

 

LMaas_1-1680246815244.png

 

LMaas_2-1680246886938.png

 

You might need to add to the script. In case you have two columns with the same PileNo, you might start to run into errors. Script attached

 

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 12 of 13

galicinao-roger
Enthusiast
Enthusiast

Thanks i will take a look

0 Likes
Message 13 of 13

TripleM-Dev.net
Advisor
Advisor

@galicinao-roger 

 

Maybe look into using the parameter IfcName (instance based) to control the Type/Names of elements in IFC's

 

Also the documentation of the Custom IFC exporter: IFC for Revit 

0 Likes