Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't select objects while app is loaded

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
trmaEGMSS
514 Views, 7 Replies

Can't select objects while app is loaded

I've been using a lsp called "ZPT Z VALUE" (attached) to show the elevation of points in autocad. It's been working without issues in the past.

 

Now my autocad no longer lets me select objects when I'm running this or any other lsp. The objects are highlighted when I move the fence over them but when I try to make the selection it just says "0 found". When not running a lsp I can select objects and delete them or do whatever I want with them.

 

The problem seems to affect every app i try to run.

 

I've tried everything I can find online for more than a week now but nothing changes the behaviour.

7 REPLIES 7
Message 2 of 8
CGBenner
in reply to: trmaEGMSS

@trmaEGMSS 

Welcome to the Community!  Can you tell us what version of AutoCAD you are running?  Did you recently do any kind of update?


Chris Benner
Industry Community Manager – Design & Manufacturing


If a response answers your question, please use  ACCEPT SOLUTION  to assist other users later.


Also be generous with Likes!  Thank you and enjoy!


Become an Autodesk Fusion Insider
Inventor/Beta Feedback Project
Message 3 of 8
trmaEGMSS
in reply to: CGBenner

I'm running Autocad Map 3D 2024. It's a corporate machine so it may have updated without me noticing.

Message 4 of 8
pendean
in reply to: trmaEGMSS

Did you test in many DWG files?
What about everyone else in your office?

Are you sure you have plain-AutoCAD POINT object types in your file? Find them using QSELECT, FILTER or SELECTSIMILAR commands right now.

What are your settings for PICKFIRST and PICKADD variables?
Are ALL of your layers thawed/on/unlocked?

Did you restart your PC yet?

Your LISP works just fine here in a DWG file that I added POINT objects to all over the place, in 2024-2024-2025 year versions for me.
Message 5 of 8
trmaEGMSS
in reply to: pendean

 

Thank you!

 

The problem is that apparently the points are not plain AutoCad Points.

I tried creating a new point with the point command and  gave it a Z value and after that the LSP worked as expected.

 

How do I fix this? Is there a way to create a LSP that does the same thing but with objects too instead of just points?

I still don't understand how it worked the first time I tried it out, as that was also done on objects..

 

Message 6 of 8
CGBenner
in reply to: trmaEGMSS

@trmaEGMSS 

Hi, is it your objective to just get everything in your drawing to a Z of "0"?  @pendean does "FLATTEN" still exist in AutoCAD? (It's been a long time....)


Chris Benner
Industry Community Manager – Design & Manufacturing


If a response answers your question, please use  ACCEPT SOLUTION  to assist other users later.


Also be generous with Likes!  Thank you and enjoy!


Become an Autodesk Fusion Insider
Inventor/Beta Feedback Project
Message 7 of 8
trmaEGMSS
in reply to: CGBenner

No, my objective is to have the Z value of each point written next to the point, with 2 decimal places.

 

Basically the goal is to do exactly what the LSP I initially attached does. The problem now is I don't know how to do that for the points (objects) I have from my trimble surveying equipment.

Message 8 of 8
trmaEGMSS
in reply to: trmaEGMSS

So the problem was indeed that the LSP needs actual points to work. It doesn't work with polylines or blocks.

 

I can explode polylines and have the LSP work but none of my blocks has actual points. How do I get autocad to insert an actual point (one that I can see whem changing point style in ddptype) on the insertion points of the blocks? All the blocks have a single x, y and z coordinate so I'm kind of baffled why the LSP doesn't work on blocks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report