Author Topic: Dealing with containers in stencils  (Read 5480 times)

0 Members and 1 Guest are viewing this topic.

asardinas

  • Newbie
  • *
  • Posts: 4
Dealing with containers in stencils
« on: November 26, 2012, 12:09:48 PM »
I have created a stencil master that contains a container. I would like to be able to drag this stencil onto the page and then add additional shapes to the container.

When I do that, I can not add any additional shapes to the original container.


Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3369
    • Paul Herber's website
Re: Dealing with containers in stencils
« Reply #1 on: November 26, 2012, 12:12:51 PM »
Does the master contain more than one shape (i.e. a container and one or more shapes)? If so then the problem is that the master is being added to the page as a group.
Is this the case?
Electronic and Electrical engineering, business and software stencils and applications for Visio -

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

asardinas

  • Newbie
  • *
  • Posts: 4
Re: Dealing with containers in stencils
« Reply #2 on: November 26, 2012, 01:30:38 PM »
yes it could contain several... I was able to "open the group" and then added it.

Is there a way to do this "open the group" via VBA OnDrop

BRCDbreams

  • Newbie
  • *
  • Posts: 4
Re: Dealing with containers in stencils
« Reply #3 on: November 30, 2012, 02:24:06 PM »
I too have a need to use a Container with some stencils inside as a Master stencil. Indeed, when dragged to the sheet, the master is no longer a container object, but a group. :-(

If there is a way to work around that, it would be very nice.

Thanks.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3369
    • Paul Herber's website
Re: Dealing with containers in stencils
« Reply #4 on: November 30, 2012, 03:51:45 PM »
Code
  shape.ungroup
Electronic and Electrical engineering, business and software stencils and applications for Visio -

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