Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by danielhyde

  1. danielhyde

    Script files not accessing Attribute fields

    You should just be able to use the "-attedit" command. It can be used within a script; you can specify the tag prompt and then the new value to be written, i.e.: -ATTEDIT N (edit attributes one at a time) N (only attributes visible on screen) (block name, if known) (att tag spec) (att...
  2. danielhyde

    Autocad 2004 learning curve

    The best thing would be to just search for AutoCAD tutorials in a search engine, or get some books and read everything. Also you could just open up AutoCAD and have a look around and experiment with everything. The time its takes to learn depends upon the individual and want they want to do...
  3. danielhyde

    Detail Drop Down Menu in ABS2004 & 2005

    HI, I have not used ABS-2004 but some of our add-ons to Autocad require a support path first(to be first in the list of paths), and then menuload, and then a Autocad restart. Just a thought.
  4. danielhyde

    Can I print the layerlist?

    Hi, Yes you can, there are many ways, but the way I do it is: 1)Type -layer on the command line. 2)-Choose the ? option to get a list of layers. 3)Press F2 to open the Text Window. 4)Select the layer list. Right-click and choose Copy. 5)Open a text editor such as Notepad and Paste, then...
  5. danielhyde

    Lisp - convert numbers to evens

    hi borgunit, It know works, it was a string! Thanks for the help. Dan
  6. danielhyde

    Lisp - convert numbers to evens

    HI borgunit, I am getting an error: ; error: bad argument type: numberp: I have been tring it as follows, (XSTR (fix (/ XSTR 2)) 2) I am tring to overwrite "XSTR" which is either odd or even, with a new "XSTR" value which is only even. Can you tell me where I am going wrong.
  7. danielhyde

    Lisp - convert numbers to evens

    Hi, Can anyone tell me how to convert odd numbers in to even numbers in LISP? I have a lisp routine which returns both even and odd numbers (0,1,2,3 up to 9) and I need to return and function that will round the figure down to the nearest even number, e.g.: 1 to 0, 3 to 2 etc. Can anyone help...
  8. danielhyde

    Convert LISP to VBA

    Hi Estassoc, Thanks for all your help; the modified lisp routine now does exactly what I want it to do. Thanks Dan
  9. danielhyde

    Convert LISP to VBA

    Hi, Thanks CarlB - I think that as there would be over 35 new support paths it would make autocad slower as it would be searching through these paths for other commands?. Estassoc - I idea of the Routine is to xref the correct file without the user doing anything but selecting the area. Thanks...
  10. danielhyde

    Convert LISP to VBA

    Hi, Is it possible to convert a LISP routine in to VBA routine? I have only a little knowledge of LISP and VBA. (I understand what it’s doing, but I am not sure how to write it) We currently have a routine that inserts XREF's of OS mapping in to a drawing by the user selecting a point on the...
  11. danielhyde

    Extract polylines x,y and length data?

    Hi borgunit, Yes, I only want the start and end points. Cheers Dan
  12. danielhyde

    Extract polylines x,y and length data?

    Hi, Does any one known how to extract the start and finsh X,y coords and total length data from all polylines in a drawing and save data in .xls format? I think it can be done through Lisp or VBA routines but don't know how, any help would be great. Thanks Dan
  13. danielhyde

    Chainage Lisp

    Thanks guys, Estassoc - thanks I sent you what a need, hope thats ok. IFRs - A Custom line type is no good as I need text by the chainage mark saying what the distance is (ie. 100m, 200m etc) so it needs to be intelligent - thanks anyway.
  14. danielhyde

    Chainage Lisp

    Hi, I need a lisp routine to create chainage marks along a polyline - does anyone have one or know where a can get one from? I need to be able to specify the Start chainage (text), interval, prefix, scale and precision - I think that’s it. Thanks Dan
  15. danielhyde

    Importing ArcView shp file into AutoCADMap

    What Version of AutoCadMap are you running?

Part and Inventory Search