@thomthom said:
@z11 said:
What method Sketchup to construct a dimensional line
No access to dimensions via the Ruby API.
Thanks for the answer.
It is a pity.
@thomthom said:
@z11 said:
What method Sketchup to construct a dimensional line
No access to dimensions via the Ruby API.
Thanks for the answer.
It is a pity.
I should draw simply in model a dimensional line.
What method Sketchup to construct a dimensional line
ruby script draw square
model = Sketchup.active_model
entities = model.entities
pt1 = [0.m, 0.m, 0.m]
pt2 = [10.m, 0.m, 0.m]
pt3 = [10.m, 10.m, 0.m]
pt4 = [0.m, 10.m, 0.m]
new_face = entities.add_face pt1, pt2, pt3, pt4
How to receive the size of a line Sketchup rubi ?