May 20, 2003 #1 DHALE1 Mechanical Jan 8, 2003 61 0 0 US Does anyone know how to turn specific layers on/off using api or vb? Thanks Dan
May 20, 2003 #2 Regg Mechanical Dec 27, 2001 365 0 0 US I do not use layers myself but if you look in API help you might find what you are looking for. I did a search on layers and got back a couple dozen hits. Upvote 0 Downvote
I do not use layers myself but if you look in API help you might find what you are looking for. I did a search on layers and got back a couple dozen hits.
May 20, 2003 2 #3 eranz Mechanical Jun 27, 2002 9 0 0 IL This will do the work: Set layerMgr = swDraw.GetLayerManager() 'LayerManager object for the drawing doc object Set swLayer = layerMgr.GetLayer(LayerName) swLayer.Visible = True 'Turn it on ,Or False to turn off Upvote 0 Downvote
This will do the work: Set layerMgr = swDraw.GetLayerManager() 'LayerManager object for the drawing doc object Set swLayer = layerMgr.GetLayer(LayerName) swLayer.Visible = True 'Turn it on ,Or False to turn off
May 20, 2003 Thread starter #4 DHALE1 Mechanical Jan 8, 2003 61 0 0 US Thanks eranz just what I was looking for. Upvote 0 Downvote