Recommended Posts

Posted

Dzień dobry

Korzystamy z lispa przesuwającego pewne rzeczy rysunku "na górę". wymiary, teksty wieloliniowe, odnośniki i wybrane warstwy.

Zaktualizowaliśmy Zwcada z 2020 do 2024 i zauważyłem, że zmieniona została funkcja mtext. Zatem funkcja dla mtekstów nie działa, dla pozostałych jest ok. Fragment lispa:

Cytat

(setq s1 (ssget "X" (list (cons 0 "dimension") )))        ;wymiar
(setq s2 (ssget "X" (list (cons 0 "mtext") )))               ;mtekst        
(setq s3 (ssget "X" (list (cons 0 "multileader"))))       ;odnośnik wieloliniowy

(command "_ai_draworder" "_front"s1"")        
(command "_ai_draworder" "_front"s2"")
(command "_ai_draworder" "_front"s3"")

"dimension" i "multileader" dalej działają, "mtext" już nie. Dodam, że dla nas jest to ogromne ułatwienie, bo wszystkie elementy tekstowe mapy od geodety czy z ośrodków są tekstem, także one pozostają "na dole". Ktoś pomoże?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now