Matthias Schwarz Posted March 13, 2019 Share Posted March 13, 2019 Hi all, I like to modify the text size (e.g. enlarge 10x) of a dimension object in a PIO. I tired both ovDimTextSizeInPoints and ovDimFontSize. I can read these variables, but when I set them no effect? At least GetObjectBounds() never gives a changed value, even after ResetObject(). Are these values ReadOnly or i missed something here. TY + BR Matthias Quote Link to comment
Cmb Posted March 22, 2019 Share Posted March 22, 2019 If you look at the drawing Tree or try to ungroup your Dimension object (CTRL + U), you will find out that there are Lines Nodes and a Text Node : You can then easily change the charSize of the Text Object with for example : virtual void ISDK::SetTextSize(MCObjectHandle textBlock, Sint32 firstChar, Sint32 numChars, WorldCoord charSize); Best, Quote Link to comment
Matthias Schwarz Posted March 27, 2019 Author Share Posted March 27, 2019 Hi Cmb, this looks like the way to go, we actually work already with the VWTextBlockObj inside of dimension objects. Thank you 🙂 BR Matthais Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.