Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am working on a little script to check device breaker size versus circuit load.
If I look at an electrical device in dynamo I see "LOAD" as 300VA when I put it through Element.Parameters. This is the right value, but I want that 300 value for use in some equations.
If try to extract it directly using Element.Get.ParameterValueBy name then it comes in as 3229, as a system.double data type.
Screen shot of my script attached.
It looks like Revit encodes 300VA as 3229 and Element.Parameters knows how to translate it properly.
Can anyone help me understand this encoding and help me get the value out in a useful form?
thank you
Brian Muir, P.Eng, Muir Engineering
Solved! Go to Solution.