I been writing my own methods to output revit geometry. However, the unit registered in dynamo is different from my revit drafting view unit. In particular, one dynamo unit = 304.8 unit in revit. my drafting view is current set at view scale 1:10. An example of the script is:
In reality, the output for sizing for gap and linelength in revit is 304.8. Does anyone have any idea where this discrepancy might be.
It depends on how you are obtaining the values but if you are going off of the parameter class through API, there is the method .AsValueString() which will give you the value in your project units. It doesn’t work this way when setting values through API but it might help.