+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member rocneasta's Avatar
    Computer Details
    rocneasta's Computer Details
    Operating System:
    W7 x64
    Computer:
    HP elite mobile workstation 8730w
    CPU:
    Q9000 2.00 GHz
    RAM:
    4GB
    Graphics:
    NVIDIA quadro fx 2700m 512MB
    Primary Storage:
    350GB /hald system half data partition
    Using
    AutoCAD 2012
    Join Date
    Oct 2009
    Location
    Croatia
    Posts
    129

    Default opening url from Autocad

    Registered forum members do not see this ad.

    is it possible, with any imaginable way, to fit autocad with some link to web pages - if you constantly want to go to several pages while working on projects in Acad, you don't want to power firefox/ie/opera/safari/etc but you want to have a button by which you go directly to the desired url

    can it be done?

  2. #2
    Super Moderator Cad64's Avatar
    Computer Details
    Cad64's Computer Details
    Operating System:
    Windows 7 Profesional x64
    Computer:
    XI Computers
    Motherboard:
    Asus P8Z77-V Pro
    CPU:
    Intel Core I7 3770K 4.1 Ghz Quad Core 3rd Gen
    RAM:
    8GB DDR3 @ 1333MHz
    Graphics:
    Nvidia GeForce GTX 570 1280MB GDDR5
    Primary Storage:
    SATAII 500GB 7200 RPM
    Secondary Storage:
    Western Digital My Book Studio Edition II - 2TB capacity
    Monitor:
    HPf2105 21" LCD Widescreen & Cintiq 21ux
    Discipline
    Multi-disciplinary
    Cad64's Discipline Details
    Occupation
    Freelance Digital Artist
    Discipline
    Multi-disciplinary
    Details
    In a nutshell, I create 3D models from the client's CAD files or design sketches, which I then use to produce high quality rendered images. Click on the link in my signature to view my portfolio. I'm always looking for work, so let me know if you need any renders. :)
    Using
    3ds Max 2011
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    8,429

    Default

    Yes, you can attach a Hyperlink to any object. Just type HYPERLINK at the command line and then select the object you want to apply the link to. You will then be presented with a dialog that will allow you to enter the web page or file folder path that you want to associate with the object. Once the link has been applied, just hover your crosshair over the object until you see the little hyperlink symbol and then hold down the Ctrl key and click on the object.
    "Work Smart, Not Hard"

    Click to View My Portfolio ( Updated 05/21/2013 ) --->
    http://www.rdeweese.com/

  3. #3
    Senior Member rocneasta's Avatar
    Computer Details
    rocneasta's Computer Details
    Operating System:
    W7 x64
    Computer:
    HP elite mobile workstation 8730w
    CPU:
    Q9000 2.00 GHz
    RAM:
    4GB
    Graphics:
    NVIDIA quadro fx 2700m 512MB
    Primary Storage:
    350GB /hald system half data partition
    Using
    AutoCAD 2012
    Join Date
    Oct 2009
    Location
    Croatia
    Posts
    129

    Default

    but if you simply open Autocad, can you reference that url to a customized button, since referencing url to an object requires that object to be drawn and the hyperlink to be embedded in it.

    what i had in mind is that every time i enter acad, there's a way for me to access some url's that i need for my work.

  4. #4
    Super Moderator Cad64's Avatar
    Computer Details
    Cad64's Computer Details
    Operating System:
    Windows 7 Profesional x64
    Computer:
    XI Computers
    Motherboard:
    Asus P8Z77-V Pro
    CPU:
    Intel Core I7 3770K 4.1 Ghz Quad Core 3rd Gen
    RAM:
    8GB DDR3 @ 1333MHz
    Graphics:
    Nvidia GeForce GTX 570 1280MB GDDR5
    Primary Storage:
    SATAII 500GB 7200 RPM
    Secondary Storage:
    Western Digital My Book Studio Edition II - 2TB capacity
    Monitor:
    HPf2105 21" LCD Widescreen & Cintiq 21ux
    Discipline
    Multi-disciplinary
    Cad64's Discipline Details
    Occupation
    Freelance Digital Artist
    Discipline
    Multi-disciplinary
    Details
    In a nutshell, I create 3D models from the client's CAD files or design sketches, which I then use to produce high quality rendered images. Click on the link in my signature to view my portfolio. I'm always looking for work, so let me know if you need any renders. :)
    Using
    3ds Max 2011
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    8,429

    Default

    You could write a little lisp routine and apply it to a button.
    Something like this:

    Code:
    (defun c:cadtutor (/)
    (startapp "explorer" "http://www.cadtutor.net/forum/index.php")
    (princ)
    )
    "Work Smart, Not Hard"

    Click to View My Portfolio ( Updated 05/21/2013 ) --->
    http://www.rdeweese.com/

  5. #5
    Senior Member rocneasta's Avatar
    Computer Details
    rocneasta's Computer Details
    Operating System:
    W7 x64
    Computer:
    HP elite mobile workstation 8730w
    CPU:
    Q9000 2.00 GHz
    RAM:
    4GB
    Graphics:
    NVIDIA quadro fx 2700m 512MB
    Primary Storage:
    350GB /hald system half data partition
    Using
    AutoCAD 2012
    Join Date
    Oct 2009
    Location
    Croatia
    Posts
    129

    Default

    i'll try my best to look into how that could be done

  6. #6
    Senior Member rocneasta's Avatar
    Computer Details
    rocneasta's Computer Details
    Operating System:
    W7 x64
    Computer:
    HP elite mobile workstation 8730w
    CPU:
    Q9000 2.00 GHz
    RAM:
    4GB
    Graphics:
    NVIDIA quadro fx 2700m 512MB
    Primary Storage:
    350GB /hald system half data partition
    Using
    AutoCAD 2012
    Join Date
    Oct 2009
    Location
    Croatia
    Posts
    129

    Default

    Quote Originally Posted by Cad64 View Post
    You could write a little lisp routine and apply it to a button.
    Something like this:

    Code:
    (defun c:cadtutor (/)
    (startapp "explorer" "http://www.cadtutor.net/forum/index.php")
    (princ)
    )

    would it be possible to explain this step by step in your own spare time. or at least give some info on where i could learn it on my own
    cheers

  7. #7
    Super Member stevsmith's Avatar
    Computer Details
    stevsmith's Computer Details
    Operating System:
    Windows 7 (64bit)
    Computer:
    Dell Precision T3500
    CPU:
    Intel Xeon W3670 (Six Core 3.2GHz, 12MB Cache)
    RAM:
    12 Gb Ram (3x4GB) DDR3
    Graphics:
    2GB NviDia Quadro 4000
    Monitor:
    BenQ G2020HD
    Discipline
    Electro/Mech
    stevsmith's Discipline Details
    Occupation
    Design Draughtsman
    Discipline
    Electro/Mech
    Details
    Hydrogen & Nitrogen Generator Development (LCMS & GC) Product Development Sheet Metal
    Using
    not applicable
    Join Date
    Apr 2008
    Location
    Largs, Scotland
    Posts
    919

    Default

    www.afralisp.net is a good place to start along with www.jefferypsanders.com/autolisp.html

  8. #8
    Senior Member rocneasta's Avatar
    Computer Details
    rocneasta's Computer Details
    Operating System:
    W7 x64
    Computer:
    HP elite mobile workstation 8730w
    CPU:
    Q9000 2.00 GHz
    RAM:
    4GB
    Graphics:
    NVIDIA quadro fx 2700m 512MB
    Primary Storage:
    350GB /hald system half data partition
    Using
    AutoCAD 2012
    Join Date
    Oct 2009
    Location
    Croatia
    Posts
    129

    Default

    can't get this to work, bah plain stupid on my part

  9. #9
    Super Moderator Cad64's Avatar
    Computer Details
    Cad64's Computer Details
    Operating System:
    Windows 7 Profesional x64
    Computer:
    XI Computers
    Motherboard:
    Asus P8Z77-V Pro
    CPU:
    Intel Core I7 3770K 4.1 Ghz Quad Core 3rd Gen
    RAM:
    8GB DDR3 @ 1333MHz
    Graphics:
    Nvidia GeForce GTX 570 1280MB GDDR5
    Primary Storage:
    SATAII 500GB 7200 RPM
    Secondary Storage:
    Western Digital My Book Studio Edition II - 2TB capacity
    Monitor:
    HPf2105 21" LCD Widescreen & Cintiq 21ux
    Discipline
    Multi-disciplinary
    Cad64's Discipline Details
    Occupation
    Freelance Digital Artist
    Discipline
    Multi-disciplinary
    Details
    In a nutshell, I create 3D models from the client's CAD files or design sketches, which I then use to produce high quality rendered images. Click on the link in my signature to view my portfolio. I'm always looking for work, so let me know if you need any renders. :)
    Using
    3ds Max 2011
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    8,429

    Default

    Quote Originally Posted by rocneasta View Post
    can't get this to work, bah plain stupid on my part
    Ok, I'll use the code I posted as an example, but you can change it to whatever name and url you want.

    1. Copy the code I posted and paste it into Notepad and then save it as cadtutor.lsp
    2. Create a folder called Lisp, or whatever you want. This folder can be located anywhere on your computer, but I would advise against putting it in your Autocad directory in case you ever need to reinstall Autocad.
    3. Open Autocad and then open up your CUI.
    4. Create a new Toolbar and then drag any pre-made command into your new Toolbar. It doesn't matter which one because you're going to change everything anyway, so just pick one and drag & drop it into your Toolbar.
    5. Change everything to match what is shown in the screenshot below.
    6. Click "OK" to exit the CUI.
    7. Type APPLOAD at the command line and then browse to the folder where you saved the lisp routine. Select it and then click the "Load" button. Now click the "Contents" button under "Startup Suite", then click the "Add" button and browse for the lisp routine again. Select it and then click "Close" and then click "Close" again. With the lisp in your Startup Suite, it will always automatically load every time you open a drawing.
    9. Now that you're back in the Autocad drawing area, click the new button on your new toolbar and your web browser should open up to Cadtutor.
    Attached Images
    "Work Smart, Not Hard"

    Click to View My Portfolio ( Updated 05/21/2013 ) --->
    http://www.rdeweese.com/

  10. #10
    Super Moderator Cad64's Avatar
    Computer Details
    Cad64's Computer Details
    Operating System:
    Windows 7 Profesional x64
    Computer:
    XI Computers
    Motherboard:
    Asus P8Z77-V Pro
    CPU:
    Intel Core I7 3770K 4.1 Ghz Quad Core 3rd Gen
    RAM:
    8GB DDR3 @ 1333MHz
    Graphics:
    Nvidia GeForce GTX 570 1280MB GDDR5
    Primary Storage:
    SATAII 500GB 7200 RPM
    Secondary Storage:
    Western Digital My Book Studio Edition II - 2TB capacity
    Monitor:
    HPf2105 21" LCD Widescreen & Cintiq 21ux
    Discipline
    Multi-disciplinary
    Cad64's Discipline Details
    Occupation
    Freelance Digital Artist
    Discipline
    Multi-disciplinary
    Details
    In a nutshell, I create 3D models from the client's CAD files or design sketches, which I then use to produce high quality rendered images. Click on the link in my signature to view my portfolio. I'm always looking for work, so let me know if you need any renders. :)
    Using
    3ds Max 2011
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    8,429

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by rocneasta View Post
    would it be possible to explain this step by step in your own spare time. or at least give some info on where i could learn it on my own
    cheers
    If you want to create buttons that will take you to other websites, just re-use the code below and change the items in red.

    (defun c:cadtutor (/) This is the command that you would type into the command line. Change it to whatever you want.
    (startapp "explorer" "http://www.cadtutor.net/forum/index.php") Replace this with whatever url you want. Just make sure its enclosed in quotes.
    (princ)
    )

    When you save each routine, make sure to save it with the same name that you used in the routine. For example, this one is c:cadtutor so the lisp routine is named cadtutor.lsp. If you named a routine c:facebook, your lisp should be facebook.lsp.

    Make sense?
    "Work Smart, Not Hard"

    Click to View My Portfolio ( Updated 05/21/2013 ) --->
    http://www.rdeweese.com/

Similar Threads

  1. AutoCAD 2008 opening issue
    By oldsoftboss in forum AutoCAD General
    Replies: 9
    Last Post: 31st Aug 2009, 11:35 am
  2. AutoCAD opening Actrix
    By priester in forum AutoCAD General
    Replies: 0
    Last Post: 6th Feb 2009, 04:47 pm
  3. Autocad 2005 LT not opening
    By phil_a in forum AutoCAD Drawing Management & Output
    Replies: 6
    Last Post: 11th Aug 2006, 12:46 pm
  4. Executing a routine VBA at Autocad opening
    By zxc80 in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 18th Jun 2006, 09:17 pm
  5. Opening Databases from AutoCAD
    By pixelrat in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 21st Jul 2003, 10:55 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