I would like the ability to freeze individual objects in certain viewports.
|
Yes, I definitely need this.
This would be useful.
Nice idea, but I would not use it.
No, this is not needed, please work on another feature.
This can already be done.
I would like the ability to freeze individual objects in certain viewports.
You mean like this:
Edit:Code:;; Turn off visibility for selected objects (defun c:OFF (/ ss) (vl-load-com) (prompt "\n Select objects to hide: ") (if (setq ss (ssget)) ((lambda (i / e) (while (setq e (ssname ss (setq i (1+ i)))) (vla-put-visible (vlax-ename->vla-object e) :vlax-false))) -1)) (princ)) ;; Turn on visibility for all objects (defun c:ON (/ ss) (vl-load-com) (prompt "\n Turning on visibility for all objects... ") (if (setq ss (ssget "_x")) ((lambda (i / e) (while (setq e (ssname ss (setq i (1+ i)))) (vla-put-visible (vlax-ename->vla-object e) :vlax-true))) -1)) (princ))
Error checking not included. Beware of locked layers, etc.
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
Does that work on a per-viewport basis, or is the selected object made invisible globally?
Sorry for the delayed response, as I've been out of town for a two-day training event.
To answer your question, this code turns off the Visible property for each object selected, so any viewport where the object is 'in view', the object will no longer be visible (i.e. Globally).
AFAIK, AutoCAD does not provide a means to turn off visibility (at the entity level) which is viewport specific... at least not without copying, and layer manipulation.
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
That is what I thought your function did, and what I thought the program's capabilities were; but I thought I would ask since there certainly are many things in the program about which I am less than knowledgeable.
I am thinking that the original poster was looking for an equiavalent to Revit's "Hide in View" feature, which would be a valid wish, since it can not be done.
Is there a way to edit the lisp above to be able to freeze individual objects that are in an xref? It works great, but I need the ability to freeze different objects that are in a xref. Thanks