Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/10/2021 in all areas

  1. What is your line in your code for the vl-file-copy? (obviously if it is a shortcut link, the file extension will be .lnk )
    2 points
  2. ;; For polylines ONLY. Points returned in WCS (defun foo (ent / d dis i m pm p) (setq i 0 p 0.0 m 0.0) (while (setq i (1+ i) d (vlax-curve-getdistatparam ent i)) (if (< m (setq dis (- d p))) (setq m dis pm (1- i))) (setq p d) ) (list (vlax-curve-getpointatparam ent pm) ; Start Vertex (vlax-curve-getpointatparam ent (1+ pm)) ; End Vertex (vlax-curve-getpointatparam ent (setq pm (+ 0.5 pm))) ; Mid Vertex (angle '(0.0 0.0 0.0) (vlax-curve-getfirstderiv ent pm)) ; Angle at mid vertex ) )
    1 point
×
×
  • Create New...