This worked so well the last time, I figured I would try again with another problem I am having.
I want to be able to create a label that is anchored to the middle of the line. So if the user later wants to move the position of the label, the arrow will stay pointed to the middle of the line regardless of where the text is moved to.
Right now, the arrow and the text move together.
Here is my code
model = Sketchup.active_model entities = model.entities pt1 = [0, 0, 0] pt2 = [0, 350, 0] new_line = entities.add_line pt1, pt2 coordinates = [0, 175, 0] new_text = entities.add_text "West Property Line", point, [100,100,0]
Thanks for the help.