I am trying to change the Graphics Override for layers in a linked DWG. I know that there is a Node form Bimorph to change the Visibility but not the color (@Thomas_Mahon ):
Hi,
I am looking to hide/uncheck layers in a linked CAD file within a view like a Drafting View. There is documentation on how to change line colors, etc but I am having trouble pin pointing a way to simply hide a layer in a view via Dynamo/API. To shortcut initial steps I can use @Thomas_Mahon Bimorph Nodes to obtain all CAD Links and their Layer names. The Bimorph CAD.SetObjectStyle does not include an option for turning off a layer by name. Is there a way through the API or functionality in …
There is also a node to change the Object Style:
Yes, just use List.Map:
[image]
Also, I’ve found a hack to get Python to force the line colour update without you having to hide/unhide the reference:
It’s pretty strightforward really; I’ve simply automated the hide/unhide step.
#Copyright 2016. All rights reserved. Bimorph Consultancy LTD, 5 St Johns Lane, London EC1M 4BH www.bimorph.co.uk
#Written by Thomas Mahon @Thomas__Mahon info@bimorph.co.uk package: bimorphNodes
#GitHub: https://github.com/ThomasMahon/bimorphNodes/
import clr…
There are even options to override an element, but I found nothing to override the Color for a View.
Could someone help me?
Thanks!