Author Topic: Message of inserting a file  (Read 1285 times)

0 Members and 1 Guest are viewing this topic.

velasquez

  • Newt
  • Posts: 195
Message of inserting a file
« on: May 10, 2016, 01:09:52 PM »
I'm working with 3D drawings that were not created by me.
When the drawing is inserted into a file I get the following message:
Code: [Select]
Duplicate definition of layer state "ACAD_VIEWS_Vue1" ignored.
Does anyone know how not to show it.
I've tried the variable EXPERT did not work.

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Message of inserting a file
« Reply #1 on: May 10, 2016, 01:25:23 PM »
Looks like both drawings have a layer state with the same name "ACAD_VIEWS_Vue1", must have been created by the acad vertical product that was used to create the drawing you are inserting and the drawing you created.  The odds that both drawings would have the same layerstate name had they been created by different user seems pretty slim.  I would try renaming the layerstate in the drawing you are trying to insert to something else then try re-inserting.

velasquez

  • Newt
  • Posts: 195
Re: Message of inserting a file
« Reply #2 on: May 10, 2016, 03:01:41 PM »
Looks like both drawings have a layer state with the same name "ACAD_VIEWS_Vue1", must have been created by the acad vertical product that was used to create the drawing you are inserting and the drawing you created.  The odds that both drawings would have the same layerstate name had they been created by different user seems pretty slim.  I would try renaming the layerstate in the drawing you are trying to insert to something else then try re-inserting.

Hello snow nut2
The problem is that I can not find this layer.
I worked with
Code: [Select]
(setq LayerCol (vla-get-layers (vla-get-ActiveDocument (vlax-get-acad-object))))
(vla-item LayerCol 0)
(vla-item LayerCol 1)


roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Message of inserting a file
« Reply #3 on: May 10, 2016, 03:24:22 PM »
A layer state is not the same as a layer.
Hint:
Code - Auto/Visual Lisp: [Select]
  1.   (vlax-vla-object->ename
  2.     )
  3.   )
  4.   "ACAD_LAYERSTATES"
  5. )

velasquez

  • Newt
  • Posts: 195
Re: Message of inserting a file
« Reply #4 on: May 11, 2016, 04:11:15 AM »
A layer state is not the same as a layer.
Hint:
Code - Auto/Visual Lisp: [Select]
  1.   (vlax-vla-object->ename
  2.     )
  3.   )
  4.   "ACAD_LAYERSTATES"
  5. )

Thanks Roy
With this information I managed to remove the Layer State.