MText.SetHeight Node

Hi All,

Is there an issue with the MText.SetHeight Node

I can’t seem to get it to create the mtext at the text height of 2. The node seems to set the Defined Height rather than the text height.

Thanks!

1 Like

If you use the MText nodes from the Civil 3D Toolkit then you can set the actual text height.

1 Like

Thanks @mzjensen the MText.ByPointTextRotation worked. Strange that MText.SetHeight Node doesnt work.

Well, it does work…just not in the way you were expecting :slight_smile:

1 Like

You can also use the object set parameter by name node from the toolkit and use “ActualHeight”

2 Likes

@mzjensen The node naming is misleading :joy:

@KirkWM thanks!

Is it possible to separate the mtext output so each one does not overlap?

Thanks!

You’d need to feed it a list of locations as well which matches the same count as the number of texts you are feeding it.

Just some follow up on this, as I had the same confusion. The below shows an example changing the text height as per @KirkWM’s suggestion to use the Civil3DToolkit Set Parameter node found in Object Extensions. One minor edit, it appears the parameter is “TextHeight”…or at least it was for me.

…and just to cover off the follow up question: 'How do I know what the parameter name is for the thing I want to change?

Also within the Civil3DToolkit is the Get Parameters node in Object Extensions.

1 Like