I have to clarify that, I guess, does the code change if I created the lines by two references (faces), or if i created them on the sketch? because I did it by the two faces. but what I did was creating the coordinates of points and I thought it was the same for lines, but I guess im wrong...
the lines are under a Geometrical set, what I have done so far is, to get the points coordinates, but I'm lost getting the segments and lines coordinates, hope you can help me, thank you.
I found the way to do it, thanks so much for all your help, this forum is great, thank you I post a picture of the pipe I am working with, http://files.engineering.com/getfile.aspx?folder=a6ce7c88-92fd-4705-b17f-0a0050a42fb5&file=Imagen1.png
here is the thing, I don't have the exact design right now, I don't have tubing license, what I did, is create a pipe in part design, any pipe, then, edit the macro to identify the edges, and is what I have right now, the other thing is to get those edges in pairs to get them as references to do...
my plan is to get the edges, set them as references and draw the lines, with a macro, and i am new at this i don´t know much about the language, if there is any way or code that can help me with that a really apreciate. thank you for your time and all your help.
well, the pipes, we are not allowed to upload that info, but, for example, create a pipline in part design, a circle, and a line and do the rib option, now from that part I have to create a macro that generate the center line, so what I am trying to find is a way to count all the adges, and set...
this is a section of the code i'm using, I'm new at this, so i'm trying to figured out how to get this, first I got the CATpart that is a pipe, with the code a count the edges on this pipe, get the points and their coordinates, but the thing I need it's to get the edges and create the center...
I just solve the issue with the coordinates, but what I'm not able to do it to create the lines between each point, and how can I do it if I had elbows, thank you for your time
Thanks a lot for your help, now that I got the points, it drive me to my next question, is there any way to get the coordinates of each point into a TXT file?
i want to know if anyone can help me, i have a CATpart of a pipe, and the sketch of how it was made is not there, and i want to know if there is a way to transform the pipe into a center line. thankyou for your time and answers