Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Dynamo with Adaptive Componets

3 ANTWORTEN 3
Antworten
Nachricht 1 von 4
cbullenUC6PX
301 Aufrufe, 3 Antworten

Dynamo with Adaptive Componets

I've been having issues with Dynamo Element.SetParameterByName. In the past I have been able to create adaptive components for Patterns and have noticed that no matter what I do the parameter error comes back that it is read only. I'm currently using Dynamo Core 3.19.3.6394 and Dynamo Revit 2.19.3.10292. I've attached the graph I'm using. This graph works on adaptive elements that are not in a pattern but refuses to access the parameter in the components inside a pattern (Simple Mass Element). I've used the same graph before and never had an issue. I've reviewed some YouTube videos that show the same methods I'm using and it's apparently working. I thought I was missing something but when I followed to the letter what was shown, I get the same error - but theirs work??

Is there something I'm missing that has changed?

cbullenUC6PX_0-1710035834195.png

 

3 ANTWORTEN 3
Nachricht 2 von 4
cbullenUC6PX
als Antwort auf: cbullenUC6PX

Just in case it helps, here is the file if anyone can take a look at.

Nachricht 3 von 4
L.Maas
als Antwort auf: cbullenUC6PX

In your script you get the instances placed in the project and then try to write a value to a parameter (Offset). In this case Dynamo looks at the instance parameters of your selection. However Offset is a type parameter therefore Revit can not find it.
So in your script you should select the family type and then write the parameter.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 4 von 4
cbullenUC6PX
als Antwort auf: L.Maas

Thank you for responding L.Mass. I originally had it set to Instance since each component would be affected uniquely with the random list, but it didn't work. I then tried the Type parameter and tried running it with a number slider, which also didn't work. I reverted back to the Instance but must not have saved my file before posting it. Either way, even when the "Offset" parameter is set to Instance it still doesn't work. Any deeper insight into this maybe being a bug?

 

Kind regards

Chris

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report