SWVB101
Mechanical
- Jun 25, 2003
- 85
You can set properties and other values, such as dimensions, to notes via SW Addressing, For example:
DWG Number: $PRP:"SW-File Name"
Scale: $PRP:"SW-Sheet Scale"
Current Sheet: $PRP:"SW-Current Sheet"
Total Sheets: $PRP:"SW-Total Sheets"
Weight: "SW-Mass@@Default@partnum.SLDASM" LBS
But is it possible to set these values to Variables in VB...
Such as:
Where Y() is the qualified function that retrieves the values from SolidWorks, and assigns to X...?
If this is confusing, please say so, and I will try to clairify...
Thanks in advance,
-Josh
When dealing with computers, there are 10 things you need to know: one, zero, and the rest is Binary.
-Josh S
DWG Number: $PRP:"SW-File Name"
Scale: $PRP:"SW-Sheet Scale"
Current Sheet: $PRP:"SW-Current Sheet"
Total Sheets: $PRP:"SW-Total Sheets"
Weight: "SW-Mass@@Default@partnum.SLDASM" LBS
But is it possible to set these values to Variables in VB...
Such as:
Code:
Dim X as String
X = Y("SW-Mass@@Default@partnum.SLDASM")
Where Y() is the qualified function that retrieves the values from SolidWorks, and assigns to X...?
If this is confusing, please say so, and I will try to clairify...
Thanks in advance,
-Josh
When dealing with computers, there are 10 things you need to know: one, zero, and the rest is Binary.
-Josh S