Author Topic: Programmatically determine 'Isolate Objects State' (lamp icon)?  (Read 6762 times)

0 Members and 1 Guest are viewing this topic.

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: Programmatically determine 'Isolate Objects State' (lamp icon)?
« Reply #15 on: September 26, 2012, 08:00:17 AM »
Jeff have you tried and been successful in replicating the ISOLATEOBJECTS command within any of your code?  I've got some utilities that could benefit from object isolation if I can replicate the command but I haven't attempted it yet.
Revit 2019, AMEP 2019 64bit Win 10

Jeff H

  • Needs a day job
  • Posts: 6150
Re: Programmatically determine 'Isolate Objects State' (lamp icon)?
« Reply #16 on: September 26, 2012, 04:49:05 PM »
I have not tried but I would guess it would be just setting all entites Visible property to false.

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: Programmatically determine 'Isolate Objects State' (lamp icon)?
« Reply #17 on: September 26, 2012, 04:53:15 PM »
Speaking English as a French Frog

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: Programmatically determine 'Isolate Objects State' (lamp icon)?
« Reply #18 on: September 27, 2012, 07:53:56 AM »
Thanks gile, I had seen that when I was searching but I was looking for using the ISOLATEOBJECTS "system".  AutoCAD doesn't just turn the visibility off when you use the ISOLATEOBJECTS command. I was trying to isolate objects within my code that could be turned off(visibility back on) using the built in UNISOLATEOBJECTS.

Might have some time next week to experiment with turning visibility off, add Xrecord to NOD, and adding XDATA to entity and see if AutoCAD can unisolate it.
Revit 2019, AMEP 2019 64bit Win 10