Arch: ArchCommands, change the color of the vertices of the subcomponent when using Arch Remove, just like the line color and shape color are changed.

This commit is contained in:
vocx-fc
2019-09-17 13:05:44 -05:00
committed by Yorik van Havre
parent 834f977157
commit 2f06decce5

View File

@@ -275,6 +275,8 @@ def setAsSubcomponent(obj):
color = getDefaultColor("Construction")
if hasattr(obj.ViewObject,"LineColor"):
obj.ViewObject.LineColor = color
if hasattr(obj.ViewObject, "PointColor"):
obj.ViewObject.PointColor = color
if hasattr(obj.ViewObject,"ShapeColor"):
obj.ViewObject.ShapeColor = color
if hasattr(obj.ViewObject,"Transparency"):