Is there a way to get Text Content from a Multileader?

I’m looking through the dir(obj) of the InternalDBObject and I don’t see a way of grabbing text contents. There’s an option for seemingly everything else BUT the text content of the MLeader. Any pointers y’all could give me?

This should do it.

OUT = IN[0].InternalDBObject.MText.Text

1 Like

Any idea why all calls to MText would return null?

1 Like

Nope. That’s a Civil 3D Toolkit issue.

1 Like

You’re correct - calling MLeader.MText.Text from python returns the correct text contents of the multileader. I’d incorrectly assumed that, if the toolkit node didn’t work, the python call wouldn’t work either. I’ll keep this in mind in the future