Does anybody have a J-Link example of hiding a layer? Also, an example of checking assembly components to see if they are hidden? I am using layer.SetStatus(DisplayStatus.LAYER_HIDDEN) and component.GetIsVisible(), respectively. However, I am not getting the results I was expecting.
Not sure if this is exactly what you want but my _CURVES and _SURFACES layers are blanked when I create them using the code below: nLayer.CreateLayer("_CURVES").SetStatus(DisplayStatus.LAYER_BLANK); nLayer.CreateLayer("_POINTS"); nLayer.CreateLayer("_SURFACES").SetStatus(DisplayStatus.LAYER_BLANK); Hope this helps
Not exactly. I am trying to find any hidden components in an assembly and add them to a layer. It looks like you can not do it. I have a problem logged with PTC and it has been forwarded to a developer. Thanks for the help anyway.