AutoCAD ARX, MS C++ 6 and type troubles...
Posted on 2002-07-01
I'm writing an AutoCAD ARX module in MS VC++ v6;
I'm creating a TEXT object like this:
the most important thing here is that my text pointer is
of type acdbText or something like that....
..also I need to call a function acutTextBox I think was the name, which accepts as parameters 3 vars, the first one being of type struct resbuf*
Is there a way to convert my pointer to that type, so I dont need first to close the object, then to get it from AutoCAD, to open it again,to modify it and finally to close it again.
I need this text box thingy to get the size of the text, so I can center justify it..... if somone knows a better way of doing this - I'm ready to listen ;)
Thanx in advance!