几何尺寸与公差论坛

 找回密码
 注册
查看: 1052|回复: 0

【转帖】view scale

[复制链接]
发表于 2009-4-13 15:17:02 | 显示全部楼层 |阅读模式
view scale
i want to put a view scale of the very first view in the title block
is there a macro to do this?
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
chris,
i don't believe you need a macro for this. sw pulls its properties from the first view you place, and all you need to do is add a linked property in a note on the drawing:
$prp:"sw-sheet scale"
charles culp, cswp
aerospace design engineer
essex industries - st louis, missouri
sw2009 sp2.1
charles,
i don't want to put the sheet scale in the title block because i use custom scale most of the time
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
well, i'm not sure why you'd want the view scale of your primary view to be different than the sheet scale, but ok.
there is not automatic method that i know of. there is code by regg in a macro we collaborated on here:
just a habit from inventor - there is no sheet scale in inventor
the users define the scale when the the base view is created
thanks for your help anyway
chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
why not have the first view set to the sheet scale and change the sheet scale to the scale you want instead of the other way around? unless i am not reading what you are doing right it seems unnecessary to write code for this. if you are using a scale that is not consistent over many drawings it seems easier to just change the sheet properties(automatically scaling the view) than writing code to place the scale of the first view in the title block.
drc inc.
minneapolis, mn
.designreadycontrols.com
sw2007 sp5.0
core2 quad
3gb ram
xp pro sp2
ati firegl v3600
chris,
solidworks does do this automatically if your template has a predefined view and is set to forward its information to the sheet format (a sheet format setting). when a new drawing is created, sw will autosize the scale to fit the part on the drawing and make the sheet scale match. from then on, the sheet scale is the driving location for the information. this is the most logical way to work it in my mind as it does automate the assignment of scale, but still allows the user to control the sheet scale without having to know which view is the driving view if something like you are asking was implemented.
matt lorono
solidworks 2007 sp3.1
cad engineer/ecn analyst
co-moderator of
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-5-19 18:12 , Processed in 0.036610 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表