rebu1985 Posted April 25, 2017 Share Posted April 25, 2017 Hi guys, I would like to try to get a function or script which helps me to calculate automatically the final value attached to the end of a line adding pre-values along the path. As you can see guys below, depends on the value at the end of a line, the script should recognize the value range and show on the drawing the correct diameter dimension/text. I was thinking if its possible to attach a record format at the beginning of the paths when you select all the lines and create a script which recognize the lines intersections and show the correct value. Thanks guys!! Quote Link to comment
AlanW Posted April 25, 2017 Share Posted April 25, 2017 @rebu1985I am sure with a bit of thinking a marionette script could probable do this for you. It interesting just playing with the basics to see whats possible. Quote Link to comment
rebu1985 Posted April 25, 2017 Author Share Posted April 25, 2017 Im using VW 2014 version, so I cant use marionette tool Quote Link to comment
Pat Stanford Posted April 25, 2017 Share Posted April 25, 2017 This looks like you are doing pipe flow (or air flow) calculations. What you want can be done, but it is not going to be an easy script. You are probably going to want to have multiple interacting objects each with multiple fields. After 25 years of using VW and lots of scripting, this has never been worth my time to develop. I just use Excel when I need to do this, especially since I am often doing recycle loops and need iteration. Quote Link to comment
Pat Stanford Posted April 25, 2017 Share Posted April 25, 2017 How much of this do you do and how often? My guess is that writing a script/objects to do this will required 50-100 hours of experienced coder time to do a good job. And that could be a very low estimate. Thanks to XKCD.com for the above chart. https://xkcd.com/1205/ Yes, the chart is intended to be humorous, but it is also pretty true. Quote Link to comment
bcd Posted April 25, 2017 Share Posted April 25, 2017 A little boy asked me at the weekend if I could make the computer do my work. Theoretically yes, but teaching it how would take lifetimes. 1 Quote Link to comment
bcd Posted April 25, 2017 Share Posted April 25, 2017 (edited) 23 minutes ago, Pat Stanford said: Yes, the chart is intended to be humorous, but it is also pretty true. The chart needs to be 3d - showing the coding time estimates too. I"m sure someone could Marionette it. Edited April 25, 2017 by bcd Quote Link to comment
Marionette Maven Marissa Farrell Posted April 25, 2017 Marionette Maven Share Posted April 25, 2017 22 minutes ago, bcd said: The chart needs to be 3d - showing the coding time estimates too. I"m sure someone could Marionette it. But would it be worth it? Quote Link to comment
Pat Stanford Posted April 25, 2017 Share Posted April 25, 2017 Where does it fall on the chart? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.