Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
hello,
i would like to ask you if it is possible to add a symbol in a table cell driven by a part relation.
for example, if PARAMETER_1==YES then PARAMETER_2==&sym(symbol_name)
thanks
Solved! Go to Solution.
I don't think there is any option for this.
thanks, but i do not find the way to modify one of that symbols in order to get what i need.
i would like to use a special charachter that symbolize a security issue like the one attached
I list two methods to embed a custom shape into a note. What won't work is assigning this via a parameter. Parameters are literal and are not parsed to see if there is any further expansion possible. If this function is required you'll need to hire a developer to create a toolkit application that will do a custom interpretation of your files. This function will probably need to be re-compiled, and possibly re-written, for each new release of Creo and installed for each user.
1) You can create a custom font source, then compile it, and then change the text to use that font for that one character. Commercial installs include the information and the tools to do this. Check the Guides/help for Fonts. The number of users that have done this is tiny. Usually it's limited to adding marks to tell "1" from "I" in the font named FONT.
I see that of late, Creo 3, PTC allows the choice of symbol_font via config option, but I expect they don't let the user select any but the two applicable fonts.
This won't work because the parameter can't hold the alternate font name for the embedded characters.
You can also use "&sym(symbolname)" in the note, where "symbolname" is the name of a symbol already added to the drawing, though it doesn't need to remain displayed.
This won't work with a parameter because the contents of parameters aren't evaluated, just taken as written and displayed.
I realize this is an old post, but I feel that I am close to a solution, that just wont work...
I have added this in the Repeat Region --> Relation
REG = ASM_MBR_REGULATORY
IF asm_mbr_regulatory != "N"
REG = "&sym(REGULATORY_CHARACTERISTIC)"
ELSE
REG = "N"
ENDIF
ENDIF
The results I get is the name of the text field populated in the table, however, I don't get a visual of the symbol.
If I create a standalone table I can get the symbol to show easily...