layer do change view properties in any case but should not

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

layer do change view properties in any case but should not

Post by bernd »

if a object is added to a layer the view properties are changed. IMHO it should be possible to add a object to a layer without changing the view properties. In German AutoCAD this is known as "vonLayer". If set to False the view property is not taken from the layer.

The background behind is as follows. In ifc the view properties are not stroed in the layer, but FreeCAD does use the layer view properties on ifc import. Thus on ifc import all material colors are overwritten.

cheers bernd

Since some changes in Draft would need to make I may add a preference to not import the layer on ifc import as a fast workaround.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: layer do change view properties in any case but should not

Post by bernd »

User avatar
Roy_043
Veteran
Posts: 8539
Joined: Thu Dec 27, 2018 12:28 pm

Re: layer do change view properties in any case but should not

Post by Roy_043 »

Have you considered these two layer properties?:
Override Line Color Children
Override Shape Color Children
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: layer do change view properties in any case but should not

Post by bernd »

damn I somehow missed them ... I had a look at Data not View
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: layer do change view properties in any case but should not

Post by bernd »

improve ifc import .... git commit 8f9ea8701db5
User avatar
thomas-neemann
Veteran
Posts: 11893
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: layer do change view properties in any case but should not

Post by thomas-neemann »

bernd wrote: Tue Oct 26, 2021 10:50 am
confirmed. I had already noticed it too

https://forum.freecadweb.org/viewtopic. ... er#p539764
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply