cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Total lenght of a part in 7 segments

opavot
2-Explorer

Total lenght of a part in 7 segments

Hi Everybody I have created a wire in 9 segments and I have to know if it's possible to have the totale lenght of the wire In the same time I don't understand why I can't create an axis on eatch segments , it's a wire Ø5 If you can help me Olivier
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2
DavidButz
12-Amethyst
(To:opavot)

Olivier, First question: If I understand you correctly, the best way to get a total length of all 9 segments is to create a so-called Analysis Feature for each of them, then create a Parameter which is equal to the sum of all 9 lengths recorded in these Analysis Features. So, assuming each of your wire segments is created by sweeping a circular section along a Datum Curve arc, start with one by selecting Analysis/Measure/Length, select the Curve, then pick Feature from the drop-down list (default Quick). This will create a feature in your model tree called ANALYSIS_LENGTH_1 containing within it a parameter called LENGTH with the length value you want. You can rename the feature and parameter to make them easier to deal with if you want. After doing this for all 9 segments, create a Parameter with a name like TOTAL, then create a Relation like the following: TOTAL=LENGTH:FID_ANALYSIS_LENGTH_1 + LENGTH:FID_ANALYSIS_LENGTH_2 + ... Note the special syntax required, which can be confusing, namely :FID_ . FID stands for Feature ID. If I were you, I would shorten the names of the Analysis Features before creating the summing relation. Second question: To get one of the Axes you want, create a Datum Point at the Center of one of the curves, then create the Datum Axis through that Point Normal to the Plane of the curve. David
opavot
2-Explorer
(To:DavidButz)

Hi David Many thanks for your hehp, it work perfectly Olivier
Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags