Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Formating Help 1

Status
Not open for further replies.

CPaul

Mechanical
Jul 14, 2010
84
Is there a code for a line break inside the table? I would like to put one after my text in one cell.
Also, can you put an identification symbol inside a table cell?

Thanks,
Chris
NX 7.5
 
Replies continue below

Recommended for you

If by 'line feed' you mean a return to start a new line, yes, it appears to work, but I suspect that it will only be recognized if you're typing it in manually.

As for symbols, as long as they are one of the special symbols defined inside the NX font file, such as those shown below, yes, that should work:

BLOCKFONTSpecialSymbols.jpg


John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
Ok. I was hoping there might be a code or something that I could add to a cell's suffix that would create a new blank line below it.

For the special symbols, we use ideas_simplex. How would I find the information for that font?

Thanks for the reply.
 
It appears that 'Ideas-Simplex', while it's based on a similar approach, it uses a totally different set of control characters. I'm working-up another chart similar to the last one, but based on how IDEAS did it and will post it as soon as it's complete.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
OK, it turns out that the IDEAS-Simplex font contains NO special symbols, unlike BLOCKFONT (but note that most of the NX fonts provided also are without any special imbedded symbols, or if there are any, they may not all follow the same naming scheme).

That being said, there is a COMMON set of 'special symbols' with can be used with ANY NX font and those are shown below:

NXCommonSymbols.jpg


I've also attached the image file in case you would like to download it for easier referencing in the future.


John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
Thanks John,
I found a similar table in the help files.
Searching for "control characters brings it up".

I also found this in the files:
"Line Spacing
<Zr>
You can vary the spacing between lines of text by assigning a value to the variable "r". The distance from one line of text to the next is "r" times the line spacing defined for the current font. To reset spacing to the default value, enter <Z>."

Don't understand which "variable" I'm supposed to be setting though.
 
Spoke too soon. replace the r with a number such as 2 and it will space double the normal spacing.
 
BTW, I'm still looking to see if there's some secret way to imbed a 'return' in a string of text, but so far, no joy, however I've still got a couple people I need to check with who might actually know, one way ot the other.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
John, look at my previous post.
I'm still just playing around but that <z> character works sort of.
If you style a table's cell to have a suffix of "<z>" and add a return followed by a space it will work.
That wording isnt too great so I'll attacha SS of what I did.
 
 http://files.engineering.com/getfile.aspx?folder=aa83aefe-5a33-4c66-a246-a17a94a3ec9d&file=return.jpg
putting a <z> on the next lines works as well
 
It's not clear how you think the <Z> entry will give a 'carriage return'. Can you supply a part file with this text being used as such?

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
UPDATE: I just checked with the programmer responsible for text/note objects in NX Drafting and she explained to me that there actually is NO 'carriage return' character which gets imbedded into a text object, even if I manually hit the return while typing it into the NX text editor, making it a multi-line note. In reality, what happens is that a second (or a third, etc) text string is simply 'appended' to the first text string entered. In other words, if you were to look inside a multi-line note you would not seen a single string of text with 'returns' but rather multiple strings of text.

Sorry, but there is no undocumented (i.e. magic) special character that can be inserted into a string of text that when displayed as a note on the face of an NX Drawing (or in a Table) will cause it to appear as a two-line note.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
Thanks for that info John. Attached is what I was talking about earlier. If you create a new line and put a "<Z>" in it, it will create a blank like.
<C> works as well and probably others too, I think it comes up blank because it is part of control character code.

John, one last question and we can conclude this thread. Is there a way to reduce the "cellpadding", space between the letters and the borderlines, in each cell? I figure there probably isn't, as it would probably be in the style section, but figured I'd ask just in case.
 
 http://files.engineering.com/getfile.aspx?folder=edd644b9-f724-4ca5-9482-45d3bbc32c5e&file=CR_example.prt
I still don't understand what exactly it is that you're trying to do.

If you're manually entering text into the 'cell' of a tabular note there is NO problem including a 'carriage return', as I stated that in my first reply to you last Wednesday. If you edit the note in the cell and remove the manual 'carriage return' before the <Z> there is NO extra line in the note. In fact, if the <Z> is there or not, nothing changes. There is NOTHING special about <Z> or <C> or any of these other items except that they allow a 'carriage return' to exist with NO entry appearing. It's still the 'carriage return' that's doing all the work, it's just that the <Z> is a non-displayed 'place-holder'.

Now if THIS is what you've been attempting to do, then fine, but please don't think that the <Z> is causing the 'carriage return', it's simply preventing the actual 'carriage return' from not being removed. But if it works for you, go for it...

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
All I wanted was a blank line below what I typed in the table. Simply pressing enter to go to the next line when editing the text manually does not do this.
 
Haha, I guess so.

John< I don't know if you saw this in my previous post
"Is there a way to reduce the "cellpadding", space between the letters and the borderlines, in each cell? I figure there probably isn't, as it would probably be in the style section, but figured I'd ask just in case."

Just something I was wondering.

Thanks again.
 
I suspect that this is based on the size of the characters used. I tried changing the various text options (under Style) and even changing the 'Space Factor' only seemed to effect the distance between TWO letters and not the space before or after as did the 'Line Space Factor', only effecting the distance between lines but not effecting the above or below spacing. However changing the Character Size did change it and as best I could tell, proportionately (i.e., twice the character size, twice the 'cellpadding').

And yea, you have no control over that.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor