Skip to main content
1-Visitor
October 29, 2015
Solved

hide table cell contents in drawing

  • October 29, 2015
  • 7 replies
  • 6243 views

Dear All,

Is there any way to do the trick? Like the command "@O" for overriding dimension values...

I have a table with cells containing data based on model paramteres (mass, volume, etc), that I don't want to be displayed.


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.
Best answer by dschenken

You can create a repeat region parameter that will either display the desired value or display an alternate value.

Instead of the report entry being like asm.mbr.Parameter_name it will be something like rpt.param.Parameter_name

Steps: Create a repeat region relation:

if exists(asm_mbr_mass)

regionmass = asm_mbr_mass

if asm_mbr_name =="Not this one"

  regionmass = "N/A"

endif

endif

Then the table symbol will be &rpt.param.regionmass.

You can use the exists() function to eliminate the test for name by either including a parameter only in the ones that are useable or only in those that are not; simple programming choice.

You'll need to check some of this; I'm away from my primary reference material collected from the scattered bits in Creo help.

7 replies

1-Visitor
October 29, 2015

You could create a drawing layer & add tables to the layer, then hide them. The only problem i see with this is, you cannot hide individual table cells, only the whole table, but i guess it could work for you depending upon how your cells appear. You could just edit the height of the text within the cell, make it 0.0001 tall, thus making it not visible within the cell.

Regards

John

12-Amethyst
October 29, 2015

Could you clarify just what you're looking for here?  Are you trying to scrub data from a drawing before giving it to someone who shouldn't know some things?  Maybe you have a repeat region where you call out the mass of each part, except you have a couple parts you want to leave out?  Something else?

gcsillagh1-VisitorAuthor
1-Visitor
October 29, 2015

Matthew Ender wrote:

Are you trying to scrub data from a drawing before giving it to someone who shouldn't know some things?

Sort of.

The model is rough. It is in test phase without radii, drafts, etc. For evaluation only. If the mass is included in the drawing it might mislead the customer due to the weight difference between rough cut and finished state.

12-Amethyst
October 29, 2015

Interesting.  Consider putting a 'For evaluation only - geometry and mass properties not final' or such note on instead?  If it were me, I'd be saving a copy of the drawing to provide as the evaluation, and then you could 'RMB>Delete Contents' on the appropriate cell (or region template row cell), or perhaps change it from a callout to the plain text TBD or the like.  If you are keen to have future versions built from this one, then the suggestion of changing the text style > height to something extremely small would be my next choice.

12-Amethyst
October 29, 2015

Search for repeat region relations... you can do just about anything with them.

Good luck.

StephenW
23-Emerald III
October 29, 2015

So the simple answer is to just delete the columns you don't want to display.

If you are giving a paper copy or pdf copy of the drawing, redact (blackout the cells you don't want them to see)

As David said, repeat region relations will do what you want but they can be hard to figure you if you've never used them.

If you took a screenshot of your table and attached the image to your post, you will likely get more specific answers.

dschenken1-VisitorAnswer
1-Visitor
October 30, 2015

You can create a repeat region parameter that will either display the desired value or display an alternate value.

Instead of the report entry being like asm.mbr.Parameter_name it will be something like rpt.param.Parameter_name

Steps: Create a repeat region relation:

if exists(asm_mbr_mass)

regionmass = asm_mbr_mass

if asm_mbr_name =="Not this one"

  regionmass = "N/A"

endif

endif

Then the table symbol will be &rpt.param.regionmass.

You can use the exists() function to eliminate the test for name by either including a parameter only in the ones that are useable or only in those that are not; simple programming choice.

You'll need to check some of this; I'm away from my primary reference material collected from the scattered bits in Creo help.

1-Visitor
October 30, 2015

Are you trying to keep a Family Table column from appearing on the drawing? If so, you can filter out that specific column.

Once the table has been placed on the drawing, select the following:

Table > Repeat Region > Filters > [Select the Family Table on the drawing] > By Rule > Add

In the dialog box, enter the following: &fam.inst.param.name!= <Parameter Name in the Family Table>  (without the symbols < >)

Click the green check mark twice. If the text was entered correctly, the column will disappear.

gcsillagh1-VisitorAuthor
1-Visitor
October 30, 2015

Thank you all for the tips.

The ultimate solution might be the one suggested by David, but shrinking text is a viable alternative as a temporary fix.