View Full Version : autolisp in LDD
2004-06-16, 01:40 AM
I using LDD 2i, i often need other routine that not available in LDD, so i try to make in autolisp. I have several problem :
1. How to access point id in my LDD point database so i can use the attribute of that point to my lisp.
2. How to call the menu in LISP? example : i want to use Point -> Create Point -> Manual in LISP. (Menu Point are available in LDD)
Thanx a lot
2004-06-16, 04:16 PM
how about this
(defun MST-CreateCogoPoint (PointCoords / AeccProject Pnts NewPoint)
Count (vlax-get-property Pnts 'Count)
(vlax-invoke-method Pnts 'Add
(vlax-3D-point PointCoords) 1)
NewPointNum (vlax-get-property NewPoint 'Number)
2004-07-07, 09:34 PM
Thanx mark, let me try this lisp. I still confusing about how to make lisp to draw polyline with given ID Point or Description of point, not the coordinat or getent thing. I think that gonna be a big memory, because i had to collect all information about that point using selection of set :( do i right?
Powered by vBulletin® Version 4.1.11 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.