Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
You could try something like
myTextElement.fill = "{Ref '25% Gray' 100}" ,
myTextElement.fill = "{Ref '$ISO_BLACK' 25}"
or
myTextElement.fill = "{RGB 191 191 191}"
