New To Visio, How Can I select a layer & Draw?

G

Gary

I am new to Visio.

I created 2 layers currently. I would like layer 1 to just be visible with
layer 2. In addition, I wish to have layer 2 active where anything I draw or
do only effects layers 2. How can I do this???

I have draw some objects before, but I had to place them into the correct
layers individually. I would like a means to just select layer 1 active with
layer 2 visible and draw as many objects to layer 1.

Can someone help!

Gary
 
M

Mark Nelson [MS]

You should be able to do this using the GUARD formula in the Shapesheet.
Create your layers, then with no shape selected go to Window > Show
Shapesheet. In the Layers section find the row for the layer you want to be
dependent on something else. In the Visible cell for that row enter:

=GUARD(Layers.Visible)

Layers.Visible should be the name of the cell that you want to depend on.
This will be Layers.Visible if you are depending on the layer in row 1 or
Layers.Visible[n] if you are depending on the layer in row 'n'.

You can make multiple layers active by putting a 1 in their Active cell.
This can also be done through the Layers dialog.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Gary

Thank You!

Is there a way to present certain layers to have a certain color for its
objects (like lines, circles, etc).

One last question. I added a field and make it a text field. Where can I
see the item # of this field I add on the screen. I have been using the
macro recorder to determine the item # so I can reference it by VBA Code.

Thank You,

Gayr

Mark Nelson said:
You should be able to do this using the GUARD formula in the Shapesheet.
Create your layers, then with no shape selected go to Window > Show
Shapesheet. In the Layers section find the row for the layer you want to be
dependent on something else. In the Visible cell for that row enter:

=GUARD(Layers.Visible)

Layers.Visible should be the name of the cell that you want to depend on.
This will be Layers.Visible if you are depending on the layer in row 1 or
Layers.Visible[n] if you are depending on the layer in row 'n'.

You can make multiple layers active by putting a 1 in their Active cell.
This can also be done through the Layers dialog.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Gary said:
I am new to Visio.

I created 2 layers currently. I would like layer 1 to just be visible
with
layer 2. In addition, I wish to have layer 2 active where anything I draw
or
do only effects layers 2. How can I do this???

I have draw some objects before, but I had to place them into the correct
layers individually. I would like a means to just select layer 1 active
with
layer 2 visible and draw as many objects to layer 1.

Can someone help!

Gary
 
M

Mark Nelson [MS]

It looks like Al answered your question about layer colors.

I'm not sure I understand your question on fields. What do you mean by item
#? What are you trying to do programmatically?

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Gary said:
Thank You!

Is there a way to present certain layers to have a certain color for its
objects (like lines, circles, etc).

One last question. I added a field and make it a text field. Where can I
see the item # of this field I add on the screen. I have been using the
macro recorder to determine the item # so I can reference it by VBA Code.

Thank You,

Gayr

Mark Nelson said:
You should be able to do this using the GUARD formula in the Shapesheet.
Create your layers, then with no shape selected go to Window > Show
Shapesheet. In the Layers section find the row for the layer you want to
be
dependent on something else. In the Visible cell for that row enter:

=GUARD(Layers.Visible)

Layers.Visible should be the name of the cell that you want to depend on.
This will be Layers.Visible if you are depending on the layer in row 1 or
Layers.Visible[n] if you are depending on the layer in row 'n'.

You can make multiple layers active by putting a 1 in their Active cell.
This can also be done through the Layers dialog.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no
rights.

Gary said:
I am new to Visio.

I created 2 layers currently. I would like layer 1 to just be visible
with
layer 2. In addition, I wish to have layer 2 active where anything I
draw
or
do only effects layers 2. How can I do this???

I have draw some objects before, but I had to place them into the
correct
layers individually. I would like a means to just select layer 1
active
with
layer 2 visible and draw as many objects to layer 1.

Can someone help!

Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top