cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Sketched text by using parameter shows asterisks if the is no parameter value.

jwagh
17-Peridot

Sketched text by using parameter shows asterisks if the is no parameter value.

We are creating a simple label family table. Some instances don't need anything written in one of the parameters. We want to simply leave it empty or put in spaces, such that nothing shows up. This isn't possible. The spaces become * characters in the instance. The only way to get around this weird behavior is to have the generic have empty spaces and use the * command (which isn't preferred) in the family table. Please change this behavior - it does not follow the design intent!

See https://support.ptc.com/appserver/cs/view/spr.jsp?n=2246595&source=Case%20Viewer

Thanks!


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2
KenFarley
21-Topaz I
(To:jwagh)

I've done things like this with relations. For example, a simple version of your situation:

(1) Make two parameters, string type, named "partnoOptionA" and "partnoOptionB".

(2) Use the two parameters as columns in the family table.

(3) Define relations that build the full part number, "partnoFull", using the two options.

partnoFull = "BASENUMBER"

if partnoOptionA != "<NONE>"

  partnoFull = partnoFull + "-" + partnoOptionA

endif

if partnoOptionB != "<NONE>"

  partnoFull = partnoFull + "-" + partnoOptionB

endif

So, if either of the options are indicated as "<NONE>" in the family table (or whatever you want to use for a no option field), they won't be added to the full part number.

jwagh
17-Peridot
(To:jwagh)

Thanks Kenny. Unfortunately in this case, the parameters are on separate lines. Sometimes there are 2 lines of text and sometimes 1. We want the paramter for the second line to be empty. The only way to do that is to have spaces in the generic and use the * for the instance.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags