May 20, 2003 #1 DHALE1 Mechanical Joined Jan 8, 2003 Messages 61 Location US Does anyone know how to turn specific layers on/off using api or vb? Thanks Dan
May 20, 2003 #2 Regg Mechanical Joined Dec 27, 2001 Messages 365 Location 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 Joined Jun 27, 2002 Messages 9 Location 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 Joined Jan 8, 2003 Messages 61 Location US Thanks eranz just what I was looking for. Upvote 0 Downvote