Hello again
I have a sketch in which i want to get the GLOBAL coordinates of a point. The skecth position within 3d changes with different configurations (design table). So in one configuration, the sketch is say 3 metres from the origin and another it is 5 metres... etc.
At the moment, using...
hello all
I am designing a solidworks MACRO to extract dimensions and input to excel. Previously, i have just had
Sub Main()
...
End Sub
Now, i have added an extra function, which main() calls.
Sub Main()
...
function
...
End Sub
--------------------------------
Sub function()
...
End Sub...
Hi
excuse me being annoying and all
Im having a little trouble trying to get the x,y,z coords for a selected point. Im using SelectByID to choose the point i want. I simply want to store x, y, z values as numbers. Has anyone got some code to get me started?GetSketchPoints wont work for me, as...
hello again
firstly, thank god for this forum. Without it, beginners like me are without hope.
Question:
At the moment, Im wanting to read sketch segment lengths. The drawings im working with are not dimensioned. Currently, im using macros to ADD a dimension to a segment, just so i can read...
Thanks for your rapid reply.
Im more concerned about taking values FROM SW, and importing TO excel. Since i started this thread, ive had some luck. I asked about VB, as i plan to have a stand-alone program, that will have its own user interface and work with both programs. My understanding is...
hello all,
Im looking to integrate Excel and Solidworks 2001. I am using Visual Basic 6.0. As a test, I tried the following code, to extract data from Solidworks, and display on the screen:
Sub Command1_Click()
Dim swApp As Object
Dim Part As Object
Dim Length As Double
Set swApp =...