Rebar Array Length in API does not match actual array length in model

Rebar Array Length in API does not match actual array length in model

longt61
Advocate Advocate
586 Views
2 Replies
Message 1 of 3

Rebar Array Length in API does not match actual array length in model

longt61
Advocate
Advocate

I was testing a small app and find out that the rebar array length that was saved in RebarShapeDrivenAccessor does not match the actual array length in Revit model. This is the first time I have encountered this problem.

The value I got when apply dimesion in model is 3952mm or 12.966 ft.

The value I got from Revit Lookup and API is 3904mm or 12.808 ft.

I am using Revit 2019.2 if it helps. Please check out the attached file for more detail.

What are the reasons behind this?  Is there anything that I should know about Revit rebar?

0 Likes
587 Views
2 Replies
Replies (2)
Message 2 of 3

longt61
Advocate
Advocate

I am not sure why I couldn't attached a .rvt file.  If any of you need it for further inspection, please let me know and I 'll email you the file. Thank you all for your time.

0 Likes
Message 3 of 3

hanywillim
Enthusiast
Enthusiast

Bro, May you share with the Python API code to get the array length for a rebar?

0 Likes