See the top rated post in this thread. Click here

Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: Insert block from pull down menu & Show outline shape

  1. #21
    Member
    Join Date
    2020-02
    Posts
    16
    Login to Give a bone
    0

    Default Re: Insert block from pull down menu & Show outline shape

    OK thanks for your effort.
    I'm still having the same issues, so I will keep plugging away at it.

  2. #22
    Member
    Join Date
    2020-02
    Posts
    16
    Login to Give a bone
    0

    Default Re: Insert block from pull down menu & Show outline shape

    Perhaps the information in the command line can assist with the problem of a selection box being created after the code runs.
    The items in red do not appear to come from the LISP routine.


    Command: (blkins "UniversalBeams_610UB125")
    -INSERT Enter block name or [?]: UniversalBeams_610UB125
    Units: Millimeters Conversion: 1.0000
    Specify insertion point or [Basepoint/Scale/X/Y/Z/Rotate]:
    Enter X scale factor, specify opposite corner, or [Corner/XYZ] <1>: 1 Enter Y scale factor <use X scale factor>:
    Specify rotation angle <0>: 0
    Pick point: -rename Enter object type to rename
    [Block/dEtailviewstyle/Dimstyle/LAyer/LType/Material/multileadeRstyle/seCtionviewstyle/Style/Tablestyle/Ucs/VIew/VPort]: block
    Enter old block name: UniversalBeams_610UB125
    Enter new block name: UniversalBeams_610UB125-20200212.21285
    Command: regenall Regenerating model.

    Command:
    Command: scale
    Select objects: 1
    Specify opposite corner: *Cancel*
    0 found

  3. #23
    Active Member
    Join Date
    2015-12
    Location
    Western Europe
    Posts
    57
    Login to Give a bone
    0

    Default Re: Insert block from pull down menu & Show outline shape

    Which Selection Box pops up?

  4. #24
    Member
    Join Date
    2020-02
    Posts
    16
    Login to Give a bone
    0

    Default Re: Insert block from pull down menu & Show outline shape

    This is what happens (see attached screenshot).
    - Insert section.
    - Zoom box comes up automatically.
    - Left click gets rid of it but cursor does not come up. Escape twice is needed. Right click does not get rid of it.


    Zoom window.png

  5. #25
    Member
    Join Date
    2020-02
    Posts
    16
    Login to Give a bone
    0

    Default Re: Insert block from pull down menu & Show outline shape

    Has anyone been able to solve this?

  6. #26
    Member
    Join Date
    2020-02
    Posts
    16
    Login to Give a bone
    0

    Default Re: Insert block from pull down menu & Show outline shape

    I was wondering if anyone can solve this one.
    I've been trying to resolve over a period of months and this is the second forum that I've asked the question.
    I hope it's OK to try another forum again.

  7. #27
    Member
    Join Date
    2020-02
    Posts
    16
    Login to Give a bone
    0

    Default Re: Insert block from pull down menu & Show outline shape

    For info, from another forum, this has worked for me.

    Code:
    (defun blkins (blkname)
      (command "_.-insert" (strcat blkname "-" (rtos (getvar "cdate") 2 6) "=" blkname) pause 1 "" 0)
    )

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Double Click Pull Down Menu to Use Last Command Used from Menu
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2017-04-06, 01:09 PM
  2. Pull Down menu dropping custom Pull downs one by one
    By lessZmore in forum AutoCAD CUI Menus
    Replies: 1
    Last Post: 2010-09-28, 10:34 PM
  3. Pull Down Menu & CUI not communicating?
    By tiffany.amorgan in forum AutoCAD CUI Menus
    Replies: 2
    Last Post: 2007-10-05, 04:39 PM
  4. Replies: 2
    Last Post: 2007-01-09, 06:39 AM
  5. Calling an Image Tile Menu from Pull-Down Menu
    By pinckney3 in forum AutoCAD CUI Menus
    Replies: 2
    Last Post: 2006-01-06, 06:42 PM

Tags for this Thread

Posting Permissions

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