×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-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!

*Tek-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

Multi-line attributes

Multi-line attributes

Multi-line attributes

(OP)
This should be simple, but it's not working.  Thinking there's a checkbox or a setting I missed somewhere, hopefully someone has found the missing setting I'm fumbling for.

Using the attdef command to set attributes for text in a title block.  Simple, except for that little tickbox that you check for multiline text.  

I set the Project Title as multiline text, with a 5" boundary, justified middle center so it will multiline at the boundaries...or so I thought.

The dialog box comes up just fine when you insert the block, but when you type in the long project title, it comes in left justified and one line of text, stretching beyond the titleblock.

I'm messing around with variables and whatnot to get this field to fill in automatically on each sheet, etc..etc.  The multiline stuff has me beat though.

Any ideas?

RE: Multi-line attributes

(OP)
Ah, this might help...  LDD 2008 is the current software we're working with.

RE: Multi-line attributes

I played with it-

if I defined a default string (and a width?) in the attdef dialog box using the multiline text editor, I didn't get multiline attributes.  But if I used the option "boundary width" in lower right corner I did get the multi-line effect.

RE: Multi-line attributes

(OP)
Thanks Carl...this is strange.  Want to see something stranger-er?  That block you just made that didn't work?  Do a plot preview on it...it shows up in the plot preview as stacked multiline text, just not in the display on screen.

I can't get it to stack on screen with any of the options it seems.  Maybe it is broken.

RE: Multi-line attributes

(OP)
Every time I get closer to the answer the question changes.  Hopefully someone has found a solution for what should be a simple problem.

Title block
-Project Title
--should be multiline text.

I know the block name (TB_24x36), I know the tag for the attribute on each tab I want to change (PTITLE)

It should be relatively simple to ask for user input with the following...(setq TB1 (getstring 1 "Please enter the project title:"))...then pass the variable on to the attribute to be updated on each sheet

But multiline text falls through the cracks here.  No multiline for attributes...fields...

RE: Multi-line attributes

How are you trying to edit the attribute with the user input?  With "-attedit" command, or 'entmod' the attribute group code info using Lisp?  It should be possible with entmod, don't know about attedit.

RE: Multi-line attributes

(OP)
Was probably headed the entmod route, but it just doesn't look like it's going to work with attributes.  Doing a little reading, and it looks like an Mtext field can be used in Sheet Manager for that purpose, but haven't had much experience with that part of the software.

RE: Multi-line attributes

FYI, I tried an 'entmod' of an mtext attribute and it worked.  It had to be a little different than a text attribute, for some reason there was multiple group code 1 entries; needed to modify the last one.

I don't know exactly what your doing or much about Sheet manager so can't help there.

RE: Multi-line attributes

(OP)
Yeah, I haven't spent much time in the Sheet Manager either, always seemed to be too buggy to depend on.  Basically, just trying to set a variable so that variable will be applied to the project title field in every sheet...so you don't have to type the same information every sheet.  Run a lisp, input/dialog box pops up asking user what the title is, they type in the title, and all the sheets in the set are updated.  

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 Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

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

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close