OrchidForDynamo icon indicating copy to clipboard operation
OrchidForDynamo copied to clipboard

Document LoadFamily Revit 2023

Open matius0013 opened this issue 2 years ago • 3 comments

Hi I'm trying make script who load families to multiple rvt files. I can't find File.LoadFamily document. Avaible is only node who's load families to active project file. I see the revit files are open and close in bacground but family is not loaded to them. What I doing wrong ? Revit 2023 Orchid 213

MULTI RODZINY_V1_2022-10-24_10-11-11 excample

matius0013 avatar Oct 24 '22 20:10 matius0013

I think you are looking for these nodes... Document.LoadFamily and/or Family.Load File+Fam-Load

erfajo avatar Oct 25 '22 12:10 erfajo

Why you conncect Document.LoadFamily witch .rvt document ? I don't understand this becouse in enter node Document.LoadFamily is .rfa document? Where is connection beetwen family and model files? Im example under it is clear becuse File.LoadFamily is concenction with rfa and rvt files in this same time

And I should use red or blue node?

image

matius0013 avatar Oct 26 '22 13:10 matius0013

Sorry for the old sample I did show you. the node is renamed... Family.Load and it takes an (family)document as input, it dont take a file any longer. File+Fam-Load

erfajo avatar Oct 26 '22 15:10 erfajo

@erfajo will it work with multiple project files, since u have removed the document input? I tried the setup in the image above, but it seems to only work in the file that I open dynamo through.

Kickdak avatar Nov 08 '22 20:11 Kickdak

That is correct. Is there a need for opening multiple project files for loading multiple families? Opening multiple project files will consume much memory and on top of that opening multiple families... So yes I removed that option since I didn't think anyone used it.

erfajo avatar Nov 09 '22 09:11 erfajo

Hi, for example i have a few reinforcement model in project and i need update sheet family.

matius0013 avatar Nov 09 '22 09:11 matius0013

@erfajo I have a similar case to @matius0013. I need to update an annotation family in multiple project files. It will come to regular updates on this annotation and would save some effort if I could just press play and let it do its thing. I'm sure there are other families this would be suitable to use.

Kickdak avatar Nov 09 '22 09:11 Kickdak

I see... and I understand now that for bulk actions has it not been a good decision to deprecate Document.LoadFamily. Therefore have I returned it, however, in a better version I hope.

The node takes now a list of files (strings) for families due to bulk load and closes the families again after they have been loaded into documents (which also comes as a list). The Documents may be passed on for more handling before closing if needed...

By doing this I optimize the usage for bulk actions and NOT for single document family load purposes. BulkLoadFamily

erfajo avatar Nov 09 '22 15:11 erfajo

@erfajo this script worked perfectly when I had the files local! But another case soon appeared when I realized that all my models are in the acc cloud or bim360... Is there a way to use the same setup here but change it to multiple cloud models?

Kickdak avatar Nov 11 '22 18:11 Kickdak

script? what is that??? I work with graphs, please elaborate.

Sadly, anything in BIM360 is not handled the same way as normal files, this is why my company doesn't use BIM360. Meaning I don't have access to BIM360 and I, therefore, cant create and test nodes for that environment.

What we do is "repathing" projects when the projects return to us (I am in the REFM business), as shown below…

LinkedCloudDocumentRepath LinkedCloudDocumentRepath.dyn.txt

erfajo avatar Nov 15 '22 08:11 erfajo

@erfajo this script worked perfectly when I had the files local! But another case soon appeared when I realized that all my models are in the acc cloud or bim360... Is there a way to use the same setup here but change it to multiple cloud models?

you do have a local model file location in BIM360 that you can work with in Dynamo but its going to be a pain and you cant work with them in bulk.

J3deye avatar Nov 18 '22 02:11 J3deye

You have only a local file if you are the creator of the file... In my case am I in the REFM business. Meaning I receive files from our business partners, I have nothing and must therefore relink everything. This is why we require that all files are relinked when uploading to our web platform. To help our business partners I created the shown process (and nodes). The problem includes also contractors that are dependent on models made by others… Autodesk has really made something that is a nightmare for many with this crappy BIM360 :-S

erfajo avatar Nov 18 '22 11:11 erfajo