OK thanks for your effort.
I'm still having the same issues, so I will keep plugging away at it.
|
OK thanks for your effort.
I'm still having the same issues, so I will keep plugging away at it.
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
Which Selection Box pops up?
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
Has anyone been able to solve this?
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.
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) )