# Error expects argument type (BimOrphnode)

**URL:** <https://forum.dynamobim.com/t/error-expects-argument-type-bimorphnode/82115>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [October 17, 2022, 4:16am UTC](https://forum.dynamobim.com/t/error-expects-argument-type-bimorphnode/82115 "2022-10-17T04:16:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![awaludinyanuar23](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@awaludinyanuar23](https://forum.dynamobim.com/u/awaludinyanuar23)\
**Post date:** [October 17, 2022, 4:16am UTC](https://forum.dynamobim.com/t/error-expects-argument-type-bimorphnode/82115/1 "2022-10-17T04:16:17Z")

</div>

I have warning error in my node from Bimorphnode (ByRayBounce node),if i connect node from Curve.PointAtSegmentLength point to LinkElement.ByRayBounce Origin will show the warning (Warning: LinkElement.ByRayBounce expects argument type(s) (Autodesk.DesignScript.Geometry.Point, Autodesk.DesignScript.Geometry.Vector, Revit.Elements.Views.View3D, Revit.Elements.Category, bool), but was called with (Autodesk.DesignScript.Geometry.Point, Autodesk.DesignScript.Geometry.Vector, Revit.Elements.Views.FloorPlanView, null, bool).  
Anyone can have same issue like this and know how to fix this?  
please help me,thanks

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/c/dc1fc345f22ac11309152fe3622d5c5cbd30d3e5.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [October 17, 2022, 4:19am UTC](https://forum.dynamobim.com/t/error-expects-argument-type-bimorphnode/82115/2 "2022-10-17T04:19:41Z")

</div>

Hello @awaludinyanuar23 and welcome 😉 think you need feed in the category you will hit, and a bool for nearest…

---

<div class="post-metadata">

**Author:** ![awaludinyanuar23](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@awaludinyanuar23](https://forum.dynamobim.com/u/awaludinyanuar23)\
**Post date:** [October 17, 2022, 4:27am UTC](https://forum.dynamobim.com/t/error-expects-argument-type-bimorphnode/82115/3 "2022-10-17T04:27:41Z")

</div>

i try to make this script from the video on youtube,in the video node Byraybounce only have 3 option which is (Origin,Direction and geometry).  
i dont know what version package they use for the video,when i try my node have 5 option.  
and the warning error appear when i connect point to origin

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [October 17, 2022, 4:39am UTC](https://forum.dynamobim.com/t/error-expects-argument-type-bimorphnode/82115/4 "2022-10-17T04:39:56Z")

</div>

It looks like your current view might not be a 3d view. Try using the views node to select a 3d view instead maybe.

Bimorph nodes has changed since my video was uploaded, this is quite common for custom nodes.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [October 17, 2022, 4:44am UTC](https://forum.dynamobim.com/t/error-expects-argument-type-bimorphnode/82115/5 "2022-10-17T04:44:33Z")

</div>

Sounds like they use ootb raybounce or a older bimorph but dont think ootb support links…other option is dashapes or sparrow and as Gavin say raybounce expect 3D views
