I'm trying to import a .txt file with nested family type parameters in it. I get an error message that says "The input file contains invalid parameters or values for the type:". I'm pretty sure i've got the syntax right. anybody ever get this error message or know why? screenshots below.
Gelöst! Gehe zur Lösung
Gelöst von RDAOU. Gehe zur Lösung
Gelöst von MostafaElashmawy. Gehe zur Lösung
If you can share the family and the text file, I can check them.
Mostafa Elashmawy
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.
Your family works great when I import it into a project and all the selections are correct from the text file.
Check attached where I imported to a project then edit family and saved it.
Mostafa Elashmawy
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.
Thanks for the replies. Mostafa's family works just the way I was hoping. I can't figure out how you got it to work though. When I try INSERT>IMPORT FAMILY TYPES and then select the text file I always get an error message. Are you importing the family types in some other way?
The catalog you have attached has been generated manually and not through Revit. Parameters which are <Family Type> are NOT EXPORTABLE and CANNOT be set using Family Types Catalogs (from .txt file). Only parameters which has alpha/numeric input can be set using Type Catalogs.
You are not getting the error anymore because what @MostafaElashmawy most probably did is
If I were you, I would be careful with how to use Type Catalogs in this case. You need to pay attention to the <Family Type> parameter because you need to set such parameter manually. Meaning if you decide to use Type Catalog
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
What I did is that instead of trying to import the types to the family.
I just put the txt and rfa together in same folder and imported the family into a project. I found that it's working properly.
Then I opened the family from inside the project and saved it as new family and exported the text file.
Mostafa Elashmawy
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.
@MostafaElashmawythere is nothing wrong with the family and the txt and .rfa can be in different folders that is not an issue … the defect is in the Type Catalog. Open the txt exported from Revit and compare it to his
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
Yes I understand that, but when I imported the family types to the project, all of the types in the text file where added to the project including all the parameter.
So for some reason, this txt file shared by @fritzQH7E9 works fine if you use it directly while loading the family to the project. But it can't be open properly when he tries to load it inside the family.
Hope my point is clear.
Mostafa Elashmawy
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.
I understand what you did, in the project it loads with whatever in nested and pre-assigned already...However, @fritzQH7E9 is using the catalog to batch generate types in Family Editor which never worked or at least this has been the case with Family Editor since 2010 making it impossible to use catalogs to batch generate types within the family environment when the family has nested components and <Family Type> parameters is used to switch between them.
When modeling such families the workflow is as such (you probably knew this but it might be helpful for who ever comes across this post wondering):
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
Thanks for the replies. I was able to get my type catalog loaded in using the way that RDAOU and Mostafa described. RDAOU summarized how to do this pretty well in his post. Basically, if you are setting a nested family type parameter with a .txt file you have to load it by opening a project and then using the load family command. If you try and load the .txt file directly into the family it won't work.
I'm using excel spreadsheets to create a bunch of different types so this is very helpful to be able to do!
Oh, I see. So, the long and short of it is that didn't load it correctly.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.