Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by boilerSWuser

  1. boilerSWuser

    Write to text file with SolidWorks Macro

    Ok, I have the code fixed that that it does not write over other text and thank you very much for your help but how would i write the last saved information to the file too?
  2. boilerSWuser

    Write to text file with SolidWorks Macro

    I want to write different user inputs to a text file using a solidworks macro without writing over what is already there. Below is the code i have that writes over what is currently in the text file. Does anyone know how i can append the text without writing over it? I also want to record the...
  3. boilerSWuser

    Determine whether sketch is facing toward/away from origin, Solidworks

    If possible and not too much trouble, could you provide sample code that one may use to do something like this? I am not as familiar with Solidworks macros as I would like to be. Regardless, thanks for your assist. You've been a great resource.
  4. boilerSWuser

    Determine whether sketch is facing toward/away from origin, Solidworks

    Correct, the sketch is on some plane that does not pass through the origin, and I need to determine whether the sketch's normal vector points toward or away from the origin. Really, when i create my swept cut path i just want to ensure that it is going through the part. Referencing the...
  5. boilerSWuser

    Determine whether sketch is facing toward/away from origin, Solidworks

    I am working i a macro and need to be able to determine within the macro whether or not a sketch is facing toward or away from the origin. I would then use this information in an if statement later. In my macro a sketch is created (gear tooth profile) and then within the same macro another...

Part and Inventory Search