I need to add text to a drawing that may have a modelspacescale different from 1, but the text needs to drawn at the specified height, ie modelspacescale = 1.
I can’t alter the modelspacescale document wide as other parties may be adding text as well.
I can’t see a setting on the text entity for this.
I have tried temporarily changing the modelspacescale to 1 whilst I add the text, like below, but it doesn’t work.
Any idea how i can do this?
tsc = doc.ModelSpaceTextScale doc.ModelSpaceTextScale = 1 guid = doc.Objects.AddText(txtent, atts) doc.ModelSpaceTextScale = tsc