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:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user