Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [VBA - V8i] How to access the text portion of a dimension?

$
0
0

Hi,

[quote user="MaryB"]Is that just the value of the piece of text, or is it the actual text piece so that I can change the format?[/quote]

What about to consult MicroStation VBA help file? It contains the answer already:

[quote user="MaryB"]so that I can change the format?[/quote]

I am not sure what do you mean by "format".

  • How dimension values (numbers) are displayed is defined in dimension style. So if you want to change it (leading / trailing zeros, justification...), you have to change a proper setting in the style.
  • If you want to override the value and to replace it by own text (which is bad idea in the most of situations), you can use PrimaryText property.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>