- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am student and I am working on my master thesis. I came to the dead end and I need help with VBA.
Basically what I do is I take take initial strees (lets say 100 MPa), calculate relative elongation, and then apply it on the cable. Then I run analysis, and copy node results to excel for displacement and streesses in bars. Then I repeat the same procedure with 200 MPa, but the results are copied to table after previous results and then I continue with 300MPa, until 800MPa. After the procedure above I change, lets say, cables to bigger section and I start all over again. Then changing bars. I think you got the Idea. It is very time consuming and you have to be very careful with what and where you copy.
I know it is possible to write VBA for this repeated actions, but I have not mastered VBA and can do only simple code. I have tried to read API tutorial for Robot but i got lost. Could someone help me with this automatic data generation VBA?
I imagine proceadure should be as follows:
- VBA reads a range of relative elongation values (or maybe there schould be a step increment)
- It applies it to cable prestress value
- Robot runs calculation
- VBA copies Displacements of nodes to one sheet and stresses to another.
- VBA applies another relative elangation for cable,
- Robot runs analysis
- and so on.
Copied results schould build one after another to one table.
I attach my Robot and excel file.
I have tried to generate some results manualy, it took me about one day, when I realized I have forgoten to change applied force value, after modifying my structure. So that means all that work went for nothing. Please help me 🙂
Sorry for my English, I am not a native speaker.
Solved! Go to Solution.
