Good day everyone.
I'm trying to make a small routine that will get cross sections with "sectionplanetoblock" command
But even when I set the variable FILEDIA to 0, the dialog box still pops up
Is there a way to avoid this?
The idea is ask for the section plane and the point of insertion, and then with this data perform the command automatically
(defun c:transv ()
(command "_filedia" 0)
(prompt "\nSeleciona plano de sección")
(setq plano (ssget))
(setq insert (getpoint "\nPunto de inserción: "))
(command "_sectionplanetoblock" plano "" insert "" "" "") ;this is a guess
(command "_filedia" 1)
(princ)
)
The main idea is, if this above is possible, find the way to select several section planes and cycle them to obtain several sections at the same time.