andydandy74 / DynamoAutomation

Batch-processing of Revit models using the Dynamo visual programming environment
MIT License
62 stars 23 forks source link

Warning "JournalFiles.Cleanup" Node #23

Closed aledarba closed 7 years ago

aledarba commented 7 years ago

Description

Hi Andy!! I am trying to use your graph but I cannot make it work.

When I run it, a warning appears in my "Journal.Files.Cleanup" node saying the following statement: "Warning: One or more of the input types are not matching. Couldn't find a version of __func_85066088161640b196e1c33e685c6948 that takes arguments of type (string,bool,int,Function)"

Do you know why?

I have followed all your indications.

Thank you in advance.

My setup

Housekeeping

Please make sure these boxes are checked before submitting your issue:

andydandy74 commented 7 years ago

@aledarba Sorry for the late reply, very busy these days. Could you post a screenshot of what goes into your JournalFiles.Cleanup node? Also, does the rest of the graph execute without issues?

aledarba commented 7 years ago

Hi @andydandy74 !! No problem at all, I finally found the solution and totally forgot to post it.

I solved it adding a new node: when I connect "Revit Version" node into "revitVersion" input of "Journal.ByWorkspacePath" node, the previous Warning appears. I just added a "String.ToNumber" node between these two so I connect a number into "revitVersion" input. That's it.

The rest of the graph is working very well!! Thank you so much!!

andydandy74 commented 7 years ago

Ah yes, I need to so something about this inconsistency. Journal.ByWorkspacePath expects version to be an integer while RevitAddinsPath.ByVersion and RevitExecutablePath.ByVersion expect it to be a string. Thanks for reminding me.