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.
Solved! Go to Solution.
Solved by trmaEGMSS. Go to Solution.
Solved by pendean. Go to Solution.
@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!
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..
@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!
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.
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.