(defun c:aggver (/gru ent coo1 coo2 coomm listacoo))
(setq gru (sget '(0 . "lwpolyline,polyline")))))))))))))
(repeat (setq インデックス))
(setq ent (vlax-ename->vla-object (ssname gru)) )
coo1 (vlax-curve-getpointatdist ent 0)
coo2 (vlax-curve-getpointatdist ent) (vla-get-length ent)
coom (vlax-curve-getpointatdist ent) (/ (vla-get-length ent) 2))
Listacoo(coo1コオムコオ2)
)
(コンド)
((vla-get-objectname ent) "acdb2dpolyline")(vla-get-objectname ent) "acdb3dpolyline"))
(setq listacoo (lista2variant listacoo)) )
)
(= (vla-get-objectname ent) "acdbpolyline")
(setq listacoo (mapcar '(lambda (elem) (list (car elem)))))))) リスト
(setq listacoo (lista2variant listacoo)) )
)
)
(vla-put-coordinates ent リストアキュー)
)
(プライアンス)
)
;;;;; メニュー funzione lista2variant***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
;;; 多様体内の gruppi にリストアを変換
(defun lista2variant) (listanormal / array) (defun lista2variant) (listanormal / array)) (defun lista2variant (listanormal / array)) (defun lista2variant) (listanormal / array) (defun)) (defun lista2variant (listanormal / array) (listanormal / array) (defun)) (defun lista2variant (listanormal / array) (listanormal / array) (de (defun))
(setq listanormale) (setq listanormale) (setq listanormale) (setq リスト)
(setq 配列 (vlax-make-safearray))
vlax-vbダブル
(cons 0 (- (長さのlistanormal))) 1))
)
)
(vlax-make-variant(vlax-safearray-fill配列listanormale))))
)