DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
333 stars 186 forks source link

Added Revit Units Properties #2920

Closed dnenov closed 1 year ago

dnenov commented 1 year ago

Purpose

REDO of PR. Previous PR was based on 2.16. This is a redo to current master branch.

To be used in conjunction with https://github.com/DynamoDS/Dynamo/pull/13895! This PR creates an entry inside Dynamo's PreferenceSettings which track the current document's units inside Revit. This is used to help scale background graphics relative to the current project settings thus making the background helpers inside Dynamo more useful.

generic 'Imperial' and 'Metric' Revit Units

imeprial metric units

setting Revit units to scale Dynamo grids

Declarations

Check these if you believe they are true

Reviewers

@reddyashish @Amoursol

FYIs

reddyashish commented 1 year ago

@Mikhinja This PR is now targeted to master branch. Rest of the PR's will be changed too.