Error boundary Xline

Error boundary Xline

martin_leiter
Advocate Advocate
2,214 Views
23 Replies
Message 1 of 24

Error boundary Xline

martin_leiter
Advocate
Advocate

Please help.
I have the following Lisp:

(defun c:umgrxlinien (/ AWS)
(setvar "HPISLANDDETECTIONMODE" 0)
(setvar "HPISLANDDETECTION" 2)
(if(setq AWS(ssget "X"
'( (-4 . "<OR")
(0 . "XLINE")
(0 . "Ray")
(-4 . "OR>")
)
))
(command-s "-umgrenzung" "o" "U" "N" AWS "" "" "_non" Pause))
(princ)
)

The error only occurs in Acad 2025. In Acad 2024 everything works normally and a boundary is created within the Xlines.

In 2025, however, if a line crosses the boundary of the Xlines, only the part up to this line is recognized as a boundary.
I have tried many things but nothing works.
Can someone help?
Thanks

Martin

0 Likes
Accepted solutions (1)
2,215 Views
23 Replies
Replies (23)
Message 21 of 24

martin_leiter
Advocate
Advocate

Henrique this works very well for me!
Thanks!

0 Likes
Message 22 of 24

hmsilva
Mentor
Mentor

@martin_leiter wrote:

Henrique this works very well for me!
Thanks!


You're welcome, @martin_leiter 
Glad I could help

 

The -boundary command in AutoCAD 2025 does not have the same behavior that it had in previous versions.
Let's hope next update will correct the -boundary command, @ambrosl @artc2 or someone from Autodesk give us some help...

Henrique

EESignature

0 Likes
Message 23 of 24

ambrosl
Autodesk
Autodesk

Hello @hmsilva and @martin_leiter,

 

Thanks for the heads up on this problem.  I will pass this along to software development for research.

 



Lee Ambrosius
Senior Principal Content Experience Designer
For additional help, check out the AutoCAD Developer Documentation
Message 24 of 24

hmsilva
Mentor
Mentor

@ambrosl wrote:

Hello @hmsilva and @martin_leiter,

 

Thanks for the heads up on this problem.  I will pass this along to software development for research.

 


Thanks @ambrosl 

 

Henrique

EESignature

0 Likes