;; Multiple Nested Copy - Lee Mac
;; Copies all components of a selected block reference to the active space.
(defun c:ncopym
( / ent lst mat obj
) (princ "\nMissed, try again.") )
(princ "\nSelected object is not a block reference.") )
(princ "\nSelected block must not be attributed.") )
( (= :vlax-true (vla-get-isdynamicblock obj))
(princ "\nSelected block must not be dynamic.") )
)
)
(princ "\nSelected block must be uniformly scaled.") )
( t
'((0.0 0.0 0.0 1.0))
)
)
)
(refgeom ent)
)
)
)
)
)
)
)
)
)
)
)
)
)
;; RefGeom (gile)
;; Returns a list whose first item is a 3x3 transformation matrix and
;; second item the object insertion point in its parent (xref, block or space)
(defun refgeom
( ent
/ ang enx mat ocs
) )
(mxm
'(
(1.0 0.0 0.0)
(0.0 1.0 0.0)
(0.0 0.0 1.0)
)
)
(mxm
'(0.0 0.0 1.0)
)
)
)
)
)
)
)
)
;; Matrix Transpose - Doug Wilson
;; Args: m - nxn matrix
)
;; Matrix x Matrix - Vladimir Nesterovsky
;; Args: m,n - nxn matrices
)
;; Matrix x Vector - Vladimir Nesterovsky
;; Args: m - nxn matrix, v - vector in R^n
)
;; Active Document - Lee Mac
;; Returns the VLA Active Document Object
(LM:acdoc)
)