Hi Everyone,
I am trying to schedule the areas of Filled Regions in a set of overview plans I have using Dynamo.
I found a script on these forums by @David_W_Koch . So far, I have gotten it to work so that the area of each Filled Region will be copied into the new "FilledRegionArea" shared parameter in my project.
The problem is that I have filled regions in some detail groups, and I get an error message when using the script:
"Changes to groups are allowed only in group edit mode. Use the Edit Group command to change to all instances of a group type. You may use the "Ungroup" option to proceed with this change by ungrouping the changed group instances."
it forces me to ungroup all of my detail groups, which I cannot do.
I would like to avoid this by filtering the TYPE of filled regions that Dynamo will change. In other words, I have specific filled regions that I created in order to do this exercise, so I would like to just filter the 'List' in Dynamo so that it exempts all Filled Region types except for those types that I wish, which have a specific name.
I hope this makes sense-- it's been a long day and I would be very grateful to any willing to help me out. Thanks a lot! I have uploaded the script.
Solved! Go to Solution.
Solved by RDAOU. Go to Solution.
Would it be an option to make your shared parameter a text string instead of an area? You might need to round the value before copying the result, but if it's a text string then it would be allowed to vary within a group and then you wouldn't need to filter.
https://www.ideateinc.com/blog/2013/04/revit-2014-feature-review-allow
@Anonymous
The parameter value being set by dynamo does not need to be an Element parameter . Use a project parameter instead and make sure to set it to “Values can vary by group instance” this should fix the issue...Dynamo should then be able to set the parameter without ungrouping
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
Sorry to open this again. But got the same problem and dont understand what i have to do. Im kinda new to dynamo.
Could you sent a pic of your scipt so i could see it ?
Can't find what you're looking for? Ask the community or share your knowledge.