Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
I need the coordiantions of the startpoint of a multileader
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: I need the coordiantions of the startpoint of a multileader (Read 1998 times)
0 Members and 1 Guest are viewing this topic.
Amsterdammed
Guest
I need the coordiantions of the startpoint of a multileader
«
on:
October 22, 2018, 04:59:16 PM »
Hello there,
after a long time in Revit land i am back with a lisp problem.
How can i read out the start point of a multileader?
Logged
ronjonp
Needs a day job
Posts: 7526
Re: I need the coordiantions of the startpoint of a multileader
«
Reply #1 on:
October 22, 2018, 05:01:55 PM »
Code - Auto/Visual Lisp:
[Select]
(
setq
o
(
vlax
-
ename
->
vla-object
(
car
(
entsel
)
)
)
)
;; First 3 items
(
vlax-invoke
o 'getleaderlinevertices
0
)
Logged
Windows 11 x64 - AutoCAD /C3D 2023
Custom Build PC
Marc'Antonio Alessi
Swamp Rat
Posts: 1451
Marco
WWW
Re: I need the coordiantions of the startpoint of a multileader
«
Reply #2 on:
October 23, 2018, 08:47:26 AM »
Or with Vanilla:
(setq o (car (entsel)))
(assoc 15 (entget o))
>> (15 13234.9898713344 3370.0 0.0)
Edit: erase everything I wrote... DXF 15 > Block Content Position
«
Last Edit: October 23, 2018, 10:06:35 AM by Marc'Antonio Alessi
»
Logged
https://sites.google.com/view/alessimarcantonio/home
Coding manual:
https://tinyurl.com/y643cva6
https://www.facebook.com/alessicad
https://www.linkedin.com/in/marc-antonio-alessi-451959118/
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
I need the coordiantions of the startpoint of a multileader