I need to know the numbers of perimeters of plates, because I use the value to calculate the LASER machine timing.
The image below shows an example.
As you can see, the red area is 1 (one) perimeter, and the yellow area is 1 (one) perimeter, totaling 2 (two) perimeters. The result that I’m looking for is the 2 (two).
I tried to use development tools like Jlink and Weblink, but didn’t find anything as expected.
If you create a plot file using HPGL output -and- the output is decent, you will be able to count the PU PD commands. There should be two places the pen sets down PD, and two places the pen is lifted up PU. You could also use the file to determine the total length drawn.
Analysis > Measure > hold CTRL and select all edges (one by one) and you will get requested value.
Maybe you can create a macro processing steps 2.-5.
Thanks for your answer.
But I need the amount of perimeters and not the total length.
Do you know any way to get this value?
I am sorry I did not understand the problem description correctly. This is my fault.
It is possible to count a quantity of countours in Sketcher mode manually, if you choose Project command combined with Loop option and Next command. Sketching plane = face containing contours.
The type of perimerers you are looking for are called countours. They are available in all API's.
For WebLink look for: pfcSurface.ListContours and pfcContour.Count
For Jlink: surface.ListContours and contours.getarraysize
In Jlink there is a example that are using surface.ListContours. In a Creo installation this example can be found under <load_point>\jlink\jlink_tutorial\solutions\solution_6
Sorry I can't help you more. I'm using mostly Pro/Toolkit and I'm not very familiar with Jlink or WebLink
Thank you for your help!
I'm still learning about the J-link.
I need to learn from the beginning of the J-link, how to start, how to configure, among others.