Cannot fill a shape with PolyLineTo

Started by Hackbrett, February 20, 2023, 03:51:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hackbrett

Hello,

I'm trying to modify one the stencils that come with Visio (see attached file). I'm trying to set a fill on an inner shape (Sheet.12 in the Master Explorer), but Visio doesn't let me. In the Format Shape window, I cannot select anything other than "No Fill".

What I've tried:

  • I checked Geometry1.NoFill and it is set to FALSE.
  • I tried to use the "Join" command. While this allows me to fill the shape afterwards, it also removes the shape from its parent group shape and inserts it as second top-level shape.
  • I tried to change the FillForegnd and FillBkgnd cells. No effect.
  • I fiddled with the path commands to make it more clear the path is closed, but this has no effect.

In general, which properties determine whether a shape is/can be filled, or not?

What's also peculiar is that I cannot ungroup the top-level shape. I've checked shape protection, etc. but I can't figure out what prevents me from ungrouping the shape.

Any help is appreciated.

Thanks,
Lukas

Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

hidden layer

ungrouping is not possible because  in Group Properties SelectMode is 0. If set to 1 you can ungroup.

;)

Paul Herber

What has ungrouping got to do with it? Ungrouping will break the shape. Don't do it.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

hidden layer

Good point, Paul, you're right. Not ungrouping! But if set to 1 you have access to the subshapes and see what you can change there.


Paul Herber

You have access to the sub-shapes anyway. Use Edit Group, or use the Master Explorer.
Rule 1: Do not ungroup shapes.
Rule 2: See Rule 1
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

wapperdude

#6
In shapesheet,  scroll down to Fill Format.  You can change colors there.  There is much guarding done in both the Line and Fill Format Sections.

Note, this particular shape is actually 3 stacked shapes.  Not sure why.  One shape is just outline.  Next shape is a fill hatch pattern.  3rd shape is a fill color.  All of this could have been done in single shape. 

Note 2.  Assuming you've enabled developer mode, in the Developer tab, with main shape selected, Behavior has selection set to Members only.  You can set this to either main or submembers 1st.    This way you can directly click on a membershape.  Or, just use the DEW Window.
Visio 2019 Pro

Hackbrett

Thanks to you all. Removing the "GUARD()" around the FillPattern did the trick.