MostafaElAyoubi / Data-shapes

code for revit, dynamo
50 stars 12 forks source link

UI Chart Input - Boolean toggle for draft view button #59

Open jake1108 opened 3 years ago

jake1108 commented 3 years ago

Posted originally on the Dynamo forum https://forum.dynamobim.com/t/data-shapes-chart-functionality/63778

I’m currently loving using the charting tool as a method for reporting model data back to users while running auditing tools on it.

The one issue I have with this at the minute is the “Push to draft view” button. While I think the functionality of the button is great if the chart is something the user wants to use, most of the time I’m just relaying the data to the user to give them a wider picture of what the script is dealing with.

An example of this can be seen below, I’m letting them purge the unused elevation markers in the model and am showing them what percentage of the overall markers these make up. In this case, I never want the user to create a drafting view.

Data shapes chart

I’m finding that lots of users are pressing that button as they are intrigued by what it does but then leave the view in the project browser unused.

Would it be possible to add a boolean control to the chart input box as to whether you want to give the user the option to push to a drafting view?