Vector lengths in Anaysis Visualization Framework

Vector lengths in Anaysis Visualization Framework

Anonymous
Not applicable
331 Views
3 Replies
Message 1 of 4

Vector lengths in Anaysis Visualization Framework

Anonymous
Not applicable

I'm attempting to display vectors showing a path sequence on top of a floor plan view.  Have my vectors, setting up FieldValues and displaying the vectors, all fine.  

 

The problem I am encountering is that the length of the vectors in the plan view do not match the length of the vectors I am computing.  Is the AnalysisDisplay using a different set of units for some reason?  I can normalize my vectors and they show all the same length... but still much longer than a unit length would be.  Unless the units are something different.  My model is set with 1' units, but normalized vectors still show much longer than that when viewed.

 

 

0 Likes
332 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
I work with the metric system, so I always need milimeters so I always have to convert to inches since Revit works with inches. Maybe this is the case for you, How much longer are your lines, is it factor 304.8 (10 feet) ?
0 Likes
Message 3 of 4

Anonymous
Not applicable

Thanks for the reply Remy, it seems that the unit measurements for point locations is different than the scaling used for vectors drawn with the Analysis Visualization Framework.  So, I had two point locations, I subtracted the two to get a vector and drew that vector starting at the base point... it went in the right direction but was totally the wrong length.  It pointed towards the second point but did not end at the second point.  

 

While the base point location of the vector was correct, the length of the vector needed to be adjusted to the view scaling in order to have it connect between the two locations.  My view was scaled at 1/8" = 1', so what I expected to be a 10 foot long vector was turning out to be 80' long.  If I left the point location intact but scaled the vector to match the 1/8"=1' scale, I ended up pointing from and to where I wanted.

 

 

0 Likes
Message 4 of 4

Anonymous
Not applicable
okay, nice to read you've found the problem.
0 Likes