Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 11712

Macro for Creo Simulate Fastener Results

$
0
0

PTC Community,

 

Does anyone have a macro or can assist me with developing a macro to clean-up Simulate fastener results?  For example, the below snippet shows the results for some of the fasteners (there is 74 total), and I would like to write two separate macros. 

 

1) A macro that will delete all rows that don't have the word "force"

2) A macro that will delete all rows that don't have the word "stress"

 

These results are stored in an Excel .csv file after the run by default, and can be saved in a .xlsx as shown in Figure 1.

 

macro_fasteners_excel.jpg

Figure 1

 

Using the results as an example in Figure 2, I would also like to include additional code to have the axial forces in one column and the shear forces in a separate column with no blank rows.

 

macro_fasteners_excel_ii.jpg

Figure 2


Viewing all articles
Browse latest Browse all 11712

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>