Excel to Revit Return Path


#1

Hi All,

This is my first on the Dynamo community board, have only started to use Dynamo but have found it a great tool extension to Revit.

I have managed to extract pile loads out to excel using Dynamo, when returning I seem to run into a number of issues with ‘Element.SetParameterByName’ with warnings on each

The call is ambiguous between the following methods or properties: 'Revit.Elements.Element.SetParameterValue(Autodesk.Revit.DB.Parameter,

Has anyone had this issue before? Suggestions for getting it to work?

 

Lee

Return Pile Loads to Revit

Excel to Revit

 


#2

Hi Lee,

Remove “SetParameterbyName” node and connect with "SetParameterName(CaseInsensitive) from Rhythm package. I think that will work.

Note: set lacing to longest.


#3

Hi Kulkul,

 

That seemed to clear the errors with the set parameter. Appear to be an issue with the code block now. Receive this error:

 

Warning: ElementSelector.ByUniqueId operation failed.
Could not obtain element from the current document! The unique id may not be valid.
ElementSelector.ByUniqueId operation failed.

Out of interest what is the difference with the Rhythm package and what does set lacing to longest do exactly?

 

Rgards,

 


#4

Try this from LukeJohnsons Package,

Untitled1


#5

Strange ran it again and it appears to be fixed now.

 

Thanks for you help!


#6

My pleasure!

If its fixed. Kindly make this post as resolved.


#7

Not quite resolved…

 

Now runs with out errors but Revit model does not update :s


#8

Did you try with lukejohnsons node?


#9

Output to revit not workingYeah I have. Have made changes to both loadings and made them all 1500 for example. Save and close the excel file.

 

Dynamo completes with out errors but the revit model does not update. Am I missing a process?


#10

Remove lacing it will work.


#11

Did you sort your issue?

Untitled


#12

Hi,

Have changed the lacing on ‘Set One Parameter to Many Elements’ to the shortest for each of them. Still fails to update the parameters within Revit. The parameters are nested with the pile family and not the project does that make a difference?

 

Lee


#13

Set parameter null


#14

Can you post your dyn file and revit file. I will fix it for you.


#15

Return Pile Loads to Revit Export Pile Loads to Excel

 

Revit file to large to export will have to strip it down.


#16

You can put the revit file google drive and post the link.


#17

Pile Export Test

 

Revit File too.


#18

Hi Lee,

I saw your file. There are few things which i noticed:

i) First your using your parameter type as “Text” change to “Number” and connect to standard set parameter node see below screenshot.

Pile Load1

Pile Load 2

ii) Secondly your using symbols in excel see below.

Pile Load

Good Luck!


#19

Thanks for you help, amateur error.

 

Regards,

 

Lee


#20

Hi all,

I’m receiving the same error that Leopold had gotten while trying to use the Element.SetParameterByName tool. I’ve attempted all of the other versions of the node suggested in this thread with no luck. I’m trying to remove the Moment Frame connection on a list of structural framing elements so that the parameter would just receive a value of None. Any thoughts as to how to resolve this error?

Much appreciated,

Jared