import rhinoscriptsyntax as rs
# Get all text objects in the DWG file
all_objects = rs.AllObjects()
text_objects = [obj for obj in all_objects if rs.ObjectType(obj) == rs.filter.annotation]
# Loop thru all text objects and change the font, size, and alignment
for text_object in text_objects:
rs.TextObjectFont(text_object, "SIMPLEX")
rs.TextObjectHeight(text_object, 2.000)
Ive been trying to add the following text justification to include:
TopCenter
BottomCenter
Any help on how to proceed would be greatly appreciated .
2 posts - 2 participants