+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Full Member sailor's Avatar
    Using
    AutoCAD 2002
    Join Date
    Feb 2007
    Posts
    46

    Default Lines from Rhino to Autocad

    Registered forum members do not see this ad.

    Hi Friends,

    I would like to import the lines according to 0,0,0 coordinate from Rhino to Autocad automatically. This program must be open the Autocad drawing after importing the lines. How I can success this? I know that Rhino is a opensource program, which language uses Rhino to edit it?

    Thanks

  2. #2
    Super Moderator f700es's Avatar
    Computer Details
    f700es's Computer Details
    Operating System:
    Windows 7 Pro (W)/Windows 7 Home Premium (H)
    Computer:
    Lenovo ThinkStation D20 (W)/ Dell Inspiron 570 (H)
    Motherboard:
    Intel (W)/AMD (H)
    CPU:
    Intel Xeon E5503 (W)/AMD Athlon 2 X4 (H)
    RAM:
    4 GB DDR3 (W)/ 6GB DDR3 (H)
    Graphics:
    nVidia Quadro FX 580 (W)/nVidia GF GT430 (H)
    Primary Storage:
    500 GB HDD (W)/1 TB (H)
    Secondary Storage:
    Seagate FreeAgent Go 320gb
    Monitor:
    Samsung P2770HD 28" LCD and Samsung B2430 (W)/Dell 22" LCD (H)
    Discipline
    Facilities Mgmt
    f700es's Discipline Details
    Occupation
    Space Database Admin
    Discipline
    Facilities Mgmt
    Details
    Archibus Management
    Using
    AutoCAD 2012
    Join Date
    Sep 2002
    Location
    Winston-Salem, NC - USA
    Posts
    4,455

    Default

    No, Rhino is not OpenSource. The file format is opensource not the application.
    Please do not PM me with CAD questions. Post your question on the forum. Our users are the best out there and you'll get the best possible answer to your question.

    - http://f700es.deviantart.com/gallery/ - - http://cad-guy.tumblr.com/ -


  3. #3
    Junior Member TedKyte's Avatar
    Using
    AutoCAD 2009
    Join Date
    Feb 2007
    Location
    Southern Alberta Canada
    Posts
    18

    Default

    Quote Originally Posted by sailor View Post
    Hi Friends,

    I would like to import the lines according to 0,0,0 coordinate from Rhino to Autocad automatically. This program must be open the Autocad drawing after importing the lines. How I can success this? I know that Rhino is a opensource program, which language uses Rhino to edit it?

    Thanks
    Hi sailor...

    If you just do a "save as" and select Autocad dwg format it will import into Autocad where it was created in Rhino.
    So, 0,0,0 in Rhino is the same in Autocad.
    Ted
    http://www.RhinoCanada.com
    http://www.ted-kyte.com
    -----------------------------

  4. #4
    Full Member sailor's Avatar
    Using
    AutoCAD 2002
    Join Date
    Feb 2007
    Posts
    46

    Default

    Quote Originally Posted by TedKyte View Post
    Hi sailor...

    If you just do a "save as" and select Autocad dwg format it will import into Autocad where it was created in Rhino.
    So, 0,0,0 in Rhino is the same in Autocad.
    Hi TedKyte,

    I want to do this by putting a button on Rhino toolbar, do it automatically by pressing only once But how?

  5. #5
    Junior Member TedKyte's Avatar
    Using
    AutoCAD 2009
    Join Date
    Feb 2007
    Location
    Southern Alberta Canada
    Posts
    18

    Default

    Quote Originally Posted by sailor View Post
    Hi TedKyte,

    I want to do this by putting a button on Rhino toolbar, do it automatically by pressing only once But how?
    Well I'm not really sure what you want, but if you just put the word "Insert" on a button it will pop up the dialog bog to select the file you want to insert.
    Ted
    http://www.RhinoCanada.com
    http://www.ted-kyte.com
    -----------------------------

  6. #6
    Junior Member TedKyte's Avatar
    Using
    AutoCAD 2009
    Join Date
    Feb 2007
    Location
    Southern Alberta Canada
    Posts
    18

    Default Maybe this will work for you

    Quote Originally Posted by sailor View Post
    Hi TedKyte,

    I want to do this by putting a button on Rhino toolbar, do it automatically by pressing only once But how?
    You can put this in a button:

    !
    -insert
    F
    C:\test.3dm
    O
    enter
    0,0,0
    1
    0

    change the "C:\test.3dm" to whateve file you want to insert.
    Ted
    http://www.RhinoCanada.com
    http://www.ted-kyte.com
    -----------------------------

  7. #7
    Full Member sailor's Avatar
    Using
    AutoCAD 2002
    Join Date
    Feb 2007
    Posts
    46

    Default

    Actually my question was, like activeX controls between autocad and Microsoft Application Excell, could we succes to change data between Rhino and Autocad? Is there a possibility to talk to Autocad from Rhino? Thanks

  8. #8
    Full Member sailor's Avatar
    Using
    AutoCAD 2002
    Join Date
    Feb 2007
    Posts
    46

    Default

    Hi Friends, I succeeded to export curves by VB scripting as .dwg files, but I havent opened that file that I made. I send you the codes that I wrote, please advance it together

    ------------------------------------------------

    Sub SetPoints ()
    Dim strcurveID
    Dim mobjAutocad
    Dim ThisDrawing

    Rhino.unselectAllObjects ()
    strcurveID = Rhino.GetObject("select a planar curve")

    If Not Rhino.iscurve(strcurveID) Then
    Rhino.Print (" you didnt select a curve!")
    Exit Sub
    End If


    If Rhino.IsCurvePlanar(strcurveID) Then

    If Not Rhino.isCurveClosed(strcurveID) Then
    Rhino.CloseCurve(strcurveID)
    Rhino.Print ("the curve you selected has been closed")

    End If

    Rhino.command ("_setpt 0,0,0")
    Rhino.print ("the curve has been Transformed")
    Rhino.SelectObject strcurveID
    Rhino.command ("_Export deneme.dwg")
    Rhino.print ("the curve has been exported")
    Else
    Rhino.print ("the curve you picked was Not planar")
    End If


    End Sub

    -------------------------------------------

  9. #9
    Super Member SEANT's Avatar
    Using
    AutoCAD 2012
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    1,968

    Default

    Registered forum members do not see this ad.

    The subject of this thread is also receiving attention here:
    http://www.cadtutor.net/forum/showthread.php?t=15343

Similar Threads

  1. Anyone out there using Rhino?
    By CADTutor in forum Design Software
    Replies: 12
    Last Post: 23rd Jun 2007, 05:25 am
  2. Whats different from Rhino and 3dmax and autocad
    By cnreader in forum Design Software
    Replies: 36
    Last Post: 23rd Jun 2007, 05:08 am
  3. Rhino Capabilities
    By SEANT in forum Rhino
    Replies: 7
    Last Post: 22nd Apr 2007, 03:40 am
  4. autocad to rhino 3
    By vildvittran2 in forum Rhino
    Replies: 3
    Last Post: 22nd Mar 2007, 04:44 am
  5. Rhino problems
    By john6177 in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 27th Oct 2005, 01:43 pm

Bookmarks

Posting Permissions

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