James Goode

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts

  • James Goode
    Participant

    Thanks for your reply. I thought that might be the case and those are the only solution I came up with.

    May I ask why you don’t recommend the MVO object?


  • James Goode
    Participant

    Does anybody have any ideas?

    Thanks

  • in reply to: Detecting Line Intersection #4611

    James Goode
    Participant

    So I’ve taken a look at the basicStairTread_m 3d script but I don’t really understand what I’m supposed to be looking at. I wish there was an object which was an example purely for line intersection like there are for a few other objects in the help centre. Without being able to detect and stop line intersections in my object, it becomes unusable.

  • in reply to: Detecting Line Intersection #4600

    James Goode
    Participant

    Do you have any sort of examples for this by any chance?

    Thanks

  • in reply to: Write text file to embedded library #4333

    James Goode
    Participant

    Problem solved! As discussed, the issue was that I had the output in both the Parameter script and the 2D script. It was solved by removing the code from the 2D and keeping it in the parameter script.

  • in reply to: Write text file to embedded library #4320

    James Goode
    Participant

    I’ve also tried to get the file to write and read from a loaded library that isn’t the embedded but it still seems to try to write/read to the embedded library and throws up an error until I move it and then ctrl+shift+alt+R then it begins to work with both the reading object and the writing object. Here is the writing / reading code that I have in my objects;

    Writing

    chOUT=OPEN ("TEXT", "filelog.TXT", "MODE=WO, LIBRARY")
    	OUTPUT chOUT, 1, 1, symb_pos_x
    	OUTPUT chOUT, 2, 1, symb_pos_y
    	OUTPUT chOUT, 3, 1, symb_pos_z
    close chOUT

    Reading

    chIN=OPEN ("TEXT", "filelog.TXT", "MODE=RO, LIBRARY")
    n = input (chIN,1, 1, zxzx)
    n1 = input (chIN,2, 1, zxzxz)
    n2 = input (chIN,3, 1, zxzxzx)
    close chIN
  • in reply to: Write text file to embedded library #4319

    James Goode
    Participant

    Yes I have
    The error only pops up if I select either the writing or reading gdl object.

  • in reply to: Write text file to embedded library #4317

    James Goode
    Participant

    There are several. This issue is that it definitely works.

    Nonexistent channel
     at line 68 in the 2D script of file Survey Point Output.gsm.
    Nonexistent channel
     at line 69 in the 2D script of file Survey Point Output.gsm.
    Nonexistent channel
     at line 70 in the 2D script of file Survey Point Output.gsm.
    Nonexistent channel
     at line 71 in the 2D script of file Survey Point Output.gsm.
    Cannot modify the file (filelog.TXT) in embedded library in 2D script type.
    Open error
    while operating on file 'filelog.TXT'.
    Nonexistent channel
     at line 68 in the 2D script of file Survey Point Output.gsm.
    Nonexistent channel
     at line 69 in the 2D script of file Survey Point Output.gsm.
    Nonexistent channel
     at line 70 in the 2D script of file Survey Point Output.gsm.
    Nonexistent channel
     at line 71 in the 2D script of file Survey Point Output.gsm.
    Cannot modify the file (filelog.TXT) in embedded library in 2D script type.
    Open error
    while operating on file 'filelog.TXT'.
    Cannot modify the file (filelog.TXT) in embedded library in 2D script type.
    Open error
    while operating on file 'filelog.TXT'.
    Cannot modify the file (filelog.TXT) in embedded library in 2D script type.
    Open error
    while operating on file 'filelog.TXT'.
    Cannot modify the file (filelog.TXT) in embedded library in 2D script type.
    Open error
    while operating on file 'filelog.TXT'.
    Cannot modify the file (filelog.TXT) in embedded library in 2D script type.
    Open error
    while operating on file 'filelog.TXT'.
    Cannot modify the file (filelog.TXT) in embedded library in 2D script type.
    Open error
    while operating on file 'filelog.TXT'.
  • in reply to: Write text file to embedded library #4315

    James Goode
    Participant

    Hello,

    I have got this working perfectly apart from the fact that I receive an error when placing my object that writes the file.
    It still works, but the error is stopping us from progressing with it.

  • in reply to: Write text file to embedded library #4300

    James Goode
    Participant

    Is it possible for me to output the symb_pos_x and y without the output being in the 2D script?

  • in reply to: Write text file to embedded library #4298

    James Goode
    Participant

    are you able to write to a library from within a pla?

  • in reply to: Write text file to embedded library #4297

    James Goode
    Participant

    I’ve got it reading and writing correctly but I get error reports saying Cannot modify the file in embedded library in 2D script type, Nonexistent channel and Open error while operating on the file

  • in reply to: Write text file to embedded library #4296

    James Goode
    Participant

    I can’t seem to get my object to write the symb_pos_x and symb_pos_y to the file at all. My other object can definitely read the file though.

    this is my code for OUTPUT

    chOUT=OPEN ("TEXT", "SurveyPoint.txt", "separator =' ', MODE=WO, LIBRARY")
    	OUTPUT chOUT, 1, 1, symb_pos_x
    	OUTPUT chOUT, 2, 1, symb_pos_y
    	OUTPUT chOUT, 3, 1, symb_pos_z
    close chOUT
  • in reply to: Write text file to embedded library #4323

    James Goode
    Participant

    or do you have an example file that uses my examples that I could take a look at?

    Thanks

  • in reply to: Write text file to embedded library #4322

    James Goode
    Participant

    Is there any way I would be able to send you my files for you to take a look at?

    Thanks

Viewing 15 posts - 1 through 15 (of 27 total)