# SpotCoordinate.ByPoint error

**URL:** <https://forum.dynamobim.com/t/spotcoordinate-bypoint-error/42316>\
**Category:** Packages\
**Tags:** clockwork\
**Created:** [October 24, 2019, 11:21pm UTC](https://forum.dynamobim.com/t/spotcoordinate-bypoint-error/42316 "2019-10-24T23:21:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [October 25, 2019, 1:20am UTC](https://forum.dynamobim.com/t/spotcoordinate-bypoint-error/42316/4 "2019-10-25T01:20:38Z")

</div>

Yes, but a vector (line/curve) from the origin.

See if this post can help you.  
[https://thebuildingcoder.typepad.com/blog/2010/01/spot-elevation-creation-on-top-of-beam.html](https://thebuildingcoder.typepad.com/blog/2010/01/spot-elevation-creation-on-top-of-beam.html)

Or this

> [@Spot coordinates](https://forum.dynamobim.com/t/spot-coordinates/27910/9):
>
> Maybe like this? Worked for me. import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import \* clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.GeometryConversion) clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager doc = DocumentManager.Instance.CurrentDBDocument v = UnwrapElement(IN[2]) r = UnwrapElement(IN[…

---

_[View the full topic](https://forum.dynamobim.com/t/spotcoordinate-bypoint-error/42316)._
