Results 1 to 6 of 6

Thread: Need help with my first lisp

  1. #1
    Member
    Join Date
    2013-03
    Posts
    6
    Login to Give a bone
    0

    Default Need help with my first lisp

    Hey guys,

    I am very new to this Lisp programming, i have written my first lisp but have become stuck.

    Basically what i want to do is Insert a block with attributes and edit those attributes while still in the inserting block phase.

    Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    0

    Default Re: Need help with my first lisp

    There is no block defined in DETAIL TITLE.dwg. You need to (setvar "ATTDIA" 0) first, then include the attribute values in (command "-insert" "Detail Title" bpt "1" "0" "0.0"). Reset ATTDIA to it's previous value afterwards.

  3. #3
    Member
    Join Date
    2013-03
    Posts
    6
    Login to Give a bone
    0

    Default Re: Need help with my first lisp

    By doing that it will always insert with those specific values.

    How could i make it so when you insert you get prompts to change those value and make it specific to only that insert

    If that makes sence..

    Thanks

  4. #4
    AUGI Addict fixo's Avatar
    Join Date
    2005-05
    Location
    Pietari, Venäjä
    Posts
    1,269
    Login to Give a bone
    0

    Default Re: Need help with my first lisp

    Try edited lisp I've gathered from other codes
    Detail Title.lsp

  5. #5
    Member
    Join Date
    2013-03
    Posts
    6
    Login to Give a bone
    0

    Default Re: Need help with my first lisp

    Perfect!

    Thanks Fixo!

  6. #6
    AUGI Addict fixo's Avatar
    Join Date
    2005-05
    Location
    Pietari, Venäjä
    Posts
    1,269
    Login to Give a bone
    0

    Default Re: Need help with my first lisp

    You're welcome,
    Glad to help
    Cheers

Similar Threads

  1. Replies: 13
    Last Post: 2014-01-20, 06:14 PM
  2. NEED HELP WITH LISP ROUTINE - PURGE linetype lisp
    By ECASAOL350033 in forum AutoLISP
    Replies: 6
    Last Post: 2013-06-21, 01:13 AM
  3. Replies: 3
    Last Post: 2012-05-07, 08:16 PM
  4. Replies: 9
    Last Post: 2012-01-21, 07:58 AM

Posting Permissions

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