Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/21/2018 in all areas

  1. FYI: Steve Johnson has an article about this new lisp function called (inspector), in BLADE, for inspecting objects.
    1 point
  2. It would help to have more information. What happens in drag&drop depends on what you drag and where you drop it. For instance, if you drop a drawing onto the AutoCAD icon, it opens as its own drawing, whereas if you drop it into your drawing space it becomes a block inside the current drawing. Also, the operating system (and the version of it) you have can affect drag&drop. Have you recently upgraded your OS? What are you attempting to drag? Where are you dropping it? What is the desired outcome?
    1 point
  3. I'm not sure what sort of steps you're looking for? The procedure is in the name. Just "Drag" and "Drop". But, if you need more information, take a look here: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/autocad-triple-d-develop-drag-drop.html
    1 point
  4. If you are using AutoCAD for Windows you can get the maximum and minimum extents (and hence the maximum and minimum elevations) using the vla-GetBoundingBox function. This works for any entity, not only 3DFaces. I've put up a simple example that displays the Minimum and maximum elevations for the selected object: (defun c:show-elev (/ minpt maxpt) (vl-load-com) (vla-GetBoundingBox (vlax-ename->vla-object (car (entsel "\nSelect entity: "))) 'minpt 'maxpt) (alert (strcat "Minimum elevation:\t" (rtos (last (vlax-safearray->list minpt)) 2 4) "\nMaximum elevation:\t" (rtos (last (vlax-safearray->list maxpt)) 2 4)))) This other one displays the maximum and minimum boundingbox corner: (defun c:show-extents (/ minpt maxpt) (vl-load-com) (vla-GetBoundingBox (vlax-ename->vla-object (car (entsel "\nSelect entity: "))) 'minpt 'maxpt) (alert (strcat "Minimum boundingbox corner:\t" (vl-princ-to-string (vlax-safearray->list minpt)) "\nMaximum boundingbox corner:\t" (vl-princ-to-string (vlax-safearray->list maxpt)))))
    1 point
×
×
  • Create New...