Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. seedie54

    measure tool, sw api

    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...
  2. seedie54

    macro entry point

    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...
  3. seedie54

    Extract Points

    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...
  4. seedie54

    Dimension extraction, basics

    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...
  5. seedie54

    Getting Started, Basics, SW API

    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...
  6. seedie54

    Getting Started, Basics, SW API

    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 =...
Back
Top