×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Table Formating Help

Table Formating Help

Table Formating Help

(OP)
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

RE: Table Formating Help

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:

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Table Formating Help

(OP)
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.

RE: Table Formating Help

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
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Table Formating Help

(OP)
ok thanks a bunch john.

RE: Table Formating Help

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:



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
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Table Formating Help

(OP)
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.
 

RE: Table Formating Help

(OP)
Spoke too soon.  replace the r with a number such as 2 and it will space double the normal spacing.

RE: Table Formating Help

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
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Table Formating Help

(OP)
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.

RE: Table Formating Help

(OP)
putting a <z> on the next lines works as well

RE: Table Formating Help

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
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Table Formating Help

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
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Table Formating Help

(OP)
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.

RE: Table Formating Help

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
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Table Formating Help

(OP)
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.

RE: Table Formating Help

(OP)
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.

RE: Table Formating Help

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
http://www.siemens.com/plm
UG/NX Museum:   http://www.plmworld.org/p/cm/ld/fid=209

To an Engineer, the glass is twice as big as it needs to be.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources