+ Reply to Thread
Results 1 to 10 of 10

Thread: AddLine trouble

  1. #1

    AddLine trouble

    Hi Steve,
    running this code:
    Code:
    import rhinoscriptsyntax as rs
    rs.AddLine([0,0,1], [10,20,30])
    I have this messagge:
    Message: Riferimento a un oggetto non impostato su un'istanza di oggetto.

    Traceback:
    line 312, in AddLine, "C:\Users\Gianpa\AppData\Roaming\McNeel\Rhinoceros \5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\curve.py"
    line 4, in <module>, "C:\Users\Gianpa\AppData\Local\Temp\TempScript .py"

    what is the problem?
    bye,
    g
    Last edited by Gianpaolo Savio; 09-04-2012 at 03:04 PM.

  2. #2
    Ciao GianPaolo
    Sono nella cacca anch'io per AddLine e per porre rimedio ho reinstallato la versione precedente e ho peggiorato la situazione.
    Non funziona pił nessun script perchč non trova il modulo string ed altri di Python.
    Ciao Vittorio

  3. #3
    Same problem to me.
    Thanks
    Silva

  4. #4
    Ciao Vittorio,
    il modulo string etc li ho copiati dalla cartella Python27\Lib e sembra funzionare
    Bye,
    g

  5. #5
    Yep also with me also using AddLine the "common" way scriptcontext.doc.Objects.AddLine

  6. #6
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,463
    Blog Entries
    19
    I see the problem. This was a bug I accidentally introduce in the RhinoCommon function. I made sure this will be fixed for the next V5 beta.

    Sorry about that,
    -Steve

  7. #7
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,463
    Blog Entries
    19
    I pushed a temporary fix for AddLine to github in case you need it before the next beta.
    https://github.com/mcneel/rhinopytho...cript/curve.py

  8. #8
    Thanks Steve
    Ciao Vittorio

  9. #9
    Ooooooooooooooooook,
    Grazie mille!!!!!!

  10. #10
    Senior Member Steve Baer's Avatar
    Join Date
    Apr 2010
    Location
    Seattle
    Posts
    1,463
    Blog Entries
    19
    This should all be fixed now with the latest beta that shipped yesterday
    Thanks and sorry for that nasty bug.
    -Steve

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts