Hi Bong
Please need your help.
Another issue is bugging me. With my existing code i only get to read the first string and segment.
###########
Data:
String Segment Direction # Points 2d Len 3d Len Area X Min X Max Y Min Y Max Z Min Z Max
1 1 Clockwise 7 911.8 911.8 31743.3 -72.8...
Thanks a lot Bong it works as requested.
I only made one change but don't know if its the correct place to make it but after this it gave me the correct result.
change made:
for {set i 1} to
for {set i 0}
Before:
#####String and Segment missing#####
String 1 Segment 1 is open
String 2...
Thanks Bob for the help but not the correct result.
Result Now:
There are 5 line segments
string open, segment 1 is
string open, segment 2 is closed
string open, segment 3 is
string open, segment 4 is closed
string open, segment 5 is closed
Result Needed:
There are 6 line segments
string 1...
Hi Guys
Thx yet again for the help Bong and now thx to you mikrom.
But there still is a problem.Sorry that it seems that you need to write the code for me,but from your code i have learnt alot,and it made my first code smaller and more precise in every sence.
Result from Bong's code:
There...
Hi Bob
Thanks for the reply.
I'm not a programmer and only try to get into the feel for things so that it can help me with my mine design program to ease the work.Also i enjoy it a lot and like to learn it more.
Thanks for the notes so far.
Just to maybe clear things up on what a string and...
Hi Guys
Need some help on the following please.
I use a mine design program called SURPAC. In this i have a string file. I want to see if the first and last point of each segment correspond thus puts "CLOSED" if not puts "OPEN"
Attached find example of string data and code thus far:
String...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.