Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Can't select objects while app is loaded

trmaEGMSS
Participant

Can't select objects while app is loaded

trmaEGMSS
Participant
Participant

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.

0 Likes
Reply
Accepted solutions (2)
519 Views
7 Replies
Replies (7)

CGBenner
Community Manager
Community Manager

@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
0 Likes

trmaEGMSS
Participant
Participant

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

0 Likes

pendean
Community Legend
Community Legend
Accepted solution
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.
0 Likes

trmaEGMSS
Participant
Participant
Accepted solution

 

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..

 

0 Likes

CGBenner
Community Manager
Community Manager

@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
0 Likes

trmaEGMSS
Participant
Participant

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.

0 Likes

trmaEGMSS
Participant
Participant

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.

0 Likes