Carriage Return
Carriage Return
(OP)
The search function is down right now on the site and I remember reading about a carriage return that could be used to force text to another line. Can this be used in the file properties. I have a material description that is pretty long and needs to be. I want that exact material description showing up on the drawing without using multiple material file properties (i.e. material_1, material_2) and I need the text to wrap or be forced to another line using a carriage return. Is this possible?
Pete
Pete






RE: Carriage Return
Regards,
Scott Baugh, CSWP
http://www.3dvisiontech.com
http://www.scottjbaugh.com
If you are in the SW Forum Check out the FAQ section
To make the Best of Eng-Tips Forums FAQ731-376
RE: Carriage Return
I can get the carriage return in my file properties, but the note on the drawing that pulls in this file property info does not want to wrap at the carriage return. Instead it just shows the carriage return symbol without actually wrapping the info. Any ideas? Thanks.
Pete
RE: Carriage Return
Ken
RE: Carriage Return
I don't know about the SW BoM, but with the Excel BoM you can get a Carriage Return within a cell by doing this: make the cell a concation of multiple cells/text and wherever you'd put an [Alt]+[Enter] in normal Excel type &" and then hit the [Alt]+[Enter] and then do the closing "
So the following (all in one cell):
="Go"&" <---hit [Alt]+[Enter] after the last "
"&"Buckeyes!"
Will give (in that one cell):
Go
Buckeyes!
Ken
RE: Carriage Return
I just happened by the original post and it had another method in there to, see below.
Ken
>>>
Multi-lines in a BOM (single cell in Excel)
Use:
=A1&""&B1
as the formula but between the "" enter ALT and ENTER keystrokes.
Format the cell to enable wordwrap too...
Another way to make this work.
The 'alt-enter' character is also 'Char(10)' in ASCII.
So this will also work:
=A1&CHAR(10)&B1
Again, format the cell to enable wordwrap too...
<<<
RE: Carriage Return
Regards,
Scott Baugh, CSWP
http://www.3dvisiontech.com
http://www.scottjbaugh.com
If you are in the SW Forum Check out the FAQ section
To make the Best of Eng-Tips Forums FAQ731-376
RE: Carriage Return
RE: Carriage Return
"Note: Remove Relief" + Chr$(13) + Chr$(10) & "Bend Radius"
returns
Note: Remove Relief
Bend Radius
Good Luck
RE: Carriage Return
Follow the link I provided to you above.
This what I did:
1) Make a new part
2) Add a DT to that part
3) Add a property to the part e.g. - $prp@Description
4) I gave it a value - "This is a test to show a (I used the keyboard to make a Carriage return here, using this Combination of keys - Alt+Enter)Carriage Return"
5) I closed the DT and it made a new config
6) File\Properties\Configuration specific tab
7) There in my list is a description and it has my value plus it has a symbol indicating a Carriage return is there.
8) I started a drawing and added a note
9) I linked it to the Description property and wouldn't you know it. The text was forced down a line. e.g.
This is a test to show a
Carriage Return
Going back to Rule (7) - Since you now have the symbol for a Carriage return, you can copy that symbol out of the custom property and paste in other custom properties, notes, etc... and it will work fine. You don't have to maintain the DT to keep the Carriage return to work. You can delete it.
Regards,
Scott Baugh, CSWP
http://www.3dvisiontech.com
http://www.scottjbaugh.com
If you are in the SW Forum Check out the FAQ section
To make the Best of Eng-Tips Forums FAQ731-376
RE: Carriage Return
RE: Carriage Return
If your talking about something other than SW Custom Properties then I don't know what to tell you then. But I can make this work in SW without a problem. Heck I can even send you my example if you want it.
Regards,
Scott Baugh, CSWP
http://www.3dvisiontech.com
http://www.scottjbaugh.com
If you are in the SW Forum Check out the FAQ section
To make the Best of Eng-Tips Forums FAQ731-376
RE: Carriage Return
Pete