Contact Me

If you have any questions or have an idea for a macro that would be cool to have let me know.  Send me an email with any questions, comments or ideas.
Thank you for visiting Talk about CAD!

email me

2 comments:

  1. Hi Matthew,
    I hope you can point me in the right direction with somthing I'm trying to do.

    I'm using your Diesel "Auto Increment" number in AutoCAD 2014LT, but I would like to add a user input section to ask for the USERR1 and USERR2 varables before it starts numbering.
    I've found the
    _USERR1;\_USERR2;\
    section of script but can't seem to get it to combine.

    I would also like to add a text height variable (say USERR3) and have just found your article on -STYLE and was wondering if this could be incorperated as well?

    Any assistance would be welcome.

    Thanks

    Chris.

    ReplyDelete
  2. Hi,

    I need help with diesel codes within a field.

    I would like to be able to access file names that are at the end of a file path, however one file name in the middle of the path changes in length. e.g.

    2019\123456 'Name length changes'\Drawings\Mechanical\Preliminary

    I can get Diesel to get '2019' and '123456' with no problem as the character lengths never change. Is there a way Diesel
    can count backwards? As the folder names 'Mechanical' & 'Preliminary' don't change in character length.

    So if there was a way for Diesl to just grab the last two folders, count the folder string characters backwards there would be no change in character length.

    Any help would be greatly appreciated.

    or would a Lisp be better?

    Best Regards

    Ben.williams@hollowaypartnership.co.uk

    ReplyDelete