I am trying to create an automated note that returns the scale of the
drawing view that it is attached to.
I have made many notes in the past to return information such as part
number, material, etc
($PRPMODEL:"Description")
I can not find any link (in SolidWorks help or API) so the note can
display the scale of the view.
Can anyone help me with this?
FOSW,
I believe this requires the use of a macro to add this value to an
annotation note attached to your view. I'm not sure if this is
available previous to 2007, but there is the View::ScaleRatio VBA
funciton that returns the view scale as a value stated as the
traditional ratio N:N. The macro would have to first know which view
you want to do this for, then find the value, and then create the
text. The draw back is that it will need to be manually run each time
the view scale changes.
This seems to me like this may be a case of the cure being worse than
the disease. I'll hunt around and see if anyone else has a better
solution.
Please see this thread. There's a macro there:
http://www.eng-tips.com/viewthread.cfm?qid=155304
It's deos what you want, but it doesn't update if you change the
view. You'll have to rerun the macro in that event.
WT
"FOSW" <dw.s...@gmail.com> wrote in message
news:1176133096....@y80g2000hsf.googlegroups.com...
--
Posted via a free Usenet account from http://www.teranews.com
There's a new updated macro that addes the drawing view scale to the
view, plus has some other options too. Here's the thread discussion
about it:
http://www.eng-tips.com/viewthread.cfm?qid=183684&page=4
I have it uploaded here:
http://sw.fcsuper.com/index.php?name=UpDownload&req=viewdownloaddetails&lid=71
Happy hunting!
Matt
http://sw.fcsuper.com
Co-moderator of http://groups.yahoo.com/group/solidworks/
On Apr 9, 8:38 am, "FOSW" <dw.sh...@gmail.com> wrote: