TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Peter2 on November 01, 2016, 07:41:02 AM
-
Edit: Solved
I have a drawing "test.dwg", where the block "myblock" was already inserted from "myblock.dwg".
How to get "insunits" from this already existing block? Should be easy, but at the moment I don't find the way :embarrassed:
Thanks
Peter
-
Found it - here is the way via "entlast":
-
Found this alternate that works for me A2K..
http://www.theswamp.org/index.php?topic=27342.msg329051#msg329051
-
Here's another way, using Vanilla AutoLISP:
(cdr (assoc 70 (entget (cdr (assoc 330 (entget (tblobjname "block" "myblock")))))))
Reference here (http://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-A1FD1934-7EF5-4D35-A4B0-F8AE54A9A20A) (see GC 1070).