deadalvs Posted May 31, 2014 Share Posted May 31, 2014 hi .. I tried to figure out how I can set the font when creating a text node in python .. ( I try to follow the code see here: www.warshaw.co.uk/links/scatteredTime.py , but just want to edit the font type.) Any input welcome ! m. Quote Link to comment Share on other sites More sharing options...
animknight Posted June 1, 2014 Share Posted June 1, 2014 First get the font sop that you have created. fontSop = hou.node("/obj/geo1/font1") then you can do something like this. fontSop.setParms({"file":'Helvetica-Bold'}) Hope this helps. Cheers -J Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.