Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

How to Wrap text in repeat region cell?

hstoilov

New member
Hi to everyone!

I have created a table with simple repeat region. The last column (7 columns total) contains parameter "&asm.mbr.DESCRIPTION". In part mode in the relations dialog box I enter the value for the parameter DESCRIPTION. But the text is too long and in the table it exceeds the width of the cell and covers the text in the left cell, so it is hard to read both cells. The width of table is limited to 200mm - it has to be placed on A4 sheet
smiley19.gif
.

Is there any way to wrap the text for this particular column?
 
Thanks, Vlad,

I forgot to mention that I am using WF 3.0 M050. If I change the width of this column I have to reduce the width of other columns (the width of table can not change, because BOM has to be separate document, not in assembly drawing). If I change the font size the text will become unreadable.
 
select the table cell double click (should bring up the editor for text properties) then pick format-> Wrap (not sure if it will work for repeat regions)
 
What I have found is that you cannot wrap a parameter in a repeat region. I may be wrong about this, but I haven't been able to do it.

The way I manage it is:

1. Create a note in the part by right clicking on the part name in the model tree and click "Setup Note - Part". Type in the description text in the note. Make a note of the Note ID number

2. Open the parameter listing and add a note parameter (Change the type to NOTE) and type the note ID number from the previous step as the Note Parameter value. Name the note parameter "Desc_Note".

3. Go into the relations and change the drop down from Initial to Post Regeneration. Make a relation DESCRIPTION = DESC_NOTE

Now, when you display the DESCRIPTION parameter in the Repeat Region, it displays the note, which can be as many lines as needed.

I hope this all makes sense. It works for me, though it is a little more work.

Jim
 
Hi all (and especially conrat),


I'm trying to do something similar, except the repeat region region part. But it fails before that anyway. I followed the steps :


1. Create a note in the part by right clicking on the part name in the model tree and click "Setup Note - Part". Type in the description text in the note. Make a note of the Note ID number

2. Open the parameter listing and add a note parameter (Change the type to NOTE) and type the note ID number from the previous step as the Note Parameter value. Name the note parameter "Desc_Note".

3. Go into the relations and change the drop down from Initial to Post Regeneration. Make a relation DESCRIPTION = DESC_NOTE




But the result I get after entering the relation is the the note ID becomes the value of parameter description, as shown on the image below. And no, before you ask, "1" is not what I've typed in the text field of the note :)


I use WF3 M110. Can anyone indicate me what I've done wrong?


Regards,


Mathieu
 
That's what you will see in the parameters list. You won't see the text until you go into the drawing and type &description in the repeat region or as a note.
 
Yeah, what kdem said....

Sorry I wasn't clear on this in the previous post. The description param now references the note ID. Remember changing the param TYPE to note. It is what is contained in the note that gets passed when you display it in a drawing.

One other thing to point out, you don't actually need to set the relation. You could have pointed the DESCRIPTION directly to the note ID in the local parameter field instead of setting the DESC_NOTE to it and then setting DESCRIPTION equal to DESC_NOTE. The key is to make the param type a note and reference the note id you need to assign.

However, say you want to vary the note based on something. Then you could set up multiple notes and use the relations to control which note id DESCRIPTION gets assigned.

Jim
 

Sponsor

Back
Top