# Rotate point 90 degrees

**URL:** <https://forum.dynamobim.com/t/rotate-point-90-degrees/77807>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [June 20, 2022, 7:40am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807 "2022-06-20T07:40:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![technitutors](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@technitutors](https://forum.dynamobim.com/u/technitutors)\
**Post date:** [June 20, 2022, 7:40am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807/1 "2022-06-20T07:40:01Z")

</div>

Hi All. The script below works well with vertically aligned bars. But not sure how to get it so that it tags horizontally aligned bars. Has something to do with the surface parameter, but not sure what the node is

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/2/b28a434eab5cc0ff7e5e13f0969ff69425c666f6.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [June 20, 2022, 8:05am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807/2 "2022-06-20T08:05:40Z")

</div>

@technitutors ,

i am not shure, if a tag is rotatebale, normaly you use spacetap to rotate…

but it could work this way:

```auto
increment = IN[0]
OUT = []

if increment == True:
	OUT.append(0)
elif increment == False:
	OUT.append(90)

```

 ![2022-06-20_10h04_06](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/0/e0ce68348774d0698bb99bc61c65ab85b2c87df5.png)

---

<div class="post-metadata">

**Author:** ![technitutors](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@technitutors](https://forum.dynamobim.com/u/technitutors)\
**Post date:** [June 20, 2022, 8:48am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807/3 "2022-06-20T08:48:22Z")

</div>

I assume where the point.origin is would be replaced by this node?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/8/e8847a3d79a244484c8fa70b41c26c8a4a0df673.jpeg)

Error I am getting is this. So somehow need to rotate the dimension first before selecting the rebar

Warning: Annotation.MultiRebarAnnotation operation failed.  
some references can’t be used with a DimensionStyleType Linear dimension of this direction. References must either appear as points in the view or be linear references which are perpendicular to the dimension line.  
Parameter name: options

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/b/5ba3a35322c88eace423b11fb84885d47b20142d.png)

---

<div class="post-metadata">

**Author:** ![technitutors](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@technitutors](https://forum.dynamobim.com/u/technitutors)\
**Post date:** [June 20, 2022, 9:39am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807/4 "2022-06-20T09:39:19Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/8/68af940fdac65e66f2428060ea38d7876e01af2f.png)  
solved it. The input is boolean. But now its overtagging

---

<div class="post-metadata">

**Author:** ![technitutors](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@technitutors](https://forum.dynamobim.com/u/technitutors)\
**Post date:** [June 20, 2022, 10:22am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807/5 "2022-06-20T10:22:31Z")

</div>

@Draxl_Andreas is there a way to displace a certain coordinates by say 10 or 20? now my tag is sitting right on top of the dimension

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/4/34c4ffb1251abca54824b54898010a948f3daf7a.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/2/126c5543ebfe0505268e4727b2fba5ba48c086cf.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [June 20, 2022, 10:45am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807/6 "2022-06-20T10:45:30Z")

</div>

@technitutors ,

maybe you can set your Tag with these  
 ![2022-06-20_12h44_38](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/a/1aafa12b4d662156acf79be8780bb2f615e4ccdc.png)

---

<div class="post-metadata">

**Author:** ![technitutors](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@technitutors](https://forum.dynamobim.com/u/technitutors)\
**Post date:** [June 20, 2022, 10:52am UTC](https://forum.dynamobim.com/t/rotate-point-90-degrees/77807/7 "2022-06-20T10:52:52Z")

</div>

Im already setting the tag, its just the point to offset

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/b/7be4cd2b93d78bc994288eb548cbfcbc4fc825f8.png)
