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?
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...
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.
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...
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...