Assgarth Posted July 13, 2011 Report Posted July 13, 2011 Witam, takie pytanko, funkcja "vla-getentity" ma działanie jak "entsel" lecz zwraca "nil", w jaki sposób można uzyskać informację o współrzędnych punktu, który został wskazany? ENTSEL: (entsel "\nWskaż obiekt:") --> ( '(x y z)) VLA-GETENTITY: (setq util (vla-get-utility (vla-get-activedocument (vlax-get-acad-object)))) (vla-getentity util 'obj1 'ip "\nWskaż obiekt: ") (princ ip) --> nil !ip --> nil (princ obj1) --> Znalazłem taki opis: The reference to the Object is stored in the variable "obj" and the pickpoint is stored in variable "ip" in the form of a safearray Dodam, że w AutoCAD zwracana wartość faktycznie ma miejsce i postać: !ip --> # pozdrawiam, ZK Quote
kruszynski Posted July 13, 2011 Report Posted July 13, 2011 Potwierdzam działanie jak Pan opisuje. Wyślę zapytanie do producenta. Quote
kruszynski Posted July 18, 2011 Report Posted July 18, 2011 Temu zgłoszeniu został nadany numer: T4178 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.