Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Translate the entire conversation x

How to auto-measure and save the measured data in Creo 8.0?

Lee_Msxfc
5-Regular Member

How to auto-measure and save the measured data in Creo 8.0?

Hello everyone,

      I want to get a series of area data of a face, details are as follows:

(1) the model is a square frustum, I want to get the area of the top face(Face 0, yellow face shown in the Figure 1) under different heights(distance between top face and bottom face, which is shown in Figure 2);

(2) I created a plane(plane 1 in Figure 2) which is parallel to the top face, a sketch created on the plane is extruded to remove the all the entity above the plane, and then I can get the area of new top face(shown in Figure 3 and 4);

(3) the plane moves along the y axis in certain step size, for example, d = 5mm, then I can get the area of top face in d=5, d=10,d=15..., besides, every time I get an area, I copy and paste it in a txt or word document.

The problem is: If the height is very large and the step size is very small, for example d = 0.5mm, in this situation, I need to do the same action so many times, it’s very time-consuming and annoying, is there a way that can auto-measure and save the data?

Thanks!

Lee_Msxfc_0-1742382830405.png

Figure 1

 

Lee_Msxfc_1-1742382848063.png

Figure 2

 

Lee_Msxfc_2-1742382863424.png

 Figure 3

Lee_Msxfc_3-1742382873946.png

Figure 4

 

ACCEPTED SOLUTION

Accepted Solutions
tbraxton
22-Sapphire I
(To:Lee_Msxfc)

Yes, there are multiple ways you can do this. If you want to do it without writing code (external to Creo session) then this is one method.

 

First automate the "step" function.

If you review the method and models provided as the solution to this thread, you will be able to automate the stepping of the cuts. This analyzes the geometry changes of a solid rocket motor as it burns.

Solved: How to create multiple shapes with relation for a ... - PTC Community

If you create saved analysis for the area calculation, then it will update with each regeneration of a "step" in the model

You can save the results of each step following this method.

Article - CS32642 - How to save Analysis > measure information as a text file in Creo Parametric?

 

You can semi-automate this by using mapkeys (macros).

 

A second option that will be less up front work for you is.

If you have the BMX license, then you can also plot the area as a function of the cut plane location and create a graph for use/export.

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

8 REPLIES 8
tbraxton
22-Sapphire I
(To:Lee_Msxfc)

Yes, there are multiple ways you can do this. If you want to do it without writing code (external to Creo session) then this is one method.

 

First automate the "step" function.

If you review the method and models provided as the solution to this thread, you will be able to automate the stepping of the cuts. This analyzes the geometry changes of a solid rocket motor as it burns.

Solved: How to create multiple shapes with relation for a ... - PTC Community

If you create saved analysis for the area calculation, then it will update with each regeneration of a "step" in the model

You can save the results of each step following this method.

Article - CS32642 - How to save Analysis > measure information as a text file in Creo Parametric?

 

You can semi-automate this by using mapkeys (macros).

 

A second option that will be less up front work for you is.

If you have the BMX license, then you can also plot the area as a function of the cut plane location and create a graph for use/export.

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Lee_Msxfc
5-Regular Member
(To:tbraxton)

Thank you for your reply, I will try these methods and feed you back 🙂

Lee_Msxfc
5-Regular Member
(To:tbraxton)

Hi, tbraxton

I used your method, it’s useful, but now I only realize semi-automatic, there two problems:

(1) For regenerative, I need do it manually, I saw your previous comment that automatic increment of parameter is realized by Pro/Program, but I do not know how to start this, is there any example or tutorials?

(2) Is there a way that can auto-export the measured area for each step? (PS: I have no right to read the article in the link you provided)

I uploaded what I can do now in vedio, please play it, thank you!

 

Lee_Msxfc_0-1742570543068.png

 

tbraxton
22-Sapphire I
(To:Lee_Msxfc)

To see the logic of Pro/Program in the rocket motor example (or any model) you must use this command shown in the picture below.

About Pro/PROGRAM

 

Video tutorial 2 parts series.

Creo Parametric - Pro/PROGRAM Part 1 | Inputs and Relations

 

 

tbraxton_0-1742574361219.png

 

Saving to test file measurements.

 

tbraxton_2-1742574778094.png

 

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

For a square pyramidal frustrum, the length of a side is linear with respect to Y.

Length(y) = Length at Bottom + y * ((Length at Top) - (Length at Bottom))/Height

The area at any height is the square of the side length

Area(y) = Length(y) * Length(y)

If you're looking for a specific combination of geometric properties, it'd be better to just calculate it rather than iterating  with a Creo model.

 

Lee_Msxfc
5-Regular Member
(To:KenFarley)

Thanks for your answer, KenFarley.

Actually, what I presented is a simple model, , if the model becomes complicated, the area cannot be calculated by an equation, thus, I wish to find a method that can solve the problem in all situations.

Hi,

you can apply Measure and Regenerate commands in cycle (you can generate custom trail file and play it to execute the cycle). Values are written into trail file and you can extract them from it.

Please replay uploaded video. Hopefully you understand what I'm showing.


Martin Hanák
Lee_Msxfc
5-Regular Member
(To:MartinHanak)

Hi, Martin Hanak, thank you very much, I will download and see how you do it.

Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags