Hi All,
Greetings for the day,
i want to calculate the Elevation (distance) of selected family instance with respect to Floor or Level below it,
How to get the floor or level which is below the selected family instance.if at all i get it how to get the elevation of it with respet to that level.
Thanks in adavance
Regards
Kailash Kute
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Hi All,
After going through the link
http://help.autodesk.com/view/RVT/2014/CSY/?guid=GUID-B3EE488D-2287-49A2-A772-C7164B84A648
i find out answer to my question i have posted, But the answer is valid only if i have my below element as Floor.
If i have Level as my below element then the ray passed doesnt give me any distance (proximity),
now my question gets filtered here, that is How to find Intersection with Level?
Regards
Kailash Kute
Dear Kailash Kute,
If all you need is the discance between the faily instance and the level, I see a possibility for a MUCH easier approach:
Ask the family instance for its bounding box and determine its bottom Z coordinate Z1.
Determine the elevation Z0 of the level.
The distance you seek is Z1 - Z0.
I hope this helps.
Cheers,
Jeremy
Thanks jeremy Sir,
a little bit of work around with points got from bounding box and done,
wow really a MUCH easier approach.
Regards
Kailash Kute
Dear Kailash,
Thank you for your appreciation and confirmation.
I published an edited version of the important points now:
Cheers,
Jeremy
Dear @jeremytammik ,
Can you please explain, how can i get elevation Z0 of the level?
Look at the Level class members, and search for elevation:
https://www.revitapidocs.com/2020/42715128-e45b-1c56-25fa-84a0855a3012.htm