draetsch

draetsch

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Python expressions in Textfields Nov. 10, 2010, 9:34 a.m.

stupid me,

Thank you very much.

Python expressions in Textfields Nov. 10, 2010, 5:13 a.m.

Hi there,

I am trying to use a python expression in the textfield of the Font SOP.
To be more specific I am trying to use this:
hex(1)

The problem is, that the Font SOP now writes the expression as text and not the result of the expression.

How can I calculate the result of the expression in the text field?

Thanks for your help.

import points to pop July 28, 2010, 2:06 p.m.

Yes, this is perfect.

Thank you very much!
What I don't get though is that the npoints expression returns the number of points (so, an integer, right?) Where are the point positions coming from?