Jump to content

Recommended Posts

Posted
29 minutes ago, jim78b said:

Sorry, but thank you for your hard work. It works now, but:
I thought I had a window always open with the block list that automatically updates without me having to select anything.
I'd like the window to stay open even when I'm working.
If I click on a block name, it highlights in the drawing.
Sorry if I wasn't specific.
Thanks

@jim78b I don't understand what you mean. Again - if you want this program to be property troubleshooted, please provide an example drawing and a visual explanation if what you are expecting to happen.

Posted

As I have already mentioned, that LISP has too many issues.

 

I trash canned all of my attempts, @pkenewell is correct, I had something else in there. I'll try to think about it. Yes, I had nil there.

 

Every issue I tracked down, a new one came up. Just forget that LISP and start from scratch.

Posted
6 minutes ago, SLW210 said:

As I have already mentioned, that LISP has too many issues.

 

I trash canned all of my attempts, @pkenewell is correct, I had something else in there. I'll try to think about it. Yes, I had nil there.

 

Every issue I tracked down, a new one came up. Just forget that LISP and start from scratch.

Ok for now thanks, I thought it was much simpler. Thanks a lot

Posted

I am waiting for IT to install some things including updates for Visual Studio, when that gets done, I'll look into writing something better.

 

The LISP that was posted in your other thread was a better start than this.

 

 

  • Like 1
Posted
3 minutes ago, SLW210 said:

I am waiting for IT to install some things including updates for Visual Studio, when that gets done, I'll look into writing something better.

 

The LISP that was posted in your other thread was a better start than this.

 

 

ok you are the best thanks for your time and support!

Posted
43 minutes ago, jim78b said:

@jim78b You cannot make an AutoLISP or Visual LISP program have a modeless interface like your example unless you use a third party add-on called OpenDCL or another called ObjectDCL. Using those is also very advanced programming. Otherwise, DCL in AutoLISP can only make simple Modal dialogs (meaning you can't work in the graphics editor when they are displayed).

  • Thanks 1
Posted (edited)

@jim78b Have you tried the Autodesk Design Center? You can drill into drawings and pull out blocks, layers, etc..

You can use a short program to pull up design center in the folder you want - something like:

;;--------------------------------------------------------
;; Command: (C:DSN)
;; Description:
;;		This Command Starts the AutoCAD Design Center window
;;		in the path specified.
;;--------------------------------------------------------
(defun c:DSN ( / usrpath)
	(setq usrpath "C:\\MyBlocks");<--CHANGE TO YOUR PREFFERED LOCATION.
	(if (= (getvar "adcstate") 0)
		(if usrpath (command "._adcnavigate" usrpath))
		(command "._adcclose")
	)
	(princ)
) ;; End Command "DSN"

 

image.thumb.png.02133b47f57e16b3423b5b46211094ab.png

Edited by pkenewell
  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...