Rotate point 90 degrees

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

1 Like

@technitutors ,

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

but it could work this way:

increment = IN[0]
OUT = []

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

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

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


solved it. The input is boolean. But now its overtagging

1 Like

@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

@technitutors ,

maybe you can set your Tag with these
2022-06-20_12h44_38

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

1 Like