CADTutor: The best free help for AutoCAD on the web

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Go Back   AutoCAD Forums > AutoCAD > AutoCAD 2D Drafting, Object Properties & the Interface

Reply
 
Thread Tools
Old 4th Nov 2009, 09:11 pm   #1
beardking
Junior Member
 
Using: AutoCAD 2009
 
Join Date: Dec 2008
Posts: 11
Default Detail title - Dynamic Block ?

I have attached my current block that I use for labeling my details on sheets. I'm trying to learn how to make dynamic blocks and I'm not having the best of luck just yet. What I'd like to be able to do is make this block dynamic and make it so that it has a list of scales that you can pick from. When you pick a scale (say 3/4"=1'-0") it will automatically fill out the "scale" attribute.

Another thing I'd like to do is instead of having to use %%U to underline the title, I'd like the little line attached to the circle (delete the underline and you'll see it) to stretch automatically with the length of the title text.

I'm not sure if all of this is possible, but if someone could adjust the attached block to get me started, I would appreciate it.

Thanks,
KK
Attached Files
File Type: dwg DTLTITLE.dwg (46.1 KB, 8 views)
beardking is offline   Reply With Quote
Old 5th Nov 2009, 03:57 am   #2
edwinprakoso
Junior Member
 
edwinprakoso's Avatar
 
Using: AutoCAD 2010
 
Join Date: Nov 2009
Location: Jakarta, Indonesia
Posts: 13
Smile

I tried something else. Try open my attachment, and see on the layout.
Change the viewport scale, and regen. Your scale will be automatically updated. I use field for this attribute definition.
You can create a scale list like you want with visibility state, but I think this is better.
For the underline, I can't find out how to automatically stretch it. But I add stretch function so you can adjust the line length.
Does it close to what you need?

--
Edwin Prakoso
Attached Files
File Type: dwg DTLTITLE-NEW.dwg (91.4 KB, 7 views)
edwinprakoso is offline   Reply With Quote
Old 5th Nov 2009, 05:34 am   #3
SuperCAD
Senior Member
 
SuperCAD's Avatar
 
Using: AutoCAD 2008
 
Computer Details
 
Join Date: Sep 2008
Location: WI, USA
Posts: 188
Default

Look on your A10 sheet. This is the viewport title that I use. All you would have to do is add a number attribute to it, but I think this is what you're looking to do with the scales.
Attached Files
File Type: dwg DTLTITLE.dwg (41.7 KB, 9 views)

Chuck Norris counted to infinity...


Twice.
SuperCAD is offline   Reply With Quote
Old 5th Nov 2009, 05:06 pm   #4
beardking
Junior Member
 
Using: AutoCAD 2009
 
Join Date: Dec 2008
Posts: 11
Default

Quote:
Originally Posted by SuperCAD View Post
Look on your A10 sheet. This is the viewport title that I use. All you would have to do is add a number attribute to it, but I think this is what you're looking to do with the scales.
That's almost what I was thinking. I put my detail titles in model space with the detail, so I would like it if when I select the scale, that is scales up the title to the correct size. (i.e., for 1:1, the block would stay the original size, but for 3"=1'-0", the entire block would be upsized by a factor of 4).

Thanks,
Beardking
beardking is offline   Reply With Quote
Old 5th Nov 2009, 05:11 pm   #5
beardking
Junior Member
 
Using: AutoCAD 2009
 
Join Date: Dec 2008
Posts: 11
Default

This one works fairly well if being used in paper space, but I can't figure out how to adjust the field (never used fields before). Currently with this block, if I adjust the viewport to be 1/8" = 1'-0" the scale changes to show 1" = 7.99974".

Of course, like SuperCAD's block, these would work best in paper space and I label my details in model space. (I work in an office of about 50 other people that would be using these blocks so I can't disrupt the status quo too much at one time )



Quote:
Originally Posted by edwinprakoso View Post
I tried something else. Try open my attachment, and see on the layout.
Change the viewport scale, and regen. Your scale will be automatically updated. I use field for this attribute definition.
You can create a scale list like you want with visibility state, but I think this is better.
For the underline, I can't find out how to automatically stretch it. But I add stretch function so you can adjust the line length.
Does it close to what you need?

--
Edwin Prakoso
beardking is offline   Reply With Quote
Old 5th Nov 2009, 05:11 pm   #6
SuperCAD
Senior Member
 
SuperCAD's Avatar
 
Using: AutoCAD 2008
 
Computer Details
 
Join Date: Sep 2008
Location: WI, USA
Posts: 188
Default

You can set the block to allow for annotative scaling (i.e. it will increase or decrease just like the text and dimensions) but I don't think there is a way to automate the scale that is shown in the tag. I think you still have to set that manually.

Chuck Norris counted to infinity...


Twice.
SuperCAD is offline   Reply With Quote
Old 5th Nov 2009, 05:17 pm   #7
SuperCAD
Senior Member
 
SuperCAD's Avatar
 
Using: AutoCAD 2008
 
Computer Details
 
Join Date: Sep 2008
Location: WI, USA
Posts: 188
Default

Quote:
Originally Posted by beardking View Post
(never used fields before)

You poor soul

We just started using fields here not too long ago and it's made our lives easier. It works especially well for the title block information (customer, project title, address, etc) and updates all of the sheets at the same time, rather than going page by page and changing it.

Chuck Norris counted to infinity...


Twice.
SuperCAD is offline   Reply With Quote
Old 5th Nov 2009, 05:35 pm   #8
beardking
Junior Member
 
Using: AutoCAD 2009
 
Join Date: Dec 2008
Posts: 11
Default

Quote:
Originally Posted by SuperCAD View Post
You poor soul

We just started using fields here not too long ago and it's made our lives easier. It works especially well for the title block information (customer, project title, address, etc) and updates all of the sheets at the same time, rather than going page by page and changing it.
Yeah, the fact that not everyone in the office is on 2008 or above (we have a few on 2008, a couple on 2009 and the rest on 2004) makes learning and using these new features kind of difficult. Especially considering the fact that of those on 2008 or 2009, I'm the only one that actually likes to learn and use the new features.
beardking is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple dynamic constraints in a dynamic block Huibert AutoLISP, VBA, the CUI & Customisation 0 16th Jul 2009 11:13 am
How can I create one dynamic block out of two dynamic blocks MikeP AutoCAD General 5 26th Jun 2009 04:50 pm
Dynamic Title Block Insertion Failure SuperCAD AutoCAD Drawing Management & Output 2 23rd Sep 2008 12:00 am
Dynamic block with dynamic attributes Helenka AutoCAD Drawing Management & Output 7 20th Aug 2008 09:55 am
Block detail MrMaggs AutoCAD Drawing Management & Output 11 1st May 2008 04:29 pm

Why Donate?


All times are GMT +1. The time now is 10:23 am.

RSS Feed for AutoCAD ForumsValid XHTML 1.0!Valid CSS!Creative Commons Licence