Author Topic: database changes command HIDEOBJECTS  (Read 2105 times)

0 Members and 1 Guest are viewing this topic.

Harrie

  • Guest
database changes command HIDEOBJECTS
« on: March 08, 2012, 07:32:59 AM »
In AutoCAD 2011 you have the command HIDEOBJECTS
and UNISOLATEOBJECTS.

This is not done with the DXF code 60!
Like the program INVIS.lsp
http://www.cadtutor.net/forum/showthread.php?59655/page2

This is also not done with the Visible property!
Code: [Select]
(vl-load-com)
(vlax-put-property (vlax-ename->vla-object (car (entsel))) 'Visible 0)

What are the database changes, when I use the
command HIDEOBJECTS.

Regards.
« Last Edit: March 08, 2012, 11:25:17 AM by Harrie »

Harrie

  • Guest
Re: database changes command HIDEOBJECTS
« Reply #1 on: March 09, 2012, 09:28:17 AM »
I think it is in the dictionary "ACAD_OBJECTISOLATION".
Code: [Select]
(setq dic (dictsearch (namedobjdict) "ACAD_OBJECTISOLATION"))But I can't see the names of the entities.

Regards.

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: database changes command HIDEOBJECTS
« Reply #2 on: March 09, 2012, 10:09:39 AM »
Indeed, the XRecord stored in that Dictionary doesn't reveal much at all; neither does Google  :-(

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: database changes command HIDEOBJECTS
« Reply #3 on: March 13, 2012, 10:22:45 AM »
This is the only thing I was able to ascertain from the ACAD_OBJECTISOLATION Dictionary:

Code - Auto/Visual Lisp: [Select]
  1.   (
  2.     (-1 . <Entity name: 7ef03b08>)
  3.     (0 . "XRECORD")
  4.     (5 . "501")
  5.     (102 . "{ACAD_REACTORS")
  6.     (330 . <Entity name: 7ef01c60>)
  7.     (102 . "}")
  8.     (330 . <Entity name: 7ef01c60>)
  9.     (100 . "AcDbXrecord")
  10.     (280 . 1)
  11.     (70 . 7) ;; <---  This increments whenever HIDEOBJECTS, ISOLATEOBJECTS or UNISOLATEOBJECTS is used.
  12.     (70 . -1)
  13.   )

Other than that, this feature doesn't appear to be exposed to LISP :-(
« Last Edit: March 13, 2012, 10:30:13 AM by Lee Mac »

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: database changes command HIDEOBJECTS
« Reply #4 on: March 13, 2012, 03:10:41 PM »

Other than that, this feature doesn't appear to be exposed to LISP :-(
That's a bummer.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: database changes command HIDEOBJECTS
« Reply #5 on: March 13, 2012, 03:43:01 PM »
Have you tried INSPECTOR??
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io