Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynamic Scale Bar

20 REPLIES 20
Reply
Message 1 of 21
ryanquigley2390
7658 Views, 20 Replies

Dynamic Scale Bar

Is it possible to create a scale bar block that will grab the scale of the drawing and update itself if the scale is changed? I attached a screen shot of our scale bar.

What I'd like it to do is label 0, 100 (1/2 drawing scale), 200 (drawing scale) and 400 (2 times the drawing scale)

And I'd like those values to change depending on the scale of the drawing. I'm not too sharp on blocks, dynamic blocks, annotative blocks etc. I'm just inheriting a bunch of LDD 2004 blocks that I'd like to modify into something that does the work for me with Civil 3D. Is this possible or realistic? Is this going to be a dynamic, annotative block or just a dynamic block? What is a good approach? Has anyone already accomplished this who would be wiling to share one?

Thanks
Ryan
C3D 2012 SP1
Win 7 64 Enterprise
Intel Xeon 3.07 Ghz 8GB Ram
NVIDIA Quadro 4000
20 REPLIES 20
Message 2 of 21
Anonymous
in reply to: ryanquigley2390

there is one included in c3d 2009
in c:\programs......sample/dynamic blocks/annotation.dwg

"ryanquigley2390" wrote in message news:6142394@discussion.autodesk.com...
Is it possible to create a scale bar block that will grab the scale of the
drawing and update itself if the scale is changed? I attached a screen shot
of our scale bar. What I'd like it to do is label 0, 100 (1/2 drawing
scale), 200 (drawing scale) and 400 (2 times the drawing scale) And I'd like
those values to change depending on the scale of the drawing. I'm not too
sharp on blocks, dynamic blocks, annotative blocks etc. I'm just inheriting
a bunch of LDD 2004 blocks that I'd like to modify into something that does
the work for me with Civil 3D. Is this possible or realistic? Is this going
to be a dynamic, annotative block or just a dynamic block? What is a good
approach? Has anyone already accomplished this who would be wiling to share
one? Thanks Ryan
Message 3 of 21

I saw that, but how can I get it to update when I change the annotation scale of the drawing? I changed the scale from 1:1 to 1:100 and nothing seems to change.
C3D 2012 SP1
Win 7 64 Enterprise
Intel Xeon 3.07 Ghz 8GB Ram
NVIDIA Quadro 4000
Message 4 of 21

I see how you change it. Click on the scale bar symbol and then clicking on the blue triangle that comes up will allow you to choose the scale.

I also found another user who posted one a little ways down in this thread that is nicer than the stock Autodesk one.

http://discussion.autodesk.com/forums/message.jspa?messageID=5679219
C3D 2012 SP1
Win 7 64 Enterprise
Intel Xeon 3.07 Ghz 8GB Ram
NVIDIA Quadro 4000
Message 5 of 21
Anonymous
in reply to: ryanquigley2390

Hey Ryan,

 

I too am trying to make a dynamic scale bar. I was thinking of being able to enter the scale manually in a user-input and then have the block make the necessary calculations for the scale bar but I haven't had much luck yet...

 

Have you made any advancements?

 

Bryan

Message 6 of 21
rl_jackson
in reply to: Anonymous

Here you go


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 7 of 21
Joe-Bouza
in reply to: ryanquigley2390

make the scale bar and a prototype viewport, assign objext field to the scale bar number places. wblock to your design center folder.

 

When used the scale will adjust the the vport scale as opossed to a dyno block parameter

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 8 of 21
Anonymous
in reply to: Joe-Bouza

Thanks to both for your replies however this isn't entirely what I was looking for.

 

My scale bars are not annotative and do not need to change size depending on the scale. I'd also rather make one without visiblity states so that I can add all of the possible scales without making it heavy.

 

I'll work on it when I have time, thanks again!

 

Bryan

 

 

Message 9 of 21
Joe-Bouza
in reply to: Anonymous

Hi Bryan,

 

My suggestion isn't annotative it simply links the scale in your bar to the vport scale. Is that not what you are looking for?

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 10 of 21
rl_jackson
in reply to: Joe-Bouza

Joe,

 

Were is that field variable located, I see that when you select the viewport object it give you a scale option, but then the scale comes it at 1:50 instead of 1" = 50' like I have it set on the vp scale.


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 11 of 21
Joe-Bouza
in reply to: rl_jackson

scale.PNG

 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 12 of 21
rl_jackson
in reply to: Joe-Bouza

Can any by say Smiley Very Happy

 

images.jpg


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 13 of 21
Anonymous
in reply to: Joe-Bouza

Sorry Joe, I haven't had time to fully test out your solution as yet.

 

I can see how using the "field" command will be usefull however would it be able to link itself to the viewport whenever I insert it into a new drawing?

 

Perhaps I'm not looking at the right field expression...

Message 14 of 21
Alfred.NESWADBA
in reply to: Anonymous

Hi,

 

for all using Civil3D 2013 (or Map3D 2013), there is already a finished function built in for scale/northarrow/legend (Map3D).

To get/insert the scalebar use command -MAPINSERTPLE

This lets you place a block (some are predefined) and assign it to a viewport. Every change to the scale of the viewport is shown then immediatly to the scalebar as it is associative.

 

Map_ScaleBar_2013_AN01.gif

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 15 of 21
Joe-Bouza
in reply to: Anonymous

Yes, as stated earlier: create the scale bar with a viewport. when you create a new sheet you will insert a vport with the scale bar

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 16 of 21
Joe-Bouza
in reply to: Alfred.NESWADBA

And I've been doing it caveman style for years Smiley Wink

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 17 of 21
Anonymous
in reply to: Joe-Bouza

Ahhh ok, from what I understand the scale bar is linked to the initial viewport. This wouldn't work if I inserted my block into an existing drawing which already contained the viewports I needed.

Message 18 of 21
Anonymous
in reply to: Alfred.NESWADBA

Maybe it's just me but the command doesn't seem to work in Civil3d 2013...

 

Message 19 of 21
Anonymous
in reply to: Anonymous

Nevermind! Got it.

Message 20 of 21
Joe-Bouza
in reply to: Anonymous

Correct. It is all part and parcel

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report