Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scheduling Filled Region Areas with Dynamo

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
2375 Views, 4 Replies

Scheduling Filled Region Areas with Dynamo

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.  

 

 

Labels (3)
4 REPLIES 4
Message 2 of 5
GlynnisVP
in reply to: Anonymous

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

Message 3 of 5
RDAOU
in reply to: Anonymous

@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


Message 4 of 5
Anonymous
in reply to: Anonymous

It worked! I just did a project parameter and checked 'Values can vary by group instance' and the script works without ungrouping detail groups.

 

Thanks so much @RDAOU 

Message 5 of 5
rhl96APN
in reply to: Anonymous

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.

Post to forums  

Autodesk Design & Make Report