Author Topic: Could someone make one layer not to add any entity  (Read 2744 times)

0 Members and 1 Guest are viewing this topic.

connieleo

  • Guest
Could someone make one layer not to add any entity
« on: April 01, 2005, 02:32:38 AM »
I want make a especial layer which can not add any entity. Is it possible?
Thanks in advance.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Could someone make one layer not to add any entity
« Reply #1 on: April 01, 2005, 06:35:13 AM »
You could probably achieve what you ask by some reactor slight of hand but can I ask what purpose such a layer serves?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Could someone make one layer not to add any entity
« Reply #2 on: April 01, 2005, 07:47:59 AM »
A layer with its locked property set to True comes to mind ...

.. but as MP noted, It would require some black magic to ensure it stayed locked in all circumstances.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Could someone make one layer not to add any entity
« Reply #3 on: April 01, 2005, 07:49:52 AM »
Ahhh, but you can add entities to locked layers, you just can't modify / delete 'em once they're on said layer.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Could someone make one layer not to add any entity
« Reply #4 on: April 01, 2005, 07:55:49 AM »
duh !!   :oops:

.. I'm having visions of an old crone stirring a cauldron ..
.. .. bubble, bubble, toil and trouble .....
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Could someone make one layer not to add any entity
« Reply #5 on: April 01, 2005, 07:57:49 AM »
Hey, where'd you find my pic!?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CADaver

  • Guest
Could someone make one layer not to add any entity
« Reply #6 on: April 01, 2005, 08:28:58 AM »
ummm... what for??  Do you mean a layer that can have NO entities or a layer that you can't add any new entities??

I'm soooo cunfused.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Could someone make one layer not to add any entity
« Reply #7 on: April 01, 2005, 08:38:20 AM »
I'm guessing here,

connieleo may want to ONLY be able to add/remove entities/objects programmatically using HIS routines.

.. I can see some use for that ..
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CADaver

  • Guest
Could someone make one layer not to add any entity
« Reply #8 on: April 01, 2005, 09:15:00 AM »
Ahhhhh.... okay, I can see that.