×
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

Text wrapping in Title block
2

Text wrapping in Title block

Text wrapping in Title block

(OP)
I have been looking fro away to wrap text on to another line in the titel block. I have searched thru the post and other sites but can't seem to get it to work.

Has anyone found the way to do it?

I want to insert the Title from summary page one.

thanks

RE: Text wrapping in Title block

http://www.scottjbaugh.com/Tips_Tricks/Wrap_Text.htm

There is that information. It doesn't hit the exact issue but it does explain it and it might work for you if you used a DT.

Other wise there is no other way to wrap the text when your entering it from the Summary page. Doing an enter while in the text box will wrap the text, but there is no way to my knowledge to do this in the summary info area.

Maybe someone else has found a way???

Regards,

Scott Baugh, CSWP to me
http://www.3dvisiontech.com
http://www.scottjbaugh.com

Have you read FAQ731-376 to make the best use of Eng-Tips Forums?

RE: Text wrapping in Title block

As Scott said, I use a Design Table for that.  It works well for us.

RE: Text wrapping in Title block

2
    NewLine = Chr$(13) & Chr$(10)   ' Line Feed or Enter
RetVal = Part.AddCustomInfo("Title1", "Text", UCase$(txtSfDrawingTitle.Text _
& NewLine & txtSfDrawingTitle2.Text))

Bradley

RE: Text wrapping in Title block

Sorry, I forgot the text that went with the code to explain it.

I use a different approach for this one. In a Visual Basic (VB) program the user enters the 1st line of text in one box then the 2nd part of the title in the next text box. The VB program combines these together with a line feed (see code below). SolidWorks see this as a line feed and puts the second line of description on line 2.

    NewLine = Chr$(13) & Chr$(10)   ' Line Feed or Enter
RetVal = Part.AddCustomInfo("Title1", "Text", UCase$(txtSfDrawingTitle.Text _
& NewLine & txtSfDrawingTitle2.Text))

Bradley

RE: Text wrapping in Title block

I do not think you need the carriage return.  I only use the linefeed and get the same results.

RE: Text wrapping in Title block

I set up an extra custom property in the part mode  called "Description2" along with "Description" and modified my drawing templates.

$PRPSHEET:"Description"
$PRPSHEET:"Description2"

Example:   FUEL PUMP, MAIN ENGINE
                 ASSEMBLY OF
This way it fills in automatically when I'm designing a and new part and making a drawing of that part. Two......it drives the custom properties of PDMworks. This will allow you to do wild card searches.

I hope this helps,

Macduff

RE: Text wrapping in Title block

Macduff,
Yes that does work well. What we needed the line return for was the description in the BOM. By put in a line feed in the description the SolidWorks BOM would put in two lines of text.

Bradley

RE: Text wrapping in Title block

Bradley,
If you come up with a fix let me know. Base on your last comment, it might be help me out over here.

Macduff

RE: Text wrapping in Title block

Macduff,
My fix is stated above Jun 18

Bradley

RE: Text wrapping in Title block

We fill out our custom properties using a VB macro.  In the form there is a textbox for each property the users need to fill out.  The Properties for the Description textbox has a property called MultiLine which is set to True.

With this setting, our descriptions are multiline, as many lines as you want.

RE: Text wrapping in Title block

(OP)
MElam,
I don't supose you would be willing to share that VB macro fill with the rest of us? It sounds like you are doing just what we need.

thanks

rob Libby
robli@hazelett.com

RE: Text wrapping in Title block

We downloaded the macro years ago from the SolidWorks support area, Model Library.  It's under API/General near the bottom and labled as Custom File Properties.

It's a VB app we modified for our use and keep on the network, and the users run a small macro pointing to the .exe file.

If the download will not work for you, I could probably pack up our files and email them after making sure there is nothing proprietary.  I don't have anywhere to post.

RE: Text wrapping in Title block

(OP)
MElam,
  If you don't mind and are allowed, I would like to get your files to see what you have done.

rob libby

RE: Text wrapping in Title block

I just sent them.  Let me know if you have any problem.

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