After pulling my hair out for hours, I think I have finally figured it out. Setting the justification for text nodes can be done this way:
CadInputQueue.SendKeyin "active tnj lb"
To translate:
tnj = text node justification
lb = left-bottom
Jon Summers: Cleverbeans: Is there an easy way to post the code so that it's readable in this forum? DanPaul recommends this site for formatting source code as HTML. Regards, Jon Summers LA Solutions
Cleverbeans: Is there an easy way to post the code so that it's readable in this forum?
DanPaul recommends this site for formatting source code as HTML.
Regards, Jon Summers LA Solutions
Sorry to be hijacking a thread, but yesterday, I learned that my favorite stand alone text editor can export a HTML page honoring the syntax highlighting it is set to. And the program is freeware. I use it mostly for CFG files (set as unix shell language) and all of my InRoads XML and XSL editing. Notepad++ is its name. You need to get the XML plugin if you want it to do its XML magic.
We now return you to our regularly scheduled program.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration
Frank_Klein: Use "Change Text Attributes" in the text tool box!
This SHOULD be the answer to the problem. I think if the "Change Text Attributes" had a setting to "Hold Text Location" in which the text node would generally stay in the same location yet adjust the "Edit About Point" / "Justification". This setting as well as ALL others should bbe be able to change via "Element Information" (capture ALL settings with VBA recorder).
- Roy